[tpo-validated-form='false']
form[action='/cart/add']
button[name='add'][data-added][data-product-id][class*='pf-'],
[tpo-validated-form='false']
.shopify-payment-button__button.shopify-payment-button__button--unbranded,
[tpo-validated-form='false']
.shopify-payment-button__button.shopify-payment-button__button--branded,
[tpo-validated-form='false']
.shopify-payment-button
shopify-accelerated-checkout {
    pointer-events: none;
}

[tpo-validated-form='true']
.shopify-payment-button__button.shopify-payment-button__button--branded,
[tpo-validated-form='true']
.shopify-payment-button
shopify-accelerated-checkout {
    pointer-events: auto;
}

*[tpo_hidden] {
    display: none !important;
}

.tpo-swiper-pagination--image-swatches,
.tpo-swiper-pagination--color-swatches {
    position: relative !important;
}

.tpo_option-set-wrapper {
    padding: 12px 0;
}

.PinturaRectManipulator,
.pintura-editor div:empty {
    display: block !important;
}

.tpo_option-set-wrapper.tpo_in-card {
    grid-row-start: 6;
}

.tpo_option-set-wrapper.tpo_in-card > .tpo_option-set-container {
    margin-bottom: 0;
    margin-top: 10px;
    pointer-events: none !important;
}

.card__content:has(.tpo_option-set-wrapper.tpo_in-card) {
    display: flex;
    flex-direction: column;
}

.tpo_option-set-container {
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
}

.tpo_option-group_child-wrapper {
    display: flex;
    flex-wrap: wrap;
    column-gap: 8px;
}

.tpo_option-group_child-wrapper[hidden] {
    display: none;
}

.tpo_flex-25 {
    width: calc(25% - 8px);
}

.tpo_flex-33 {
    width: calc(33% - 8px);
}

.tpo_flex-50 {
    width: calc(50% - 8px);
}

.tpo_flex-66 {
    width: calc(66% - 8px);
}

.tpo_flex-75 {
    width: calc(75% - 8px);
}

.tpo_flex-100 {
    width: 100%;
}

.tpo_option-set-wrapper .tpo_option-input {
    padding: 10px;
    margin: 0;
}

.tpo_option-type-font-picker-dropdown {
    width: 100%;
    position: relative;
}

.tpo_font-picker-dropdown-wrapper {
    position: relative;
}

.tpo_font-picker-label > span {
    pointer-events: none;
}

.tpo_font-picker-label.show ~ .tpo_font-picker-option-wrapper {
    display: flex;
}

.tpo_font-picker-label,
.tpo_font-picker-google-wrapper {
    position: relative;
    border: 1px solid var(--initial-input-border, var(--default-input-border));
    background-color: var(--initial-input-background, var(--default-input-bg));
    color: var(--default-input-placeholder);
    padding: 0 40px 0 10px;
    display: flex;
    align-items: center;
    cursor: pointer;
    border-radius: var(--input-border-radius);
}

.tpo_font-picker-label.show,
.tpo_font-picker-google-wrapper.show {
    border: 1px solid var(--active-input-border, var(--default-input-activeBorder));
    background-color: var(
            --active-input-background,
            var(--default-input-activeBg)
    );
}

.tpo_font-picker-label[style],
.tpo_font-picker-google-wrapper[style] {
    color: var(--default-input-enteredValue);
}

.tpo_font-picker-option-wrapper {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: 0;
    right: 0;
    box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
    z-index: 3;
    background-color: var(--list-menu-bg);
    border: 1px solid var(--list-menu-border);
}

.tpo_font-picker-option-search {
    padding: 0 8px;
}

.tpo_font-picker-option-search > div {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    border-bottom: 1px solid #E6E6E6;
}

.tpo_font-picker-option-search > div > input,
.tpo_font-picker-option-search > div > input:focus,
.tpo_font-picker-option-search > div > input:focus-visible {
    color: var(--entered-input-text, var(--default-input-enteredValue));
    font-size: 16px;
    height: 44px;
    border-radius: 4px;
    outline: none;
    box-shadow: none;
    font-family: inherit;
    border: none;
    width: 100%;
}

.tpo_font-picker-option-search > div:has(input:focus) {
    border-bottom: 1px solid #1E1E1E;
}

.tpo_font-picker-option-search > div > input::placeholder {
    color: var(--placeholder-input-text, var(--default-input-placeholder));
}

.tpo_font-picker-option-wrapper > ul {
    padding: 0;
    margin: 4px 0 0;
    display: flex;
    gap: 4px;
    flex-direction: column;
    align-items: stretch;
    max-height: 185px;
    overflow-y: auto;
}

.tpo_font-picker-google-wrapper > ul,
.tpo_font-picker-google-wrapper.show > ul:empty {
    display: none;
}

.tpo_font-picker-google-wrapper.show > ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    left: -1px;
    right: -1px;
    z-index: 3;
    border: 1px solid var(--list-menu-border);
    background-color: var(--list-menu-bg);
    margin: 0;
    overflow-y: auto;
}

.tpo_font-picker-element {
    cursor: pointer;
    background-color: var(--list-menu-bg);
    color: var(--list-item-text);
}

.tpo_font-picker-element:hover {
    background-color: var(--list-item-hoverBg);
}

.tpo_font-picker-google-wrapper > svg path {
    fill: var(--list-fonts-icon-search);
}

.tpo_font-picker-google-wrapper > input,
.tpo_font-picker-google-wrapper > input:focus,
.tpo_font-picker-google-wrapper > input:focus-visible {
    position: absolute;
    color: var(--entered-input-text, var(--default-input-enteredValue));
    left: 0;
    right: 0;
    top: 0;
    font-family: inherit;
    border: none;
    outline: none;
    background-color: transparent;
    box-shadow: none;
}

.tpo_font-picker-google-wrapper > input::placeholder {
    color: var(--placeholder-input-text, var(--default-input-placeholder));
}

.tpo_option-input {
    font-family: inherit;
}

.tpo_option-label.tpo_dropdown .tpo_option-input {
    padding: 8px 40px 8px 8px;
    height: 44px;
}

.tpo_option-input-inner > img:not([src=""]),
.tpo_option-input-inner > .tpo_color-swatches-wrapper {
    margin-left: 8px !important;
}

.tpo_option-input-inner > img:not([src=""]) ~ input {
    padding-left: 2px !important;
}

.tpo_option-input-inner > img {
    object-fit: cover;
    margin: 0 4px;
}

.tpo_option-input:placeholder-shown {
    text-overflow: ellipsis;
}

.tpo_option-input-wrapper.show .tpo_option-dropdown {
    border-color: var(
            --active-dropdown-border,
            var(--dropdownMenu-activeBorder)
    );
}

.tpo_option-input-inner {
    background-color: var(--dropdownMenu-background, var(--list-menu-bg));
    border-radius: var(--dropdown-border-radius, var(--inputs-radius, 0px));
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    overflow: hidden;
    position: relative;
}

.tpo_option-input-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid var(--active-dropdown-border, var(--dropdownMenu-border));
    background-color: transparent;
    z-index: 2;
    pointer-events: none;
    border-radius: var(--dropdown-border-radius, var(--inputs-radius, 0px));
}

.tpo_option-input-inner > img {
    object-fit: cover;
    width: 36px;
    height: 36px;
}

.tpo_option-input.tpo_option-dropdown:focus {
    outline: none;
    box-shadow: none;
    border: 1px solid var(--active-dropdown-border, var(--dropdownMenu-border));

}

.tpo_option-input.tpo_option-dropdown {
    background-color: var(--dropdownMenu-background, var(--list-menu-bg));
    border: 1px solid var(--active-dropdown-border, var(--dropdownMenu-border));
    cursor: pointer;
    width: 100%;
    z-index: 1;
    position: relative;
    color: var(--default-input-enteredValue);
    font-size: 16px;
    line-height: 24px;
}

.tpo_option-input-inner img.tpo_dropdown-image-wrapper ~ .tpo_option-input,
.tpo_option-input-inner .tpo_color-swatches-wrapper ~ .tpo_option-input {
    border-left: none;
}

.tpo_option-input.tpo_text-box {
    background-color: var(--default-input-bg);
    border-radius: var(--inputs-radius, 0px);
    border: 1px solid var(--default-input-border);
    color: var(--entered-input-text, var(--default-input-enteredValue));
    font-family: var(--entered-input-fontFamily, var(--tpo-font-body-family, var(--font-body-family))), sans-serif;
    width: 100%;
    z-index: 0;
    position: relative;
    resize: vertical;
    text-overflow: ellipsis;
    outline: none;
    box-shadow: none;
}

.tpo_option-input.tpo_text-box::placeholder {
    color: var(--placeholder-input-text, var(--default-input-placeholder));
}

/*.tpo_option-input.tpo_text-box:not(:placeholder-shown),*/
.tpo_option-input.tpo_text-box:focus {
    border-color: var(
            --active-input-border,
            var(--default-input-activeBorder)
    ) !important;
    background-color: var(
            --active-input-background,
            var(--default-input-activeBg)
    ) !important;
}

/* theme empire */
.product-form--atc {
    font-size: 16px;
}

.product__container--two-columns .product-form__action-wrapper {
    flex-direction: column;
}

.tpo_modal-tired-wholesale-wraper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.tpo_modal-tired-wholesale-wraper + .tpo_modal-tired-wholesale-wraper {
    display: none;
}

.tpo_option-input.tpo_quantity {
    border-radius: var(--inputs-radius, 0px);
    border: 1px solid var(--default-input-border);
    z-index: 0;
    position: relative;
    resize: vertical;
    padding: 8px;
    outline: none;
    box-shadow: none;
}

.tpo_option-input.tpo_quantity::placeholder {
    color: var(--placeholder-input-text, var(--default-input-placeholder));
}

.tpo_option-input.tpo_quantity:focus {
    border-color: var(
            --active-input-border,
            var(--default-input-activeBorder)
    ) !important;
    background-color: var(
            --active-input-background,
            var(--default-input-activeBg)
    ) !important;
}

.tpo_option-label {
    display: flex;
    flex-direction: column;
    position: relative;
    align-items: flex-start;
}

.tpo_option-label.tpo_dropdown {
    width: 100%;
}

.tpo_dropdown_image_input_wrapper {
    display: flex;
    width: 100%;
    align-items: center;
}

.tpo_dropdown_image_input_wrapper {
    gap: 8px;
}

.tpo_dropdown-image-wrapper[src=''] {
    display: none;
}

.tpo_option-label.text-box {
    min-width: 100%;
}

.tpo_option-label[data-error] .tpo_option-input-wrapper .tpo_text-box,
.tpo_option-label[data-error] .tpo_quantity-container .tpo_quantity,
.tpo_text-box.tpo_dimension_input[data-error] {
    border-color: #900b09 !important;
}

.tpo_option-label-container {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.tpo_option-label-container:has(+ .using_above_navigation) {
    padding-right: 64px;
}

.custom-label-theme {
    display: flex;
}

.tpo_option-group_wrapper > .tpo_option-label-container {
    max-width: unset;
}

.tpo_option-label-container > span {
    color: var(--option-label-color);
}

.tpo_option-label-container > span > span {
    font-weight: normal;
    font-size: 14px;
    color: var(--placeholder_color);
}

.tpo_option-label-container[hidden]
~ div:has(.tpo_additional-price.absolute.active:not(:empty)) {
    margin-top: 24px;
}

.tpo_text-area-character-count.absolute {
    position: absolute;
    bottom: 0;
    color: var(--default-input-placeholder);
    transform: translateY(-50%);
    z-index: 10;
    right: 20px;
}

.tpo_character-count.absolute {
    color: var(--default-input-placeholder);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.tpo_character-count.absolute ~ .tpo_option-input.tpo_text-box {
    padding-right: 60px;
}

.tpo_limit-character {
    color: #d82c0d;
}

.tpo_option-label-container[hidden]>* {
    display: none !important;
}

.tpo_option-type-dropdown-wrapper {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--list-menu-border);
    transition: max-height 224ms linear;
    position: absolute;
    left: 0;
    right: 0;
    z-index: 3;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: var(--dropdownMenu-background, var(--list-menu-bg));
}

.tpo_option-type-dropdown-wrapper[hidden],
.tpo_option-type-dropdown-wrapper[hidden].has-search  {
    max-height: 0;
    margin-top: 0;
    border: none;
}

.tpo_option-type-dropdown-wrapper[hidden] button,
.tpo_option-type-dropdown-wrapper[hidden] .tpo_dropdown-search-wrapper {
    display: none !important;
}

.tpo_option-type-dropdown-wrapper>.tpo_option-type-selection {
    background-color: var(--dropdownMenu-background, var(--list-menu-bg));
}

.tpo_option-type-selection.hidden {
    display: none;
}

.tpo_dropdown-search-input {
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: var(--color-input-text);
    line-height: normal;
    text-decoration: none;
    outline: none;
    box-shadow: none;
    font-size: 14px !important;
    width: calc(100% - 20px);
    height: 44px;
}

.tpo_dropdown-search-wrapper {
    padding: 0 12px;
    margin: 4px 8px 8px;
    text-align: left;
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: var(--option-value-color);
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0 6px;
    line-height: normal;
    text-decoration: none;
    border-bottom: 1px solid var(--list-menu-border);
}

.tpo_dropdown-search-wrapper.hidden {
    display: none;
}

.tpo_dropdown-search-wrapper > svg {
    display: block;
    width: 20px;
}

.tpo_option-input-inner > svg path,
.tpo_font-picker-label > svg path {
    fill: var(--list-icon);
}

.tpo_dropdown-search-wrapper > svg path {
    fill: var(--color-input-text);
}

.tpo_option-type-selection {
    cursor: pointer;
    background-color: transparent;
    border: none;
    color: var(--option-value-color);
    display: flex;
    align-items: center;
    gap: 8px 16px;
    line-height: normal;
    text-decoration: none;
}

.tpo_option-type-selection.below_image {
    flex-wrap: wrap;
}

.tpo_option-type-selection--empty {
    padding: 8px 12px !important;
    margin-bottom: 8px;
}

.tpo_option-type-selection:hover {
    background-color: var(--list-item-hoverBg);
    color: var(--list-item-text);
    transition: 224ms ease-out;
}

.tpo_option-type-selection span {
    display: inline-block;
    word-break: break-word;
}

.tpo_option-type-selection {
    padding: 16px;
    text-align: left;
    font-size: 13px;
}

.tpo_option-type-selection img {
    object-fit: cover;
    flex: 0 1 auto;
}

.swiper-slide .tpo_option_type_label {
    word-break: normal;
}

span.tpo_option_type_label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 6px;
    text-align: left;
}

.tpo_option_type_label_wrapper {
    display: flex;
    column-gap: 0.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.tpo_option-type-selection .tpo_option_type_label_wrapper {
    flex: 0 1 auto;
}

.tpo_option-type-selection .tpo_option_type_description {
    flex-basis: 100%;
}

.tpo_image-swatches-tooltip .tpo_option_type_description,
.tpo_color-swatches-tooltip .tpo_option_type_description,
.tpo_buttons-tooltip .tpo_option_type_description {
    display: block;
    color: var(--description_color_in_tooltip);
}

.tpo_radio-button-wrapper.has-description {
    align-items: flex-start;
}

.container-wrap-selection {
    /* width: 100%; */
    margin-bottom: 12px;
}

.tpo_radio-buttons-wrapper
.container-wrap-selection:last-of-type
.tpo_radio-button-wrapper {
    margin-bottom: 0;
}

.tpo_radio-buttons-wrapper .container-wrap-selection:last-of-type {
    margin-bottom: 0;
}

.tpo_option-input-wrapper {
    position: relative;
    transition: 224ms ease;
    border-radius: var(--inputs-radius, 0px);
    width: 100%;
}

.tpo_option-input-wrapper > svg,
.tpo_font-picker-label > svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scaleY(1);
    transition: 224ms ease;
    fill: var(--list-menu-arrow);
    z-index: 2;
    pointer-events: none;
}

.tpo_option-input-wrapper.switch {
    background-color: transparent;
}

.tpo_option-input-inner > svg,
.tpo_font-picker-label > svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scaleY(1);
    transition: 224ms ease;
    fill: var(--list-menu-arrow);
    z-index: 2;
    pointer-events: none;
    right: 12px;
}

.tpo_option-input-wrapper.switch {
    background-color: transparent;
}

.tpo_option-input-inner > svg,
.tpo_font-picker-label > svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%) scaleY(1);
    transition: 224ms ease;
    fill: var(--list-menu-arrow);
    z-index: 2;
    pointer-events: none;
    right: 12px;
}

.tpo_option-input-wrapper.show > svg,
.tpo_font-picker-label.show > svg {
    transform: translateY(-50%) scaleY(-1);
}

.tpo_option-help-text {
    margin-top: 0.5rem;
    color: var(--helpText-color);
}

.tpo_option-help-text:has(span:empty) {
    display: none;
}

.tpo_option-label-container .form__label {
    display: inline-block;
}

.tpo_option-tooltip {
    position: relative;
}

.tpo_hidden {
    display: none !important;
}

.option_hidden {
    display: none !important;
}

.tpo_option-tooltip-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tpo_option-tooltip-icon svg path {
    fill: var(--tooltip-icon-fill);
    fill-opacity: 1;
}

.tpo_option-tooltip-icon:before {
    content: '';
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: var(--tooltip-bg) transparent transparent transparent;
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    display: none;
}

.tpo_option-tooltip-icon:after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    background-color: var(--tooltip-bg);
    color: var(--tooltip-color);
    border-radius: 4px;
    display: none;
    width: max-content;
    max-width: 200px;
    cursor: text;
    z-index: 1;
}

.tpo_option-tooltip:hover .tpo_option-tooltip-icon:before,
.tpo_option-tooltip:hover .tpo_option-tooltip-icon:after {
    display: block;
}

.tpo_option-input-wrapper.with-price > .tpo_option-input.tpo_text-box {
    padding: 10px 120px 10px 10px;
}

.tpo_option-input-wrapper.with-price > .tpo_option-input.tpo_quantity {
    padding: 10px 120px 10px 10px;
}

.tpo_option-required-indicator {
    color: red !important;
}

.tpo_error-message {
    font-size: 13px;
    color: red;
    line-height: 1.4;
    margin-top: 4px;
}

.tpo_radio-buttons-wrapper {
    position: relative;
    width: 100%;
}

.tpo_hidden-checkbox {
    position: absolute;
    left: 0;
    bottom: 100%;
    opacity: 0;
    pointer-events: none;
}

.tpo_radio-button-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-content: space-between;
}

.tpo_label_under_price {
    align-items: flex-start !important;
}

.tpo_radio-button-wrapper > *,
.tpo_radio-button-wrapper input {
    cursor: pointer;
    margin: 0 !important;
    display: block;
}

.tpo_radio-button-wrapper > label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 8px;
    font-size: 15px;
    color: var(--option-value-color);
}

.tpo_radio-button:checked ~ label ~ .tpo_additional-price {
    font-weight: 600;
}

.tpo_error-message p {
    margin: 0;
}

.tpo_switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
    /* margin-right: 8px; */
}

.tpo_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.tpo_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--switch-bg);
    border: 1px solid var(--switch-border);
    -webkit-transition: 0.4s;
    transition: 0.4s;
    display: block;
}

.tpo_slider:before {
    position: absolute;
    content: '';
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 4px;
    background-color: var(--switch-roller-bg);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .tpo_slider {
    background-color: var(
            --active-switch-background,
            var(--switch-activeBg)
    ) !important;
    border: 1px solid var(--active-switch-background, var(--switch-activeBg)) !important;
}

input:focus + .tpo_slider {
    box-shadow: 0 0 1px var(--active-switch-background, var(--switch-activeBg));
}

input:checked + .tpo_slider:before {
    background-color: var(--switch-roller-activeBg);
}

.tpo_slider.round:before {
    border-radius: 50%;
}

.tpo_switch-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tpo_switch-container .form__label {
    display: flex;
    align-items: center;
    color: var(--option-value-color);
}

.tpo_switch-container .form__label > span {
    font-size: 14px;
    line-height: 20px;
    color: var(--helpText-color);
    margin-left: 4px;
}

.tpo_quantity-container {
    display: flex;
    justify-content: space-between;
}

.tpo_quantity-container .form__label {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    margin-right: 8px;
}

.tpo-image-select-value {
    border-radius: 4px;
    object-fit: contain;
}

.tpo_image_shape_circle > img,
.tpo_image_shape_circle .tpo-image-select-value {
    border-radius: 50%;
}

.tpo_dropdown-image-wrapper.tpo_image_shape_circle {
    border-radius: 50%;
}

.tpo_image_shape_square > img,
.tpo_image_shape_square .tpo-image-select-value {
    border-radius: 0;
}

.tpo_dropdown-image-wrapper.tpo_image_shape_square {
    border-radius: 0;
}

.tpo_image_shape_radius > img,
.tpo_image_shape_radius .tpo-image-select-value {
    border-radius: 4px;
}

.tpo_dropdown-image-wrapper.tpo_image_shape_radius {
    border-radius: 4px;
}

.tpo_option-type-color-swatches-wrapper,
.tpo_option-type-font-picker-swatches {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: flex-start;
}

.tpo_option-type-color-swatches-wrapper input,
.tpo_option-type-font-picker-swatches input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

.tpo_color-swatches-wrapper {
    display: inline-block;
    position: relative;
    color: inherit;
    max-width: max(160px, calc(50% - 8px));
}

.tpo_color-swatches-wrapper > label,
.tpo_color-swatches-wrapper > article {
    cursor: pointer;
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    border: 1px solid var(--swatches-border);
    margin: 0 auto;
}

.tpo_color-swatches-wrapper > label > div,
.tpo_color-swatches-wrapper > article > div {
    cursor: pointer;
    display: flex;
    border: 2px solid transparent;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.tpo_color-swatches-wrapper > label > div span,
.tpo_color-swatches-wrapper > article > div span {
    flex-grow: 1;
    /* margin: -20px; */
    max-width: unset !important;
}

.tpo_color-swatches-wrapper > label > div span.color-span-single,
.tpo_color-swatches-wrapper > article > div span.color-span-single {
    margin: -20px;
}

.tpo_color-swatches-wrapper > label > div span.color-span-0,
.tpo_color-swatches-wrapper > article > div span.color-span-0 {
    margin: -20px 0 -20px -20px;
}

.tpo_color-swatches-wrapper > label > div span.color-span-1,
.tpo_color-swatches-wrapper > article > div span.color-span-1 {
    margin: -20px -20px -20px 0;
}

.tpo_color-swatches-wrapper > .tpo_shape_radius,
.tpo_color-swatches-wrapper > .tpo_shape_radius > div:first-child {
    border-radius: 6px;
}

.tpo_color-swatches-wrapper > .tpo_shape_circle,
.tpo_color-swatches-wrapper > .tpo_shape_circle > div:first-child {
    border-radius: 50%;
}

.tpo_color-swatches-wrapper > .tpo_shape_square,
.tpo_color-swatches-wrapper > .tpo_shape_square > div:first-child {
    border-radius: 0;
}

.swiper-wrapper .swiper-slide > label .tpo_image-swatches-tooltip {
    display: none;
}

.swiper-wrapper .swiper-slide > label + .tpo_image-swatches-tooltip {
    display: none;
}

.swiper-wrapper .tpo_color-swatches-label_position,
.swiper-wrapper .tpo_swatches-label_position {
    display: inline-grid;
    height: fit-content !important;
}

.tpo_color-swatches-label_position {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.tpo_swatches-label_position.under .tpo_option_type_label_wrapper span,
.tpo_color-swatches-label_position.under .tpo_option_type_label_wrapper span {
    text-align: center;
    width: 100%;
    justify-content: center;
}

.tpo_color-swatches-label_position > label,
.tpo_color-swatches-label_position > article {
    cursor: pointer;
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    border: 1px solid var(--swatches-border);
    margin: 0;
    flex-shrink: 0;
    box-sizing: border-box;
}

.tpo_color-swatches-label_position > label > div:first-child,
.tpo_color-swatches-label_position > article > div:first-child {
    cursor: pointer;
    display: flex;
    border: 2px solid transparent;
    width: 100%;
    overflow: hidden;
}

.tpo_color-swatches-label_position > label > div > span,
.tpo_color-swatches-label_position > article > div > span {
    flex-grow: 1;
}

.tpo_color-swatches-label_position > .tpo_shape_radius,
.tpo_color-swatches-label_position > .tpo_shape_radius > div:first-child {
    border-radius: 6px;
}

.tpo_color-swatches-label_position > .tpo_shape_circle,
.tpo_color-swatches-label_position > .tpo_shape_circle > div:first-child {
    border-radius: 50%;
}

.tpo_color-swatches-label_position > .tpo_shape_square,
.tpo_color-swatches-label_position > .tpo_shape_square > div:first-child {
    border-radius: 0;
}

.tpo_option-type-color-swatches-wrapper:not(.tpo_option-type-buttons-wrapper)
label.tpo_is_checked_swatches,
.tpo_option-type-color-swatches-wrapper:not(.tpo_option-type-buttons-wrapper)
article.tpo_is_checked_swatches {
    border-width: 2px;
    border-style: solid;
    border-color: var(
            --active-colorSwatches-border,
            var(--swatches-activeBorder)
    ) !important;
}

.tpo_color-swatches-tooltip,
.tpo_buttons-tooltip {
    background-color: var(--tooltip-bg);
    color: var(--tooltip-color);
    line-height: 1.5;
    z-index: 2;
    position: absolute;
    top: 0;
    width: max-content;
    max-height: 0;
    overflow: hidden;
    word-break: break-word;
    border-radius: 4px;
}

.tpo_color-swatches-tooltip:empty,
.tpo_buttons-tooltip:empty {
    display: none;
}

.tpo_button-wrapper_with-image > div,
.tpo_button-wrapper_with-image > .tpo_color-swatches-wrapper > label,
.tpo_button-wrapper_with-image > .tpo_color-swatches-wrapper > article {
    width: 36px;
    height: 36px;
}

.tpo_button_with_image_price, .tpo_button_with_color_price {
    padding: 0px 12px !important;
}

.tpo_button_with_image {
    padding: 4px 12px !important;
}

.tpo_button_with_color {
    padding: 4px 12px !important;
}

.tpo_button_with_color .tpo_button_option_value {
    padding-top: 2px;
}

.tpo_button_with_price {
    padding: 0 12px !important;
}

.tpo_button_with {
    padding: 10px 12px !important;
}

.tpo_color-swatches-tooltip:before,
.tpo_buttons-tooltip:before {
    content: '';
    position: absolute;
    border: 5px solid transparent;
    border-top-color: var(--tooltip-bg);
    transform: translateX(-50%);
    bottom: -9px;
}

[data-tpo-theme="classic"] .tpo_color-swatches-tooltip:before {
    transform: translateX(0);
}

[data-tpo-theme] .tpo_color-swatches-tooltip:before {
    transform: translateX(0);
}

[data-tpo-theme="modern"] .tpo_color-swatches-tooltip:before,
[data-tpo-theme="modern"] .tpo_buttons-tooltip:before {
    left: 47%;
}

[data-tpo-theme="modern"] .tpo_color-swatches-tooltip:before,
[data-tpo-theme="modern"] .tpo_buttons-tooltip:before {
    left: 50%;
}

.tpo_color-swatches-wrapper:hover .tpo_color-swatches-tooltip {
    max-height: unset;
    overflow: unset;
    padding: 4px 8px 2px;
}

.tpo_image-swatches-wrapper {
    display: inline-block;
    position: relative;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    max-width: max(160px, calc(50% - 8px));
}

.tpo_image-swatches-wrapper > label,
.tpo_image-swatches-wrapper > article {
    cursor: pointer;
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    margin: 0 auto;
    justify-content: center;
}

.tpo_image-swatches-wrapper > label > div,
.tpo_image-swatches-wrapper > article > div {
    width: 100%;
    overflow: hidden;
    border: 1px solid transparent;
}

.tpo_option-type-image-swatches-wrapper label.tpo_is_checked_swatches,
.tpo_option-type-image-swatches-wrapper article.tpo_is_checked_swatches {
    border-width: 2px;
    border-style: solid;
    border-color: var(
            --active-imageSwatches-border,
            var(--swatches-activeBorder)
    ) !important;
}

.tpo_image-swatches-wrapper > .tpo_shape_,
.tpo_image-swatches-wrapper > .tpo_shape_null,
.tpo_image-swatches-wrapper > .tpo_shape_radius,
.tpo_image-swatches-wrapper > .tpo_shape_ > div:first-child,
.tpo_image-swatches-wrapper > .tpo_shape_null > div:first-child,
.tpo_image-swatches-wrapper > .tpo_shape_radius > div:first-child {
    border-radius: 6px;
}

.tpo_image-swatches-wrapper > .tpo_shape_square,
.tpo_image-swatches-wrapper > .tpo_shape_square > div:first-child {
    border-radius: 0;
}

.tpo_image-swatches-wrapper > .tpo_shape_circle,
.tpo_image-swatches-wrapper > .tpo_shape_circle > div:first-child {
    border-radius: 50%;
}

.out_stock_label {
    pointer-events: none;
}

.out_stock_label:hover {
    cursor: not-allowed;
}

.out_stock_label span {
    opacity: 0.5;
}

.out_stock_label span:hover {
    cursor: not-allowed;
}

.out_stock_label input:hover {
    cursor: not-allowed;
}

.not-avaliable.out_stock_label span {
    opacity: 0.5;
}

.not-avaliable.out_stock_label img {
    opacity: 0.5;
}

.tpo_option_type_description {
    color: var(--description_color);
    line-height: 1.2;
    width: 100%;
    order: 1;
    margin-top: 0.75rem;
    font-size: 14px;
    display: inline-block;
    text-align: left;
}

.tpo_option_type_description:empty {
    display: none !important;
}

.tpo_option_type_description.below_swatch {
    text-align: center;
}

.tpo_option_type_description.on_tooltip {
    margin-bottom: 0.25rem;
}

.next_to .tpo_option_type_description.below_swatch {
    text-align: left;
}

.tpo_image-swatches-tooltip .tpo_option_type_tooltip_icon,
.below_value .tpo_option_type_description.below_image,
.below_image .tpo_option_type_description.below_value,
.below_swatch .tpo_option_type_description.on_tooltip,
.on_tooltip .tpo_option_type_description.below_swatch {
    display: none !important;
}

.tpo_option_type_description.under-checkbox {
    padding-left: 24px;
}

.tpo_option_type_description.under-radio {
    padding-left: 24px;
}

.tpo_option_type_label_and_price {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5rem;
    line-height: 1.4;
}

.tpo_option_type_tooltip_icon {
    display: inline-flex !important;
    justify-content: center;
    align-items: center;
    color: var(--tooltip-color);
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    font-size: 11px;
    text-align: center;
    width: auto !important;
}

.tpo_option_type_tooltip_icon.tpo_hidden {
    display: none !important;
}

.tpo_option_type_tooltip_wrapper {
    padding: 8px;
    border-radius: 4px;
    background-color: var(--tooltip-bg);
    color: var(--tooltip-color);
    width: max-content;
    max-width: 150px;
    position: absolute;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease-in-out;
    text-align: initial;
    line-height: normal;
    font-size: 14px;
}

.tpo_option_type_tooltip_wrapper:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    border: 5px solid transparent;
    border-top-color: var(--tooltip-bg);
    transform: translateX(-50%);
}

.tpo_swatches-label_position,
.tpo_color-swatches-label_position {
    display: grid;
    grid-template-columns: min-content 1fr;
    grid-template-areas: 'image label' 'description description';
    align-items: center;
    justify-content: flex-start;
    column-gap: 16px;
    width: 100%;
    color: inherit;
    font-size: 15px;
}

.tpo_swatches-label_position.under,
.tpo_color-swatches-label_position.under {
    grid-template-columns: auto !important;
    grid-template-areas: 'image' 'label' 'description';
    row-gap: 4px;
    justify-items: center;
    justify-content: center;
}

.tpo_swatches-label_position:has(.tpo-quantity_always-show),
.tpo_color-swatches-label_position:has(.tpo-quantity_always-show) {
    grid-template-areas: 'image label quantity' 'description description empty';
}

.tpo_swatches-label_position.under:has(.tpo-quantity_always-show),
.tpo_color-swatches-label_position.under:has(.tpo-quantity_always-show) {
    grid-template-areas: 'image' 'label' 'description' 'quantity';
}

.tpo_swatches-label_position > div > span.tpo-swatch-option-label,
.tpo_color-swatches-label_position > span > span.tpo-swatch-option-label {
    color: var(--swatch-option-color, var(--option-value-color));
    word-break: break-word;
    text-align: center;
}

.tpo_swatches-label_position.under,
.tpo_color-swatches-label_position.under {
    flex-direction: column;
    align-items: center;
    gap: 4px;
    max-width: max(160px, calc(50% - 8px));
    width: auto;
}

.tpo_swatches-label_position.under.swiper-slide,
.tpo_color-swatches-label_position.under.swiper-slide {
    max-width: unset;
}

.tpo_swatches-label_position > label,
.tpo_swatches-label_position > article {
    cursor: pointer;
    display: flex;
    align-items: stretch;
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    grid-area: image;
    box-sizing: border-box;
}

.tpo_swatches-label_position .tpo_option_type_label_wrapper,
.tpo_color-swatches-label_position .tpo_option_type_label_wrapper {
    grid-area: label;
}

.tpo_swatches-label_position .tpo-quantity_always-show,
.tpo_color-swatches-label_position .tpo-quantity_always-show {
    grid-area: quantity;
}

.tpo_swatches-label_position .tpo_option_type_description,
.tpo_color-swatches-label_position .tpo_option_type_description {
    grid-area: description;
}

.tpo_swatches-label_position > label > div:not(.tpo_image-swatches-tooltip),
.tpo_swatches-label_position > article > div:not(.tpo_image-swatches-tooltip) {
    overflow: hidden;
    width: 100%;
    border: 2px solid transparent;
}

.tpo_swatches-label_position > .tpo_shape_radius,
.tpo_swatches-label_position > .tpo_shape_radius > div:first-child {
    border-radius: 6px;
}

.tpo_swatches-label_position > .tpo_shape_square,
.tpo_swatches-label_position > .tpo_shape_square > div:first-child {
    border-radius: 0;
}

.tpo_swatches-label_position > .tpo_shape_circle,
.tpo_swatches-label_position > .tpo_shape_circle > div:first-child {
    border-radius: 50%;
}

.tpo_swatches-label_position
> .tpo_shape_circle
> .tpo_image-swatches-tooltip
img {
    aspect-ratio: 1 / 1;
}

.tpo_option-type-image-swatches-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    width: 100%;
    align-items: flex-start;
}

.tpo_option-type-image-swatches-wrapper .swiper,
.tpo_option-type-color-swatches-wrapper .swiper {
    position: unset;
}

.tpo_option-type-image-swatches-wrapper input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

.image-swatches-wrapper {
    display: inline-block;
    position: relative;
}

.tpo_image-swatch-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.tpo_image-swatches-tooltip_image-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: var(
            --image-swatches-hover-background,
            var(--default-imageSwatches-hoverBg)
    );
}

.tpo_image-swatches-tooltip_image-container img.tpo_image-swatch-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.tpo_image-swatches-tooltip {
    padding: 4px;
    background-color: var(
            --image-swatches-hover-background,
            var(--default-imageSwatches-hoverBg)
    );
    color: var(--tooltip-color);
    font-size: 14px;
    z-index: 9;
    border-radius: 4px;
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    overflow: hidden;
    max-width: 108px;
    word-break: break-word;
    line-height: 1.5;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in;
}

.tpo_image-swatches-tooltip:before {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    border: 5px solid transparent;
    border-top-color: var(
            --image-swatches-hover-background,
            var(--default-imageSwatches-hoverBg)
    );
    transform: translateX(-50%);
}

.tpo_image-swatches-tooltip
.tpo_image-swatch-option
span:not(.tpo-swatch-option-label) {
    font-size: 12px;
}

div.tpo_image-swatches-wrapper:hover .tpo_image-swatches-tooltip,
div.tpo_swatches-label_position > label:hover .tpo_image-swatches-tooltip,
div.tpo_swatches-label_position > article:hover .tpo_image-swatches-tooltip,
div.swatches-not-avaliable:hover .tpo_image-swatches-tooltip {
    opacity: 1;
    animation-name: imageSwatchesTooltipSlide;
    animation-duration: 400ms;
    overflow: unset;
    background-color: var(
            --image-swatches-hover-background,
            var(--default-imageSwatches-hoverBg)
    );
}

.tpo_additional-price:empty {
    display: none !important;
}

.tpo_additional-price.absolute {
    position: absolute;
    bottom: calc(100% + 4px);
    right: 10px;
    color: var(--placeholder_color);
    display: none !important;
}

.tpo_additional-price.absolute.product-list {
    top: 0;
}

.tpo_additional-price.absolute.active {
    font-weight: 600;
}

.tpo-swiper-pagination--image-swatches,
.tpo-swiper-pagination--color-swatches {
    position: relative !important;
}

.tpo_option-set-wrapper:not(:has(.tpo_option-set-container))
.tpo_total-additional-price-wrapper,
.tpo_option-set-wrapper:has(.tpo_option-set-container:empty)
.tpo_total-additional-price-wrapper {
    display: none !important;
}

.tpo_total-additional-price-wrapper {
    margin: 10px 0 4px;
    gap: 6px;
    font-size: 16px;
    border: 1px solid var(--total-additional-price-border);
    padding: 4px 8px;
    line-height: 1.2;
    color: var(--default-pricing-box-color);
}

.tpo_total-additional-price-wrapper.tpo_hidden {
    display: none !important;
}

.tpo_total-additional-price {
    font-size: 16px;
    color: #009d5b;
    font-weight: 600;
}

.tpo_price_include_tax {
    font-size: 16px;
}

.tpo_price_include_tax span {
    font-weight: 600;
    color: #009d5b;
}

.tpo_buttons-wrapper {
    position: relative;
    color: inherit;
    text-decoration: none;
}

.tpo_buttons-wrapper > label,
.tpo_buttons-wrapper > article {
    cursor: pointer;
    color: var(--default-button-text);
    border: 1px solid var(--default-button-border);
    background-color: var(--default-button-bg);
    text-decoration: none;
    min-width: 28px;
    text-align: center;
    padding: 8px 12px;
}

.tpo_buttons-wrapper
> :where(label, article):has(
        .tpo_button-wrapper_with-image .tpo_image-swatch-img
    ) {
    cursor: pointer;
    color: var(--default-button-text);
    border: 1px solid var(--default-button-border);
    background-color: var(--default-button-bg);
    text-decoration: none;
    min-width: 28px;
    text-align: center;
    padding: 4px 12px;
}

.tpo_buttons-wrapper > .tpo_shape_radius {
    border-radius: 4px;
}

.tpo_buttons-wrapper > .tpo_shape_square {
    border-radius: 0;
}

img.tpo_shape_radius {
    border-radius: 4px;
}

img.tpo_shape_square {
    border-radius: 0;
}

img.tpo_shape_circle {
    border-radius: 50%;
}

label:has(.tpo_buttons-input:checked),
.tpo_buttons-wrapper .tpo_is_checked_swatches {
    background-color: rgb(
            var(--active-background, var(--default-button-activeBg))
    ) !important;
    color: rgb(
            var(--active-color, var(--default-button-activeText))
    ) !important;
    border-color: rgb(
            var(--active-border, var(--default-button-activeBorder))
    ) !important;
    border-width: 1px;
}

.tpo_buttons-wrapper:hover .tpo_buttons-tooltip {
    max-height: unset;
    overflow: unset;
    padding: 4px 8px;
}

.tpo_buttons-wrapper:hover .tpo_buttons-tooltip:has(.tpo_image-swatch-img) {
    max-height: unset;
    overflow: unset;
    padding: 4px;
}

.tpo_option-divider {
    margin: 0;
    height: 0;
    background-color: transparent;
}

.tpo_file-upload {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 15px 20px;
    border: 1px dashed var(--fileUpload-border);
    background-color: var(--fileUpload-bg);
    transition: 0.2s;
    height: 120px;
}

.tpo_file-upload > div:not(.tpo-file-placeholder) {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.tpo_file-upload:hover {
    border: 1px dashed var(--fileUpload-hover-border);
    background-color: var(--fileUpload-hover-bg);
}

.tpo_file-upload.is-dragover {
    border: 1px dashed var(--fileUpload-dragOver-border);
    background-color: var(--fileUpload-dragOver-bg);
}

.tpo_file-upload[data-error] {
    border: 1px dashed var(--fileUpload-error-border);
    background-color: var(--fileUpload-error-bg);
}

.tpo_file-upload[data-error] .tpo-file-placeholder,
.tpo_file-upload.is-dragover .tpo-file-placeholder {
    border: none;
    background-color: unset;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
}

.tpo_file-upload[data-error] .tpo-file-placeholder {
    color: var(--fileUpload-error-text);
}

.tpo_file-upload.is-dragover .tpo-file-placeholder {
    color: var(--fileUpload-dragOver-text);
}

.tpo-file-placeholder {
    border-radius: 4px;
    background-color: var(--fileUploadButton_background);
    color: var(--fileUploadButton_text);
    border: 1px solid var(--fileUploadButton_border);
    font-size: 14px;
    line-height: 20px;
    text-align: center;
}

.tpo_dropzone {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    opacity: 0;
}

.tpo_modal-background {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: auto;
    display: none;
    margin: 0;
    max-width: unset;
    width: 100vw;
    height: 100vh;
}

.tpo_modal-container {
    position: relative;
    margin: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--default-input-bg);
    padding: 16px;
    animation-name: slideFromTop;
    animation-duration: 0.4s;
    max-width: calc(100vw - 50px);
}

@supports (-webkit-hyphens: none) {
    .tpo_modal-container {
        animation: none;
    }
}

.tpo_modal-heading h3 {
    color: var(--option-value-color);
}

.tpo_modal-heading:empty {
    display: none;
}

.tpo_modal-content {
    white-space: normal;
    max-height: 80vh;
    overflow-y: auto;
    margin: 16px 0;
}

.tpo_option-input.tpo_text-box.tpo_modal-content_filter {
    border-color: var(--default-input-border);
    padding-left: 32px;
}

.tpo_option-input-wrapper-filter {
    position: relative;
    transition: 224ms ease;
    background-color: transparent;
    width: 100%;
}

.tpo_option-input-wrapper-filter > svg {
    position: absolute;
    left: 10px;
    transform: translateY(-50%) scaleY(1) !important;
    transition: 224ms ease;
    fill: var(--option-value-color);
    z-index: 9999;
}

.tpo_add_on_product .tpo_open-modal-button {
    display: none !important;
}

.tpo_open-modal-button {
    color: var(--modal-font-color, var(--popupModal-btn-text));
    cursor: pointer;
    border: none;
    background-color: transparent;
    font-size: 14px;
    padding: 0;
}

.tpo_open-modal-button:hover {
    color: var(--popupModal-btn-activeText) !important;
}

.tpo_popup-modal-button {
    cursor: pointer;
    background-color: var(--popupModal-btn-background);
    color: var(--popupModal-btn-text);
    border: 1px solid var(--popupModal-btn-border);
}

.tpo_popup-modal-button:hover {
    background-color: var(--popupModal-btn-backgroundHover);
    color: var(--popupModal-btn-activeText);
}

.tpo-icon-small,
.tpo-icon-undefined {
    width: 24px;
    height: 24px;
}

.tpo-icon-medium {
    width: 28px;
    height: 28px;
}

.tpo-icon-large {
    width: 32px;
    height: 32px;
}

.tpo_edit-option-modal.tpo_popup-modal-button {
    color: var(--helpText-color);
}

.tpo-show-popup.tpo_edit-option-modal.tpo_open-modal-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 45px;
    padding: 0 3rem;
    cursor: pointer;
    font: inherit;
    font-size: 1.5rem;
    text-decoration: none;
    transition: box-shadow var(--duration-short) ease;
    -webkit-appearance: none;
    appearance: none;
    margin-bottom: 1rem;
    border: 1px solid #000000;
    letter-spacing: 0.1rem;
}

.tpo-popup-title {
    margin-top: 0;
}

.tpo_close-popup-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    cursor: pointer;
    color: var(--popupModal-btn-text);
    font-size: 24px;
    text-align: center;
    line-height: 32px;
    padding: 4px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tpo_close-popup-button:hover {
    background-color: var(--popupModal-btn-backgroundHover);
    color: var(--popupModal-btn-activeText);
    font-weight: 500;
}

.tpo_modal-footer-group {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

.button-modal.primary {
    background-color: var(--popupModal-primaryBtn-bg);
    color: var(--popupModal-primaryBtn-text);
}

.button-group-modal {
    margin-right: 4px;
}

.tpo_option-paragraph.ql-editor {
    padding: 0;
    margin-bottom: 24px;
    color: var(--option-value-color);
}

.tpo_modal-content.ql-editor {
    color: var(--option-value-color);
}

.tpo_option-html {
    margin-bottom: 24px;
}

.tpo_italic {
    font-style: italic !important;
}

.tpo_bold {
    font-weight: 600;
}

.tpo_underline {
    text-decoration: underline;
}

.tpo_edit-option-modal + .tpo_edit-option-modal {
    display: none;
}

.tpo_edit-option-modal .tpo_modal-container {
    max-width: 700px;
    margin: 0;
    padding: 30px 0 30px 10px;
    max-height: calc(100vh - 200px);
    overflow-y: auto;
    border-radius: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.tpo_edit-option-modal .tpo_modal-container > div {
    padding: 0 20px 0px 10px;
}

.tpo_edit-option-modal .tpo_option-input-wrapper {
    background-color: transparent;
}

.tpo_edit-option-modal.tpo_open-modal-button[hidden] {
    display: none !important;
}

.tpo_edit-option-modal.tpo_open-modal-button {
    color: rgb(var(--color-foreground), var(--foreground));
    font-size: 14px;
    font-weight: 600;
}

.tpo_edit-option_confirm-button {
    width: 100%;
    margin: 0 auto;
}

.spinnerPopup {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
}

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


.tpo_option-tiered-prices-table-container {
    padding: 4px;
    border: 1px solid var(--default-wholesaleTable-border);
    margin-top: 2rem;
    width: fit-content;
}

.tpo_option-tiered-prices-table {
    border-collapse: collapse;
}

.tpo_option-tiered-prices-table tbody.tpo_table-body tr th,
.tpo_option-tiered-prices-table tbody.tpo_table-body tr td {
    padding: 8px 24px;
    text-align: center;
    text-transform: capitalize;
    line-height: 1.3;
    border: 1px solid transparent;
    /* font-size: 1.5rem; */
}

.tpo_option-tiered-prices-table tbody.tpo_table-body tr {
    background-color: var(
            --wholesale-oddRows_background,
            var(--default-wholesaleOddRows-bg)
    );
    color: var(--default-wholesaleTextCellContents-color);
}

.tpo_option-tiered-prices-table tbody.tpo_table-body tr:nth-child(2n + 1) {
    background-color: var(
            --wholesale-evenRows_background,
            var(--default-wholesaleEvenRows-bg)
    );
}

.tpo_option-tiered-prices-table tbody.tpo_table-body tr:first-child {
    background-color: var(
            --wholesale-headerRow_background,
            var(--default-wholesaleHeaderRows-bg)
    );
    color: var(--default-wholesaleTextColumnHeaders-color);
}

.tpo_option-tiered-prices-table tbody.tpo_table-body tr:first-child th {
    font-weight: 600;
}

.tpo_option-tiered-prices-heading {
    color: var(--default-wholesaleTextTitle-color);
}

.tpo-discount-code-wrapper {
    margin: 10px 0;
    max-width: 350px;
    min-width: 150px;
    text-align: left;
    width: 100%;
}

.tpo-discount-code-wrapper .tpo-discount-code-input--input-container {
    display: flex;
    margin: 0;
}

.tpo-discount-code-wrapper input[type='text'].tpo-discount-code-input--input {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    color: #333;
    flex: 1;
    height: auto;
    line-height: 2.5em;
    margin: 0 10px 0 0;
    max-height: none;
    max-width: none;
    min-height: 10px;
    min-width: 20px;
    outline: none;
    padding: 0 10px;
    pointer-events: all;
    text-indent: 0;
    width: auto;
}

.tpo-discount-code-wrapper .tpo-discount-code-input--button {
    border: 1px solid transparent;
    flex: 0.2 1 0;
    font-weight: 400;
    line-height: 2.5em;
    min-width: auto;
    padding: 0 15px;
    pointer-events: all;
    position: relative;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    vertical-align: middle;
    white-space: nowrap;
    word-break: normal;
    font-size: 15px;
    border-radius: 0;
    background: #000000;
    border-color: #000000;
}

.tpo-discount-code-wrapper .tpo-discount-code-input--button:hover {
    cursor: pointer;
    opacity: 0.8;
}

.tpo-discount-code-wrapper
.tpo-discount-code-input--button
.tpo-discount-code-input--button-text {
    line-height: revert;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    color: #fff;
}

.tpo-discount-code-wrapper .tpo-discount-code--applied-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 10px 0 0;
}

.tpo-discount-code-wrapper
.tpo-discount-code--applied-wrapper
.tpo-discount-code--applied-wrapper--applied {
    display: flex;
    align-items: center;
    background-color: #dcdcdc;
    border-radius: 4px;
    color: #323232;
    font-weight: 500;
    line-height: 1.2em;
    margin-bottom: 10px;
    margin-right: 10px;
    padding: 5px 8px;
}

.tpo-discount-code--applied-wrapper--applied
.tpo-discount-code--applied-wrapper--applied-remove {
    display: inline-block;
    color: #717171;
    cursor: pointer;
    display: inline-block;
    /*font-family: Arial,Helvetica,sans-serif!important;*/
    font-size: 1.3em;
    font-weight: 300;
    line-height: 16px;
    margin: 0;
    padding-left: 5px;
}

.tpo-discount-code--applied-wrapper--applied
.tpo-discount-code--applied-wrapper--applied-remove:hover {
    color: #131111;
}

.tpo-discount-code-wrapper svg {
    fill: #4e4e4e;
    display: inline-block;
    height: 15px;
    margin-right: 7px;
    width: auto;
}

.button--loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    border: 4px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: button-loading-spinner 1s ease infinite;
}

.product.product--medium
.product__info-wrapper.grid__item[style*='display: none'] {
    display: flex !important;
}

#tpo-discount-code--message {
    font-size: 13px;
}

#tpo-discount-code--message.valid {
    color: green;
}

#tpo-discount-code--message.invalid {
    color: red;
}

.tpo-discount-code--summary-wrapper .tpo-discount-code--summary-discount,
.tpo-discount-code--summary-wrapper .tpo-discount-code--summary-subtotal,
.tpo-discount-code--summary-wrapper .tpo-discount-code--summary-total {
    display: flex;
    justify-content: space-between;
}

.tpo-discount-code--summary-discount-value,
.tpo-discount-code--summary-subtotal-value,
.tpo-discount-code--summary-total-value {
    font-weight: 700;
}

.tpo-discount-code-wrapper
.tpo-button-active
.tpo-discount-code-input--button-text {
    visibility: hidden;
}

.tpo-discount-code-wrapper .tpo-button-active .tpo-loader {
    display: block;
}

.tpo_discount-wrapper {
    font-size: 14px;
}

.tpo_option-group_wrapper {
    position: relative;
    transition: 224ms ease;
    width: 100%;
}

.tpo_option-group_wrapper > .tpo_option-label-container {
    cursor: pointer;
    display: flex;
}

.tpo_option-group_wrapper:not(.show) > .tpo_option-label-container {
    margin-bottom: 0;
}

.tpo_option-group_wrapper > div > svg {
    transform: scaleY(1) translateY(4px);
    transition: 224ms ease;
    fill: var(--list-menu-arrow);
    margin-bottom: 0.6rem;
    margin-left: auto;
    flex-shrink: 0;
}

.tpo_flex-50 .tpo_option-label.tpo_dropdown img {
    width: 25px !important;
    height: 25px !important;
}

.tpo_option-group_wrapper.show > div > svg {
    transform: scaleY(-1);
}

.tpo_option-group_child-wrapper .tpo_option-label-container > span {
    font-size: 14px;
}

.tpo-file__img {
    margin-top: 6px;
    width: 100%;
}

.tpo-file__img-preview {
    display: inline-block !important;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

.tpo-file__img .tpo-delete__file {
    width: 20px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    right: 4px;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    border-radius: 3px;
}

.tpo-file__img .tpo-delete__file:hover {
    background-color: var(--popupModal-btn-backgroundHover);
}

.tpo-file__img .tpo-delete__file svg {
    width: 20px;
    height: 20px;
}

.tpo-file__img .tpo-delete__file svg path {
    fill: var(--popupModal-btn-text);
}

.tpo-file__img .tpo-delete__file:hover svg path {
    fill: var(--popupModal-btn-activeText);
}

.tpo-disabled {
    pointer-events: none;
    cursor: not-allowed;
}

.tpo-file__img.tpo_hidden {
    display: none !important;
}

.tpo-label__file {
    width: 100%;
}

.tpo-name__file {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    max-width: 300px;
    font-size: 16px;
    line-height: 24px;
    color: var(--option-value-color);
    text-decoration: none;
}

.tpo-file__preview {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--fileUploadItem_border);
}

.tpo-file-loader {
    padding: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    border-radius: 4px;
    border: 1px solid #efefef;
    font-size: 14px;
    color: var(--option-label-color);
}

.tpo-file-loader svg {
    height: 40px;
    fill: var(--fileUpload-loaderIcon);
}

.tpo-file__img > .tpo-items__file.tpo_hidden {
    display: none !important;
}

.tpo-file__img .tpo-loader.tpo_hidden {
    display: none !important;
}

.tpo_color-picker_label {
    display: flex;
    cursor: pointer;
}

.tpo_color-picker_label [type="color"] {
    transform: none !important;
}

.tpo_color-picker-wrapper {
    position: relative;
    width: 100%;
}

.tpo_color-picker_value {
    color: var(--color-picker-text);
}

.tpo_dimension_wrapper {
    width: 100%;
    display: flex;
    position: relative;
}

.tpo_dimension_input-wrapper {
    position: relative;
}

.tpo_dimension_input-wrapper > span {
    position: absolute;
    top: 1px;
    bottom: 1px;
    right: 1px;
    background-color: var(--dimension-unit-bg);
    color: var(--default-input-placeholder);
    border-radius: 0 var(--inputs-radius, 0px) var(--inputs-radius, 0px) 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

.tpo_modal-content.ql-editor img {
    max-width: 100%;
}

.tpo_file-icon {
    display: block !important;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: url('data:image/png;base64,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');
    background-size: contain;
}

.tpo_open-modal-button-wrapper {
    display: flex;
    gap: 6px;
    align-items: center;
    width: fit-content;
}

.tpo_open-modal-button-wrapper:hover {
    cursor: pointer;
}

.tpo-isactive-image {
    display: inline-block !important;
    opacity: 1 !important;
    z-index: 1 !important;
    width: 100%;
    height: max-content;
    visibility: unset !important;
}

.tpo_next_option_type {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tpo_radio-button-wrapper .tpo_label_under_option_type {
    display: flex;
    align-items: first baseline;
}

.tpo_label_under_option_type input {
    display: block;
    margin-top: 4px;
}

.tpo_under_option_type {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.tpo-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 16px 8px;
}

.tpo-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 16px 8px;
}

.tpo-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 16px 8px;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 20px;
    height: 20px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 4px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

.product_list-option_value {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--option-value-color);
}

.tpo_product_list-wraper {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.tpo_product_list-wraper:has(.out_stock_label) {
    cursor: not-allowed;
}

.tpo_product_list-wraper > *,
.tpo_product_list-wraper input {
    cursor: pointer;
    margin: 0 !important;
    display: inherit;
    width: auto;
    height: auto;
    clip: auto;
    position: static;
}

.tpo_product_list-wraper > label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.container_wrapper {
    position: relative;
}

.container_wrapper .tpo-quantity_always-show {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.wrap-product-list {
    max-height: 380px;
    display: flex;
    overflow-y: auto;
    flex-direction: column;
}

.wrap-product-list::-webkit-scrollbar {
    width: 6px;
    background-color: var(--list-menu-scrollbarTrack);
}

.wrap-product-list::-webkit-scrollbar-thumb {
    background-color: var(--list-menu-scrollbarThumb);
    background-clip: content-box;
}

.selected_prd_list-tag {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

.not-avaliable {
    background-color: #f0f0f0;
    /* opacity: 0.5; */
}

.not-avaliable:hover {
    cursor: not-allowed;
}

.swatches-not-avaliable {
    position: relative;
}

.swatches-not-avaliable:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 1;
    opacity: 0.5;
}

.swatches-not-avaliable:hover {
    cursor: not-allowed;
}

.swatches-not-avaliable > label:hover {
    cursor: not-allowed;
}

.tpo_cart-properties-wrapper.cart-item-properties .product-option {
    flex-direction: column;
}

.tpo_modal-container
.tpo_image-swatches-wrapper:first-child
.tpo_image-swatches-tooltip {
    transform: none;
    left: 0;
}

.tpo_option-heading {
    margin-bottom: 24px;
    font-weight: 500;
    color: var(--active-heading-color, var(--default-heading-color));
}

.tpo_option-container:has(.tpo_option-heading),
.tpo_option-container:has(> .tpo_option-group_wrapper.show) {
    margin-bottom: 0;
}

.tpo_custom_cart_total {
    margin-left: auto;
}

.tpo_custom_cart_new_price {
    color: red;
}

.tpo_custom_cart_old_price {
    text-decoration: line-through;
    margin-left: 10px;
}

/*.tpo_total-additional-price-label {*/
/*    display: inline-block;*/
/*}*/

/* quantity selector */

.tpo_quantity-selector_wrapper span:hover {
    cursor: pointer;
}

.tpo_quantity-selector_minus,
.tpo_quantity-selector_plus {
    border: none;
    display: inline-flex;
    vertical-align: middle;
    text-align: center;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.tpo_quantity-selector_input {
    position: unset !important;
    visibility: unset !important;
    text-align: center;
    border: none;
    display: inline-block;
    vertical-align: middle;
    background-color: var(--quantitySelector-bg);
    z-index: 1;
}

.tpo_quantity-selector_wrapper {
    gap: 2px;
    display: flex;
    align-items: center;
    border: 1px solid var(--quantitySelector-activeBorder);
    background-color: var(--quantitySelector-bg);
    justify-content: space-between;
    width: 86px;
    margin-left: auto;
    margin-right: auto;
}

.tpo_quantity-selector_wrapper.swatches-not-avaliable input,
.tpo_quantity-selector_wrapper.swatches-not-avaliable span {
    font-weight: unset;
    color: var(--quantitySelector-text);
}

.tpo_quantity-selector_wrapper:not(.swatches-not-avaliable) {
    border: 2px solid var(
            --active-quantitySelector-border,
            var(--quantitySelector-activeBorder)
    ) !important;
}

.tpo_quantity-selector_wrapper.swatches-not-avaliable {
    border: 1px solid var(--quantitySelector-border);
    color: var(--quantitySelector-text);
}

.tpo_quantity_selector_total-wrapper {
    display: flex;
    width: 100%;
    margin-top: 8px;
    color: var(--option-label-color);
}

.tpo_quantity_selector_total-selected {
    color: #cccccc;
}

.tpo-quantity-success {
    color: black;
}

.tpo-quantity-error {
    color: #d82c0d;
}

.tpo-quantity_always-show {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
}

.dropdown_qty_selector .tpo_quantity-selector_wrapper,
.tpo-quantity_always-show .tpo_quantity-selector_wrapper {
    margin-top: 0;
}

.tpo-error_validate {
    border: 1px solid #d82c0d;
}

.tpo_url_wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.tpo_url_value {
    pointer-events: auto;
    color: inherit;
}

.tpo_url_value.tpo_view_more {
    font-size: 13px;
    color: var(--urlViewMore-color);
}

.tpo_modal-background.tpo_edit-option-modal.tpo_cart_drawer_modal {
    width: unset;
}

.tpo_original_price_wrapper {
    margin: 0;
    font-size: var(--price-size);
}

.tpo_radio-button[type='radio'],
.tpo_radio-button[type='checkbox'],
.tpo-checkbox-button[type='checkbox'] {
    position: absolute;
    left: -9999px;
}

.tpo_radio-button[type='radio'] + div,
.tpo_radio-button[type='checkbox'] + div,
.tpo-checkbox-button[type='checkbox'] + div {
    position: relative;
    padding-left: 24px;
    cursor: pointer;
    line-height: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tpo_radio-button[type='radio'] + div:before,
.tpo_radio-button[type='checkbox'] + div:before,
.tpo-checkbox-button[type='checkbox'] + div:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    opacity: 0.5;
    transition: all 0.25s ease;
}

.tpo_radio-button[type='radio'] + div:before {
    border-radius: 50%;
    border: 1px solid var(--radio-border, var(--default-radio-border));
    background-color: var(--radio-background, var(--default-radio-bg));
}

.tpo_radio-button[type='checkbox'] + div:before,
.tpo-checkbox-button[type='checkbox'] + div:before {
    border-radius: 4px;
    border: 1px solid var(--checkbox-border, var(--default-checkbox-border));
    background-color: var(--checkbox-background, var(--default-checkbox-bg));
}

.tpo_radio-button[type='radio']:checked + div:before {
    border-color: var(--active-radio-border, var(--default-radio-activeBorder));
    background-color: var(
            --active-radio-background,
            var(--default-radio-activeBg)
    );
}

.tpo_radio-button[type='checkbox']:checked + div:before,
.tpo-checkbox-button[type='checkbox']:checked + div:before {
    border-color: var(
            --active-checkbox-border,
            var(--default-checkbox-activeBorder)
    );
    background-color: var(
            --active-checkbox-background,
            var(--default-checkbox-activeBg)
    );
    opacity: 1;
}

.tpo_radio-button[type='radio']:checked + div:after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(
            --active-radio-checkMark,
            var(--default-radio-activeMark)
    );
    position: absolute;
    top: 50%;
    left: 3px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.tpo_radio-button[type='checkbox']:checked + div:after,
.tpo-checkbox-button[type='checkbox']:checked + div:after {
    content: '';
    display: block;
    position: absolute;
    left: 5px;
    width: 6px;
    height: 10px;
    border: solid var(--active-checkbox-checkMark, var(--default-checkbox-activeMark));
    border-width: 0 2px 2px 0;
    opacity: 1;
    transform: translateY(-50%) scale(1) rotate(45deg);
    top: calc(50% - 2px);
}

.tpo_radio-button[type='radio']:not(:checked) + div:after,
.tpo_radio-button[type='checkbox']:not(:checked) + div:after,
.tpo-checkbox-button[type='checkbox']:not(:checked) + div:after {
    opacity: 0;
    transform: scale(0);
}

.tpo_radio-button[type='radio'] + div:hover:before,
.tpo_radio-button[type='checkbox'] + div:hover:before,
.tpo-checkbox-button[type='checkbox'] + div:hover:before {
    opacity: 1;
}

.tpo_add_on_product.tpo_disabled_item {
    pointer-events: none;
}

.tpo_disabled_item .tpo_disabled {
    display: none;
    opacity: 0;
    visibility: hidden;
}

.has-scroll::-webkit-scrollbar {
    width: 6px;
    background-color: var(--scroll-bar-background);
    border-radius: 4px;
    height: 6px;
}

.tpo_disabled_item .tpo_open-modal-button.tpo_edit-option-modal {
    display: none !important;
}

.has-scroll::-webkit-scrollbar-thumb {
    background-color: var(--scroll-bar-thumb-background);
    border-radius: 4px;
}

.tpo_button-wrapper_with-image {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tpo_buttons-wrapper .price_position_below .tpo_button_option_value {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 24px;
}

.tpo_buttons-tooltip.tpo_buttons-tooltip_with-image {
    display: flex;
    align-items: flex-start;
    flex-direction: column-reverse;
}

.tpo_switch-image {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tpo_switch-image_image-content {
    width: 44px;
    height: 44px;
}

.tpo-buy-it-now-btn ~ .shopify-payment-button__more-options,
div[class*='product']:has(.tpo_has-option-set)
.shopify-payment-button__more-options {
    pointer-events: none;
}

.dimension-dropdown__error__wrapper {
    max-height: 80vh;
    overflow-y: auto;
    padding-top: 16px;
}

.dimension-dropdown__error__wrapper p:first-child {
    margin-top: 0;
}

@media (max-width: 767px) {
    .tpo_image-swatches-tooltip {
        transform: none;
        left: 0;
    }

    .tpo_option-type-image-swatches-wrapper {
        gap: 10px;
    }
}

@media (min-width: 1024px) {

    a.tpo_image-swatches-wrapper:hover .tpo_image-swatches-tooltip,
    a.tpo_swatches-label_position > label:hover .tpo_image-swatches-tooltip,
    a.tpo_swatches-label_position > article:hover .tpo_image-swatches-tooltip {
        opacity: 1;
        animation-name: imageSwatchesTooltipSlide;
        animation-duration: 400ms;
        overflow: unset;
        padding: 4px;
    }
}

@media (max-width: 1023px) {

    select,
    textarea,
    input,
    select:focus,
    textarea:focus,
    input:focus {
        font-size: 16px;
        -webkit-touch-callout: none;
    }

    .tpo_option-label label,
    .tpo_option-label article {
        font-size: 16px;
    }

    .tpo_option-type-selection {
        font-size: 14px;
    }

    .tpo_option-set-wrapper input[type='checkbox'],
    .tpo_option-set-wrapper input[type='radio'],
    .product_list-option_value > input[type='checkbox'],
    .product_list-option_value > input[type='radio'] {
        transform: scale(1.5);
        transform-origin: center center;
        flex-shrink: 0;
    }

    .tpo_option-label.tpo_dropdown .tpo_option-input {
        padding: 12px 40px 12px 12px;
    }

    .tpo_option-input.tpo_text-box {
        padding: 12px 10px;
    }

    .tpo_option-input.tpo_quantity {
        padding: 10px 8px;
    }
}

.tpo_canvas_builder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.tpo_canvas_builder.tpo_canvas_custom_theme {
    left: unset;
}

.product__media-list:has(.tpo_canvas_builder) {
    position: relative;
}

.product__media-list.slider--mobile:has(.tpo_canvas_builder) {
    position: unset;
}

/* Adaptable to product image layout  */
.product--columns .tpo_canvas_builder {
    right: unset;
}

@media screen and (max-width: 1000px) {
    .tpo_canvas_builder.tpo_canvas_custom_theme {
        left: 0;
    }

    .tpo_canvas_builder.tpo_canvas_custom_theme canvas {
        left: -32px !important;
    }
}

@media (max-width: 767px) {
    .tpo_modal-container {
        max-width: calc(100vw - 30px) !important;
    }

    .tpo_option-type-image-swatches-wrapper {
        gap: 10px;
    }
}

@media screen and (max-width: 700px) {
    .tpo_canvas_builder.tpo_canvas_custom_theme canvas {
        left: -20px !important;
    }
}


/*Custom*/
shopify-accelerated-checkout:has(shopify-paypal-button.tpo-buy-it-now-btn) {
    position: relative;
}

shopify-paypal-button.tpo-buy-it-now-btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    z-index: 999;
}

/* Modern theme customization */
[data-tpo-theme='modern'][data-tpo-mode='light'] .tpo_url_value.tpo_view_more {
    color: var(--price-color, #6e6e6e);
}

[data-tpo-theme='modern'][data-tpo-mode='light']
.tpo_url_value.tpo_view_more:hover {
    color: var(--price-color-hover, #121212);
}

.tpo-input-changeLivePreviewSize-wrapperContainer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 24px;
}

.tpo-input-change-size-title {
    margin: 0;
}

.tpo-input-change-size-title > span {
    color: var(--option-label-color);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}


.tpo-input-changeLivePreviewSize-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--default-button-changeSize-wrapperBorder);
    background-color: var(--default-button-changeSize-wrapper);
    width: fit-content;
    overflow: hidden;
    padding: 4px;
}

.tpo_option-input.tpo-input-change-livePreview-size {
    outline: none;
    border: none;
    box-shadow: none;
    max-width: 60px;
    min-width: 60px;
    text-align: center;
    padding: 0 10px;
    font-size: 16px;
    height: 36px;
    color: var(--option-label-color);
    background-color: transparent;
}

.tpo-input-change-livePreview-size::-webkit-inner-spin-button,
.tpo-input-change-livePreview-size::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.tpo-change-livePreview-size-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    width: 36px;
    height: 36px;
    background-color: var(--default-button-changeSize-bg);
}

.tpo-change-livePreview-size-btn:hover {
    background-color: var(--default-button-changeSize-activeBg);
}

.tpo-change-livePreview-size-btn svg {
    width: 14px;
    height: 14px;
    fill: var(--default-button-changeSize-color);
    pointer-events: none;

}

.tpo-change-livePreview-size-btn[disabled="true"] {
    cursor: not-allowed;
    pointer-events: none;
    opacity: 0.5;
}

.tpo-change-livePreview-size-btn:hover svg {
    fill: var(--default-button-changeSize-activeColor);
}
