.thrc-finder {
    --thdpc-teal: #00736a;
    --thdpc-teal-2: #009184;
    --thdpc-teal-dark: #004f4b;
    --thdpc-teal-deep: #033b39;
    --thdpc-red: #e5252a;
    --thdpc-red-dark: #bd161c;
    --thdpc-ink: #173438;
    --thdpc-muted: #60767b;
    --thdpc-mint: #eef9f7;
    --thdpc-mint-2: #dff3ef;
    --thdpc-blush: #fff2f2;
    --thdpc-line: #d7e7e5;
    --thdpc-separator: #d9dede;
    --thdpc-white: #fff;
    --thdpc-shadow: 0 20px 60px rgba(3, 59, 57, .15);
    --thdpc-shadow-soft: 0 10px 32px rgba(3, 59, 57, .09);
    --thdpc-radius: 24px;
    --thrc-chevron-down: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2360767b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --thrc-chevron-up: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 7l5-5 5 5' fill='none' stroke='%2360767b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    width: min(1180px, calc(100% - 40px));
    margin: clamp(3.5rem, 6vw, 5rem) auto 3rem;
    color: var(--thdpc-ink);
    font-family: inherit;
    font-size: 16px;
    line-height: 1.55;
}

.thrc-finder *,
.thrc-finder *::before,
.thrc-finder *::after {
    box-sizing: border-box;
}

.thrc-finder__intro {
    margin-bottom: 2.5rem;
    text-align: center;
}

.thrc-finder__intro h2 {
    margin: 0 0 .4rem;
    color: var(--thdpc-teal-dark);
    font-size: clamp(1.6rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.thrc-finder__intro p {
    max-width: 760px;
    margin: 0 auto;
    color: var(--thdpc-muted);
}

.thrc-finder__form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: end;
    padding: 1.5rem 1.25rem 1.65rem;
    border: 1px solid var(--thdpc-line);
    border-radius: 22px;
    background: linear-gradient(135deg, #fff 0%, var(--thdpc-mint) 100%);
    box-shadow: 0 10px 32px rgba(3, 59, 57, .09);
}

.thrc-finder__field {
    min-width: 0;
}

.thrc-finder__field label {
    display: block;
    margin: 0 0 .55rem;
    color: var(--thdpc-teal-dark);
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .035em;
    text-align: center;
    text-transform: uppercase;
}

.thrc-finder .thrc-finder__field select:not(.thrc-finder__native-select--enhanced),
.thrc-finder .thrc-finder__field .thrc-finder__combobox-control {
    display: block;
    width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: .55rem 2.2rem .55rem .8rem;
    border: 1px solid var(--thdpc-line) !important;
    border-radius: 12px !important;
    background-color: var(--thdpc-white) !important;
    background-image: var(--thrc-chevron-down) !important;
    background-repeat: no-repeat !important;
    background-position: right .9rem center !important;
    background-size: 12px 8px !important;
    color: var(--thdpc-ink) !important;
    box-shadow: 0 2px 4px rgba(3, 59, 57, .05) !important;
    font: inherit !important;
    line-height: 1.5;
    text-align: left !important;
    text-transform: none !important;
    -webkit-appearance: none;
    appearance: none;
}

.thrc-finder .thrc-finder__field select:not(.thrc-finder__native-select--enhanced):focus,
.thrc-finder .thrc-finder__field .thrc-finder__combobox-control:focus {
    border-color: var(--thdpc-teal) !important;
    box-shadow: 0 0 0 3px rgba(0, 115, 106, .14) !important;
    outline: none;
}

.thrc-finder :where(select, input, button, a):focus-visible {
    outline: 3px solid var(--thdpc-red);
    outline-offset: 3px;
}

.thrc-finder__field select:focus-visible {
    outline: 3px solid var(--thdpc-red);
    outline-offset: 3px;
}

.thrc-finder .thdpc-product-link:focus-visible {
    outline-offset: -4px;
}

.thrc-finder .thrc-finder__field select:not(.thrc-finder__native-select--enhanced):disabled,
.thrc-finder .thrc-finder__field .thrc-finder__combobox-control:disabled {
    background-color: #f5f7f7 !important;
    color: #87989b !important;
    cursor: not-allowed;
}

.thrc-finder__native-select--enhanced,
.thrc-finder__model-select--enhanced {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.thrc-finder__combobox,
.thrc-finder__model-combobox {
    position: relative;
    width: 100%;
}

.thrc-finder .thrc-finder__combobox.is-open .thrc-finder__combobox-control {
    background-image: var(--thrc-chevron-up) !important;
}

.thrc-finder__combobox-control--select {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
}

.thrc-finder__combobox-control.is-placeholder {
    color: var(--thdpc-muted) !important;
}

.thrc-finder__combobox-listbox,
.thrc-finder__model-listbox {
    position: absolute;
    z-index: 50;
    top: calc(100% + .45rem);
    right: 0;
    left: 0;
    max-height: min(19rem, 48vh);
    padding: .35rem;
    border: 1px solid var(--thdpc-line);
    border-radius: 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--thdpc-white);
    box-shadow: var(--thdpc-shadow-soft);
}

.thrc-finder__combobox-listbox[hidden],
.thrc-finder__model-listbox[hidden] {
    display: none;
}

.thrc-finder__combobox-option,
.thrc-finder__combobox-no-results,
.thrc-finder__model-option,
.thrc-finder__model-no-results {
    padding: .65rem .7rem;
    border-radius: 8px;
    color: var(--thdpc-ink);
    font-size: .94rem;
    line-height: 1.35;
}

.thrc-finder__combobox-option,
.thrc-finder__model-option {
    cursor: pointer;
}

.thrc-finder__combobox-option:hover,
.thrc-finder__combobox-option.is-active,
.thrc-finder__model-option:hover,
.thrc-finder__model-option.is-active {
    background: var(--thdpc-mint);
    color: var(--thdpc-teal-dark);
}

.thrc-finder__combobox-option[aria-selected="true"],
.thrc-finder__model-option[aria-selected="true"] {
    background: var(--thdpc-teal-dark);
    color: var(--thdpc-white);
    font-weight: 800;
}

.thrc-finder__combobox-option[aria-selected="true"].is-active,
.thrc-finder__model-option[aria-selected="true"].is-active {
    background: var(--thdpc-teal);
}

.thrc-finder__combobox-no-results,
.thrc-finder__model-no-results {
    color: var(--thdpc-muted);
    text-align: center;
}

.thrc-finder__screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

.thrc-finder__page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .7rem 1rem;
    border: 1px solid transparent;
    border-radius: 12px;
    font: inherit;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.thrc-finder__page,
.thrc-finder__page:visited {
    border-color: var(--thdpc-line);
    background: #fff;
    color: var(--thdpc-teal-dark);
}

.thrc-finder__page:hover:not(:disabled) {
    border-color: var(--thdpc-teal);
    background: var(--thdpc-mint);
}

.thrc-finder__page:disabled {
    cursor: wait;
    opacity: .58;
}

.thrc-finder__status {
    min-height: 1.6rem;
    margin: 2.75rem 0 2rem;
    color: var(--thdpc-muted);
    font-weight: 700;
    text-align: center;
}

.thrc-finder.has-empty-state .thrc-finder__status {
    display: none;
}

.thrc-finder__empty-state {
    display: grid;
    justify-items: center;
    gap: .6rem;
    margin: 2.75rem 0 0;
    padding: clamp(1.75rem, 4vw, 2.5rem) 1.5rem;
    border: 1px solid var(--thdpc-line);
    border-radius: 22px;
    background: linear-gradient(135deg, #fff 0%, var(--thdpc-mint) 100%);
    box-shadow: var(--thdpc-shadow-soft);
    text-align: center;
}

.thrc-finder__empty-state[hidden] {
    display: none;
}

.thrc-finder__empty-icon {
    display: grid;
    width: 54px;
    height: 54px;
    margin-bottom: .25rem;
    place-items: center;
    border: 1px solid var(--thdpc-line);
    border-radius: 50%;
    background: var(--thdpc-white);
    color: var(--thdpc-teal);
}

.thrc-finder__empty-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.thrc-finder__empty-title {
    display: block;
    color: var(--thdpc-teal-dark);
    font-size: clamp(1.08rem, 2vw, 1.3rem);
    line-height: 1.3;
}

.thrc-finder__empty-text {
    max-width: 680px;
    margin: 0;
    color: var(--thdpc-muted);
}

.thrc-finder__missing-model-button {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: .45rem;
    padding: .65rem 1rem;
    border: 1px solid var(--thdpc-teal);
    border-radius: 12px;
    background: var(--thdpc-white);
    color: var(--thdpc-teal-dark);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.thrc-finder__empty-state[data-state="select-model"] .thrc-finder__missing-model-button {
    display: inline-flex;
}

.thrc-finder__missing-model-button:hover {
    background: var(--thdpc-teal);
    color: var(--thdpc-white);
    transform: translateY(-1px);
}

.thrc-finder.is-loading .thrc-finder__status::before {
    content: "";
    display: inline-block;
    width: .85rem;
    height: .85rem;
    margin-right: .55rem;
    border: 2px solid var(--thdpc-mint-2);
    border-top-color: var(--thdpc-teal);
    border-radius: 50%;
    vertical-align: -.08rem;
    animation: thrc-spin .75s linear infinite;
}

@keyframes thrc-spin {
    to { transform: rotate(360deg); }
}

.thrc-finder .thdpc-product-grid,
.thrc-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.thrc-finder .thdpc-product-card {
    min-width: 0;
    margin: 0;
    border: 1px solid var(--thdpc-line);
    border-radius: 22px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--thdpc-shadow-soft);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.thrc-finder .thdpc-product-card:hover,
.thrc-finder .thdpc-product-card:focus-within {
    border-color: rgba(0, 115, 106, .34);
    box-shadow: var(--thdpc-shadow);
    transform: translateY(-4px);
}

.thrc-finder .thdpc-product-link,
.thrc-finder .thdpc-product-link:visited {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: var(--thdpc-ink) !important;
    text-decoration: none !important;
}

.thrc-finder .thdpc-product-image {
    position: relative;
    display: grid;
    place-items: center;
    width: auto;
    margin: 12px 12px 0;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.thrc-finder .thdpc-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 5px;
    object-fit: contain;
}

.thrc-finder .thdpc-product-card:hover .thdpc-product-image img {
    transform: none !important;
}

.thrc-finder .thdpc-view-cue {
    position: absolute;
    top: 10px;
    right: 10px;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(0, 115, 106, .12);
    border-radius: 50%;
    color: var(--thdpc-teal-dark);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 8px 18px rgba(3, 59, 57, .09);
    opacity: 0;
    transform: translateY(3px);
    transition: opacity .18s ease, transform .18s ease;
}

.thrc-finder .thdpc-view-cue .thdpc-icon {
    display: block;
    width: 16px;
    height: 16px;
}

.thrc-finder .thdpc-product-card:hover .thdpc-view-cue,
.thrc-finder .thdpc-product-card:focus-within .thdpc-view-cue {
    opacity: 1;
    transform: translateY(0);
}

.thrc-finder .thdpc-product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px 16px 18px;
}

.thrc-finder .thdpc-product-brand {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 7px;
    align-items: baseline;
    min-height: 19px;
    margin: 0 0 7px;
    font-size: .72rem;
    line-height: 1.25;
}

.thrc-finder .thdpc-product-brand span {
    color: var(--thdpc-muted);
    font-size: .66rem;
    font-weight: 850;
    letter-spacing: .065em;
    text-transform: uppercase;
}

.thrc-finder .thdpc-product-brand strong {
    color: var(--thdpc-teal-dark);
    font-weight: 900;
}

.thrc-finder .thdpc-product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    min-height: 24px;
    margin-bottom: 9px;
}

.thrc-finder .thdpc-product-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 4px 7px;
    border-radius: 999px;
    color: var(--thdpc-teal-dark);
    background: var(--thdpc-mint);
    font-size: .67rem;
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: .025em;
}

.thrc-finder .thdpc-product-card h3 {
    margin: 0 0 10px;
    color: var(--thdpc-ink);
    font-size: .98rem;
    font-weight: 900;
    line-height: 1.32;
    letter-spacing: -.018em;
}

.thrc-finder .thdpc-sku {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 6px;
    align-items: baseline;
    margin: 0 0 13px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e8f0ef;
    color: var(--thdpc-muted);
    font-size: .74rem;
}

.thrc-finder .thdpc-sku strong {
    min-width: 0;
    overflow-wrap: anywhere;
    color: var(--thdpc-ink);
}

.thrc-finder .thdpc-product-commercial {
    display: grid;
    gap: 7px;
    margin-top: auto;
}

.thrc-finder .thdpc-price {
    display: block;
    width: 100%;
    color: var(--thdpc-teal-dark);
    font-size: .98rem;
    font-weight: 900;
    line-height: 1.35;
    text-align: left !important;
}

.thrc-finder .thdpc-price .wctdlp-price--has-alignment,
.thrc-finder .thdpc-price .wctdlp-price--align-center,
.thrc-finder .thdpc-price .wctdlp-price--align-right {
    justify-content: flex-start !important;
    text-align: left !important;
}

.thrc-finder .thdpc-price .wctdlp-price--layout-stacked {
    align-items: flex-start !important;
}

.thrc-finder .thdpc-price del {
    color: #839396;
    font-size: .83em;
    font-weight: 700;
    opacity: .8;
}

.thrc-finder .thdpc-price ins {
    color: var(--thdpc-teal-dark);
    text-decoration: none;
}

.thrc-finder .thdpc-price-note {
    color: var(--thdpc-muted);
    font-size: .86rem;
}

.thrc-finder .thdpc-stock,
.thrc-finder .thdpc-stock p {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: .76rem;
    font-style: normal;
    font-weight: 800;
    line-height: 1.3;
}

.thrc-finder .thdpc-stock--instock,
.thrc-finder .thdpc-stock--instock p {
    color: #197447;
}

.thrc-finder .thdpc-stock--onbackorder,
.thrc-finder .thdpc-stock--onbackorder p {
    color: #9a5a00;
}

.thrc-finder .thdpc-stock--outofstock,
.thrc-finder .thdpc-stock--outofstock p {
    color: #9d2c32;
}

.thrc-finder .thdpc-product-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    margin-top: 15px;
    padding: 9px 12px;
    border-radius: 12px;
    color: #fff;
    background: var(--thdpc-teal-dark);
    font-size: .82rem;
    font-weight: 900;
    transition: background .18s ease;
}

.thrc-finder .thdpc-product-card:hover .thdpc-product-cta,
.thrc-finder .thdpc-product-card:focus-within .thdpc-product-cta {
    background: var(--thdpc-red);
}

.thrc-finder__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    margin-top: 1.5rem;
}

.thrc-finder__server-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
}

.thrc-finder__page-status {
    color: var(--thdpc-muted);
    font-size: .9rem;
    font-weight: 700;
}

@media (max-width: 1080px) {
    .thrc-finder .thdpc-product-grid,
    .thrc-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .thrc-finder__form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .thrc-finder {
        width: min(100% - 24px, 1180px);
        margin-block: 2.25rem 1.75rem;
    }

    .thrc-finder__intro {
        margin-bottom: 2rem;
    }

    .thrc-finder__status {
        margin: 2.25rem 0 1.75rem;
    }

    .thrc-finder__empty-state {
        margin-top: 2.25rem;
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .thrc-finder__missing-model-button {
        width: min(100%, 280px);
    }

    .thrc-finder .thdpc-product-grid,
    .thrc-product-grid {
        grid-template-columns: 1fr;
    }

    .thrc-finder__form {
        padding: 1.25rem 1rem 1.35rem;
        border-radius: 16px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .thrc-finder .thdpc-product-card,
    .thrc-finder .thdpc-view-cue,
    .thrc-finder__page,
    .thrc-finder__missing-model-button {
        transition: none;
    }

    .thrc-finder .thdpc-product-card:hover,
    .thrc-finder .thdpc-product-card:focus-within,
    .thrc-finder__missing-model-button:hover {
        transform: none;
    }

    .thrc-finder.is-loading .thrc-finder__status::before {
        animation: none;
    }

    .thrc-finder .thdpc-product-card:hover .thdpc-view-cue,
    .thrc-finder .thdpc-product-card:focus-within .thdpc-view-cue {
        transform: none;
    }
}
