.thrcc-trigger-wrap {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
    margin: .75rem 0 1.25rem;
    box-sizing: border-box;
    line-height: normal;
}

.thrcc-trigger-wrap::before,
.thrcc-trigger-wrap::after {
    content: "";
    display: table;
    clear: both;
}

body.thrcc-chart-enabled.single-product div.product .summary > p.price,
body.thrcc-chart-enabled.single-product div.product .summary > .price,
body.thrcc-chart-enabled.single-product div.product .summary > form.variations_form.cart,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart > table.variations,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart > .thrcc-trigger-wrap,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart > .single_variation_wrap,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart .single_variation,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart .woocommerce-variation-price {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    grid-column: 1 / -1 !important;
}

body.thrcc-chart-enabled.single-product div.product .summary > p.price,
body.thrcc-chart-enabled.single-product div.product .summary > .price,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart > .single_variation_wrap,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart .single_variation,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart .woocommerce-variation-price {
    display: block !important;
}

body.thrcc-chart-enabled.single-product div.product .summary > form.variations_form.cart,
body.thrcc-chart-enabled.single-product div.product form.variations_form.cart {
    display: block !important;
    flex-wrap: wrap !important;
}

.thrcc-open-chart.button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    white-space: normal;
}

.thrcc-open-chart:focus-visible {
    outline: 3px solid #00736a;
    outline-offset: 3px;
}

html.thrcc-modal-open,
body.thrcc-modal-open {
    overflow: hidden;
}

.thrcc-modal[hidden] {
    display: none !important;
}

.thrcc-modal {
    --thrcc-teal: #00736a;
    --thrcc-teal-dark: #004f4b;
    --thrcc-red: #e5252a;
    --thrcc-ink: #173438;
    --thrcc-muted: #60767b;
    --thrcc-mint: #eef9f7;
    --thrcc-line: #d7e7e5;
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    box-sizing: border-box;
    color: var(--thrcc-ink);
    font-family: "Open Sans", sans-serif;
}

.thrcc-modal *,
.thrcc-modal *::before,
.thrcc-modal *::after {
    box-sizing: border-box;
}

.thrcc-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 59, 57, .72);
    backdrop-filter: blur(2px);
}

.thrcc-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(1120px, 100%);
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--thrcc-line);
    border-radius: 22px;
    box-shadow: 0 24px 70px rgba(3, 59, 57, .35);
    outline: none;
}

.thrcc-modal__close {
    position: absolute;
    top: .75rem;
    right: .75rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: var(--thrcc-mint);
    color: var(--thrcc-teal-dark);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}

.thrcc-modal__close:hover,
.thrcc-modal__close:focus {
    background: var(--thrcc-red);
    color: #fff;
}

.thrcc-modal__close:focus-visible,
.thrcc-modal__filters select:focus-visible,
.thrcc-modal__filters input[type="search"]:focus-visible,
.thrcc-clear-filters.button:focus-visible {
    outline: 3px solid var(--thrcc-red);
    outline-offset: 2px;
}

.thrcc-modal__header {
    padding: 1.5rem 4rem 1rem 1.5rem;
    border-bottom: 1px solid var(--thrcc-line);
    background: linear-gradient(135deg, #fff, var(--thrcc-mint));
}

.thrcc-modal__header h2 {
    margin: 0 0 .35rem;
    color: var(--thrcc-teal-dark);
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.2;
}

.thrcc-modal__header p {
    margin: 0;
    color: var(--thrcc-muted);
}

.thrcc-modal__filters {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
    gap: .75rem;
    align-items: end;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--thrcc-line);
    background: #fff;
}

.thrcc-modal__filters label {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    margin: 0;
    color: var(--thrcc-teal-dark);
    font-size: .84rem;
    font-weight: 900;
    letter-spacing: .035em;
    text-transform: uppercase;
}

.thrcc-modal__filters select,
.thrcc-modal__filters input[type="search"] {
    width: 100%;
    min-height: 44px;
    padding: .55rem .7rem;
    border: 1px solid var(--thrcc-line);
    border-radius: 12px;
    background: #fff;
    color: var(--thrcc-ink);
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
}

.thrcc-modal__filters select:focus,
.thrcc-modal__filters input[type="search"]:focus {
    border-color: var(--thrcc-teal);
    box-shadow: 0 0 0 3px rgba(0, 115, 106, .14);
    outline: none;
}

.thrcc-clear-filters.button {
    min-height: 44px;
    padding-inline: 1rem;
    border-radius: 12px;
}

.thrcc-modal__meta {
    padding: .6rem 1.5rem;
    border-bottom: 1px solid var(--thrcc-line);
    background: var(--thrcc-mint);
    color: var(--thrcc-muted);
    font-size: .95rem;
}

.thrcc-modal__body {
    min-height: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.thrcc-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.thrcc-chart-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    font-size: .95rem;
}

.thrcc-chart-table th,
.thrcc-chart-table td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--thrcc-line);
    vertical-align: middle;
    text-align: left;
}

.thrcc-chart-table thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--thrcc-teal-dark);
    color: #fff;
    font-weight: 700;
}

.thrcc-chart-table th:first-child,
.thrcc-chart-table td:first-child {
    width: 112px;
}

.thrcc-chart-table th:nth-child(2),
.thrcc-chart-table td:nth-child(2),
.thrcc-chart-table th:nth-child(3),
.thrcc-chart-table td:nth-child(3) {
    width: 140px;
}

.thrcc-image-wrap {
    width: 86px;
    height: 86px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--thrcc-line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
    color: var(--thrcc-muted);
    font-size: .8rem;
    text-align: center;
}

.thrcc-image-wrap img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thrcc-image-wrap--missing {
    padding: .5rem;
    background: var(--thrcc-mint);
}

.thrcc-no-results {
    margin: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: var(--thrcc-mint);
    text-align: center;
}

@media (max-width: 780px) {
    .thrcc-modal {
        padding: .5rem;
        align-items: stretch;
    }

    .thrcc-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 1rem);
        border-radius: 16px;
    }

    .thrcc-modal__header {
        padding: 1rem 3.5rem .9rem 1rem;
    }

    .thrcc-modal__filters {
        grid-template-columns: 1fr;
        padding: 1rem;
    }

    .thrcc-modal__meta {
        padding-inline: 1rem;
    }

    .thrcc-table-wrap {
        overflow-x: visible;
    }

    .thrcc-chart-table,
    .thrcc-chart-table thead,
    .thrcc-chart-table tbody,
    .thrcc-chart-table tr,
    .thrcc-chart-table th,
    .thrcc-chart-table td {
        display: block;
        width: 100% !important;
    }

    .thrcc-chart-table thead {
        position: absolute;
        width: 1px !important;
        height: 1px;
        overflow: hidden;
        clip: rect(1px, 1px, 1px, 1px);
        white-space: nowrap;
    }

    .thrcc-chart-table tr {
        width: calc(100% - 2rem) !important;
        margin: .85rem 1rem;
        border: 1px solid var(--thrcc-line);
        border-radius: 14px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 8px 24px rgba(3, 59, 57, .07);
    }

    .thrcc-chart-table td {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: .75rem;
        align-items: start;
        padding: .75rem;
        border-bottom: 1px solid var(--thrcc-line);
    }

    .thrcc-chart-table td:last-child {
        border-bottom: 0;
    }

    .thrcc-chart-table td::before {
        content: attr(data-label);
        color: var(--thrcc-teal-dark);
        font-weight: 700;
    }

    .thrcc-image-wrap {
        width: 76px;
        height: 76px;
    }
}

@media (max-width: 420px) {
    .thrcc-chart-table td {
        grid-template-columns: 1fr;
        gap: .4rem;
    }

    .thrcc-image-wrap {
        width: 88px;
        height: 88px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thrcc-modal,
    .thrcc-modal *,
    .thrcc-open-chart {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }

    .thrcc-modal__overlay {
        backdrop-filter: none;
    }
}
