/**
 * TufTile Radius Calculator - Styles
 *
 * Main stylesheet for the calculator plugin
 */
.mobile-check {
    display: var(--mobile-display,none);
}
.site-main {
    padding-top: 5rem;
}
@media screen and (min-width: 768px) {
    .site-main {
        padding-top: 2rem;
    }
}
.site-main .default-template p {
    font-size: 1rem;
}

@media (min-width: 1400px) {
    .container.container-wide {
        max-width: 1400px;
        padding-right: 2rem;
        padding-left: 2rem;
    }
}
/* Remove set widths on buttons to prevent overflow issues. */
.btn:not(.bottom-stuck) {
    width: auto !important;
    padding-inline: 2rem;
}

/* Fill in some missing Tailwind classes */
.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
.leading-none {
    line-height: 1;
}
.leading-tight {
    line-height: 1.25;
}
@media (min-width:767px) {
    .md\:pr-2 {
        padding-right: 0.5rem;
    }
    .md\:pl-2 {
        padding-left: 0.5rem;
    }
}

.avenir {
    font-family: Avenir Next LT W01 Medium, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.avenir-bold {
    font-family: Avenir Next LT W01 Bold, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.avenir-heavy {
    font-family: Avenir Next LT W01 Heavy, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.rokkitt {
    font-family: Rokkitt, Georgia, Cambria, "Times New Roman", Times, serif;
}
.rokkitt-semibold {
    font-family: Rokkittsemibold, Georgia, Cambria, "Times New Roman", Times, serif;
}
.rokkitt-bold {
    font-family: Rokkittbold, Georgia, Cambria, "Times New Roman", Times, serif;
}

.btn-green {
    display: inline-block;
    background: #4dbf1f;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 45px;
    border-radius: 3px;
    font-size: 1rem;
    transition: background-color 0.25s ease-in;
}
.btn-green:hover,.btn-green:focus {
    background: #307a12;
}
.btn-red {
    display: inline-block;
    background: #ed1c24;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 45px;
    border-radius: 3px;
    font-size: 1rem;
    transition: background-color 0.25s ease-in;
}
.btn-red:hover,.btn-red:focus {
    background: #aa171c;
}
.btn-yellow {
    display: inline-block;
    background: #ffcc32;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 45px;
    border-radius: 3px;
    font-size: 1rem;
    transition: background-color 0.25s ease-in;
}
.btn-yellow:hover,.btn-yellow:focus {
    background: #bb9628;
}
.btn.px-0 {
    padding-left: 0;
    padding-right: 0;
}
.btn.w-full {
    width: 100% !important;
}
.btn-back {
    padding-right: 1rem;
    padding-left: 0;
}
.btn-back::before {
    content: '';
    display: inline-block;
    width: 0.7em;
    height: 0.7em;
    border-left: 3px solid white;
    border-bottom: 3px solid white;
    transform: rotate(45deg);
    margin-right: 0.75em;
}

.bg-gray {
    background-color: #ebebec !important;
}
.bg-yellow {
    background-color: #ffcc32 !important;
}

.text-black {
    color: rgba(87, 83, 80, var(--tw-text-opacity)) !important;
}
.text-white {
    color: #fff !important;
}
.text-yellow {
    color: #ffcc32 !important;
}
.text-red {
    color: #ed1c24 !important;
}

.columns-2 > .col-1 {
    width: 50%;
}
.step-2 .col-1 {
    padding-right: 0.5rem;
}
.step-2 .col-1 + .col-1 {
    padding-right: 0;
    padding-left: 0.5rem;
}
.columns-9 > .col-1 {
    width: 11.111111111%;
}
.columns-9 > .col-3 {
    width: 33.333333333%;
}
.columns-9 > .col-4 {
    width: 44.444444444%;
}
.columns-12 > .col-3 {
    width: 25%;
}
.columns-12 > .col-6 {
    width: 50%;
}
.columns-12 > .col-9 {
    width: 75%;
}
@media (min-width:1200px) {
    .columns-12 {
        align-items: stretch;
    }
    .columns-12 > .col-3-form {
        width: 254px;
        display: flex;
        flex-direction: column;
    }
    .columns-12 > .col-6-main {
        width: calc(100% - 254px);
        min-height: 1049px;
    }
    .columns-12 > .col-9-main {
        width: 78%;
        width: calc(100% - 254px);
        min-height: 1049px;
    }
}
@media (max-width:1023px) {
    .columns-2, .columns-9, .columns-12 {
        flex-wrap: wrap;
    }
    .columns-2 > .col-1,
    .columns-9 > .col-1, .columns-9 > .col-3, .columns-9 > .col-4,
    .columns-12 > .col-3, .columns-12 > .col-6, .columns-12 > .col-9 {
        width: 100%;
        margin-bottom: 1.5rem;
    }
    .step-2 > .col-1 {
        padding-right: 0;
        margin-bottom: 0;
    }
    .step-2 > .col-1 + .col-1 {
        padding-left: 0;
    }
}
.thicken-right {
    margin-right: -2rem;
}

.bottom-stuck {
    position: absolute;
    padding-left: 0;
    padding-right: 0;
}
.bottom-stuck-6 {
    bottom: 1.5rem;
}
.bottom-stuck-10 {
    bottom: 2.5rem;
}
.bottom-stuck.btn {
    width: 284px;
    left: 50%;
    margin-left: -142px;
}
.col-6 .bottom-stuck.btn {
    width: 236px;
    margin-left: -118px;
}
.step-1 .pb-button {
    padding-bottom: 2rem;
}
.step-4 .pb-button {
    padding-bottom: 96px;
}
.step-2 .pb-button {
    padding-bottom: 122px;
}
.tutorial-header-container {
    container-name: header-button;
    container-type: inline-size;
}
.tutorial-header-button {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}
@container header-button (width > 576px) {
    .tutorial-header-button {
        margin-top: -4rem;
        justify-content: end;
    }
}

.intro-box {
    text-wrap: balance;
    border-radius: 6px;
    @media (width > 767px) {
        max-width: 500px;
    }

    .icon-box {
        display: inline-block;
        margin-top: -2rem;
        transform: translateY(-1rem);
        background-color: rgb(var(--red-500));
        border-radius: 4px;
        padding: 6px;
        aspect-ratio: 1;
        height: 55px;

        img {
            filter: brightness(0) invert(1);
        }
    }
    h4 {
        line-height: 1.1;
        font-size: 1.65rem;
    }
    .border-bottom {
        padding-bottom: .25em;
        border-bottom: 1px solid #000;
        margin-bottom: .25em;
        /*min-height: 3.6rem;*/
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: end;
    }
    .subtext {
        min-height: 3.5rem;
        display: flex;
        flex-direction: column;
    }
}
@media (width > 767px) {
    div:has(> .intro-box):first-of-type {
        display: flex;
        justify-content: flex-end;
    }
}

.or-text {
    width: 100%;
    text-align: center;
    left: 0;
    top: 50%;
    margin-top: -30px;
    line-height: 60px;
}

.disclaimer {
    font-size: 0.85rem !important;
    line-height: 2.5 !important;
}

.calculator-inline-form {
    display: flex;
    flex-direction: row !important;
    justify-content: center;
    align-items: center;
}
.calculator-inline-label {
    display: inline-flex;
    font-size: 0.95rem;
    flex-shrink: 1;
    margin-right: 0.5rem;
    margin-left: 0.75rem;
    line-height: 50px;
    text-align: right;
}
.calculator-inline-input {
    display: inline-flex;
    font-size: 0.95rem;
    flex-shrink: 1;
    width: 100px !important;
    height: 50px !important;
    margin-right: 0.75rem;
    margin-left: 0.5rem;
    line-height: 50px;
    border: 2px solid #000 !important;
    border-radius: 4px !important;
    padding: 0 1rem;
    background: #ffff54;
    -moz-appearance: textfield;
    appearance: textfield;
}
.calculator-inline-input::-webkit-outer-spin-button,
.calculator-inline-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calculator-inline-input:disabled {
    background: transparent;
}
.calculator-inline-btn {
    width: 175px;
    line-height: 50px;
    height: 50px;
    margin-left: 1.25rem;
    margin-right: 0.5rem;
    padding: 0;
    text-align: center;
}

.radius-table {
    margin-bottom: 0 !important;
}
.radius-table tbody tr td {
    border: 0;
}
.radius-table tbody tr:nth-child(even) td {
    background: #ebebec;
}
.step-2 .radius-table tbody tr th:first-child,
.step-2 .radius-table tbody tr th:last-child,
.step-2 .radius-table tbody tr td:first-child,
.step-2 .radius-table tbody tr td:last-child {
    width: 12px;
}
.step-4 .radius-table tbody tr th:first-child,
.step-4 .radius-table tbody tr th:last-child,
.step-4 .radius-table tbody tr td:first-child,
.step-4 .radius-table tbody tr td:last-child {
    width: 10px;
}
.radius-table tbody tr.suggested-radius-row td {
    background: #89e963;
}

.logo-small {
    max-width: 250px;
}

.radio-fields-wrap {
    display: flex;
    gap: 1rem;
    margin: 0.5rem 0;
}
.radio-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0 0.5rem;
}
.calculator-sidebar-form {
    h5 {
        font-size: 14px !important;
        line-height: 1.2;
    }
    label {
        font-size: 14px;
    }
}
.radius-calculator-heading-indent {
    margin: -1rem -1rem 1rem;
    padding: 1rem;
    background-color: #000 !important;
    color: #fff;
    line-height: 1;
}
.radius-header {
    background-color: #000 !important;
    color: #fff;

    img {
        transition: transform 250ms ease;
    }
    &.active {
        img {
            transform: rotate(180deg);
        }
    }
}
.radius-calculator-heading {
    
    display: flex;
    gap: 0.35rem;
    justify-content: space-between;
    margin-right: -1rem;

    img {
        filter: invert(1);
        display: block;
    }
}
.accordion-table-wrapper .accordion-header {
    padding-bottom: 0.5rem;
}
.accordion-table-wrapper .accordion-header span {
    border-bottom: 1px solid #fff;
    padding-bottom: 0.5rem;
}
.accordion-content {
    height: 0;
    overflow: clip;
    transition: height .5s ease, visibility 0.5s;
    visibility: hidden;
    interpolate-size: allow-keywords;

    &.active {
        visibility: visible;
        height: auto;
    }
}
@starting-style {
    .accordion-content {
        height: 0;
    }
}

.calculator-sidebar-form .radio-wrap input[type="radio"] {
    width: 22px;
    line-height: 25px;
    vertical-align: middle;
}
.calculator-sidebar-form .radio-wrap input[type="radio"].ml-6 {
    margin-left: 2rem;
}
.calculator-sidebar-form .radio-wrap label {
    line-height: 1;
    vertical-align: middle;
    text-align: center;
}
@media (min-width:1280px) {
    .calculator-sidebar-form h5 {
        white-space: nowrap;
    }
}
.calculator-sidebar-form input[type="number"] {
    height: 50px;
    line-height: 50px;
    padding: 0 1rem;
    border: 1px solid #b5b5b5;
    background: #fff;
    -moz-appearance: textfield;
    appearance: textfield;
}
.calculator-sidebar-form input[type="number"]::-webkit-outer-spin-button,
.calculator-sidebar-form input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calculator-sidebar-form input[type="number"]::placeholder {
    color: #8f8f8f;
    font-size: 13px !important;
    font-family: Avenir Next LT W01 Medium, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
.calculator-sidebar-form .custom-select-wrapper {
    position: relative;
    display: none;
}
.calculator-sidebar-form .custom-select-trigger {
    min-height: 50px;
    height: auto;
    padding: 0.5rem 2rem 0.5rem 1rem;
    border: 1px solid #b5b5b5;
    background: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.calculator-sidebar-form .custom-select-trigger:hover {
    border-color: #999;
}
.calculator-sidebar-form .custom-select-value {
    flex: 1;
    overflow: hidden;
}
.calculator-sidebar-form .custom-select-arrow {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    pointer-events: none;
    transition: transform 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.calculator-sidebar-form .custom-select-wrapper.disabled {
	cursor: not-allowed;
	pointer-events: none;
}
.calculator-sidebar-form .custom-select-wrapper.disabled .custom-select-trigger {
	cursor: not-allowed;
}
.calculator-sidebar-form .custom-select-wrapper.disabled .custom-select-arrow {
    display: none;
}
.calculator-sidebar-form .custom-select-wrapper.open .custom-select-arrow {
    transform: translateY(-50%) rotate(180deg);
}
.calculator-sidebar-form .custom-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background: #fff;
    z-index: 1000;
    transition: max-height 0.3s ease;
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
}
.calculator-sidebar-form .custom-select-wrapper.open .custom-select-dropdown {
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid #b5b5b5;
}
.calculator-sidebar-form .custom-option {
    height: 50px;
    line-height: 50px;
    width: 100%;
    padding: 0 1rem;
    cursor: pointer;
    transition: background-color 0.15s ease;
    font-size: 15px;
    font-family: Avenir Next LT W01 Medium, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: #fff;
    white-space: nowrap;
}
.calculator-sidebar-form .custom-option:hover {
    background-color: #f5f5f5;
}
.calculator-sidebar-form .custom-option.active {
    background-color: #ebebec;
    font-weight: bold;
}

/* Shared tall styles for color and cut selects */
.calculator-sidebar-form .tall-select .custom-select-trigger {
    /* min-height: 67px; Removing for now, so on load they are all equal */
    height: auto;
}
.calculator-sidebar-form .tall-option {
    height: 67px;
    line-height: 1.2;
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
}

/* Color select specific styles */
.calculator-sidebar-form .color-select .color-option {
    position: relative;
    padding-left: 72px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.calculator-sidebar-form .color-select .color-option.hidden {
    display: none;
}
.calculator-sidebar-form .color-select .color-option span {
    line-height: 1.2;
    white-space: normal;
}
.calculator-sidebar-form .color-select .color-option span + span {
    margin-top: 0.25rem;
}
.calculator-sidebar-form .color-select .color-option .color-swatch {
    position: absolute;
    height: 40px;
    width: 40px;
    min-width: 40px;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: red;
}
.calculator-sidebar-form .color-select .color-option-PCP .color-name {
    font-size: 0.9rem;
}
.calculator-sidebar-form .color-select .selected-option {
    position: relative;
    padding-left: 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 50px;
}
.calculator-sidebar-form .color-select .selected-option .color-swatch {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 40px;
    min-width: 40px;
}
.calculator-sidebar-form .color-select .selected-option .color-name {
    line-height: 1.2;
    white-space: normal;
    word-wrap: break-word;
}
.calculator-sidebar-form .color-select .selected-option .color-fed {
    line-height: 1.2;
    margin-top: 0.25rem;
    white-space: normal;
}
.calculator-sidebar-form .color-select .selected-option-PCP .color-name {
    font-size: 0.9rem;
}

/* Left cut select styles */
.calculator-sidebar-form .left-cut-select .left-cut-option {
    position: relative;
    padding-left: 72px;
    justify-content: center;
}
.calculator-sidebar-form .left-cut-select .left-cut-option .cut-swatch {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    object-fit: contain;
}
.calculator-sidebar-form .left-cut-select .left-cut-option .cut-name {
    line-height: 1.2;
}
.calculator-sidebar-form .left-cut-select .selected-option {
    position: relative;
    padding-left: 100px;
    display: flex;
    align-items: center;
    min-height: 50px;
}
.calculator-sidebar-form .left-cut-select .selected-option .cut-swatch {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    object-fit: contain;
}
.calculator-sidebar-form .left-cut-select .selected-option .cut-name {
    line-height: 1.2;
}

/* Right cut select styles */
.calculator-sidebar-form .right-cut-select .right-cut-option {
    position: relative;
    padding-right: 72px;
    justify-content: center;
}
.calculator-sidebar-form .right-cut-select .right-cut-option .cut-swatch {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    object-fit: contain;
}
.calculator-sidebar-form .right-cut-select .right-cut-option .cut-name {
    line-height: 1.2;
}
.calculator-sidebar-form .right-cut-select .selected-option {
    position: relative;
    padding-right: 140px;
    padding-left: 10px;
    display: flex;
    align-items: center;
    min-height: 50px;
}
.calculator-sidebar-form .right-cut-select .selected-option .cut-swatch {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    object-fit: contain;
}

.highlight-box {
    border: 2px solid rgba(87, 83, 80, var(--tw-text-opacity));
    border-radius: 3px;
    padding: 0 0.5rem;
    min-width: 64px;
}
.highlight-box-yellow {
    background: #ffff54;
}
.highlight-box-green {
    background: #89e963;
}

.parts-list-heading {
    border-bottom: 1px solid #b5b5b5;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
}
.parts-list {
    width: 110px;
}
.parts-list dt {
    width: 65px;
}
.parts-list .black-space {
    width: 35px;
    border-bottom: 2px solid #b5b5b5;
}

.rc-narrow {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}
.rc-ux .btn {
    width: 100% !important;
    max-width: 170px;
    padding-left: 0;
    padding-right: 0;
}
.rc-ux .btn-disabled {
    cursor: not-allowed;
}
.rc-ux .btn-green.btn-disabled {
    background: #000;
}
.rc-ux .btn-red.btn-disabled {
    background: #696969;
}
.rc-selector {
    border: 1px solid #b5b5b5;
    border-radius: 3px;
    width: fit-content;
    min-height: 55px;
    cursor: pointer;
    transition: background-color 0.2s;
}
.rc-selector.selected {
    background-color: #f4f4f4 !important;
    border: 2px solid #ffcc32;
}
.rc-selector-tile {
    min-width: 130px;
}
.rc-selector-wedge {
    max-width: 170px;
}
.rc-selector .rc-text {
    white-space: nowrap;
}
.rc-selector-tile .rc-image {
    height: 34px;
    width: auto;
    max-width: 100%;
}
.rc-selector-wedge .rc-image {
    height: auto;
    width: 90px;
    max-height: 100%;
}

.rc-selector .rc-image svg .cls-1,
.rc-selector .rc-image svg path,
.rc-selector .rc-image svg circle {
    fill: red; /* or whatever color you want */
}

.rc-selector .rc-image svg .cls-2,
.rc-selector .rc-image svg line {
    fill: none; /* keep lines unfilled */
}

.parts-table th {
    background-color: transparent !important;
    text-align: left !important;
    border-bottom: 1px solid #b5b5b5;
    padding-bottom: 0.75rem;
}
.parts-table td {
    border: none !important;
}
.parts-table th:first-child,
.parts-table td:first-child {
    width: 50px;
    padding-left: 0;
    padding-right: 1.5rem;
}
.parts-table tr:first-child td {
    padding-top: 0.75rem;
}
.introjs-tooltip {
    min-width: min(375px, 90vw) !important;
}
