.es-wc-text-on-image-text {
    align-items: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: "ArialNarrow-Bold", "Arial Narrow", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    overflow: hidden;
    padding: 1em 0;
    position: absolute;
    text-align: center;
    transform: translate(-50%, -50%);
}

.es-wc-text-on-image-text span {
    display: block;
    transform-origin: center;
    white-space: nowrap;
}

.es_wc_text_on_image_other_products_wrap {
    --es-preview-accent: var(--e-global-color-primary, #0866bd);
    --es-preview-ink: #171717;
    --es-preview-line: #b8bdc3;
    background: #f1f1f1;
    display: grid;
    gap: 12px 20px;
    grid-template-columns: 120px minmax(0, 1fr);
    margin: 0 0 20px;
    padding: 16px 18px;
}

.es_wc_text_on_image_other_products_label {
    align-self: start;
    color: var(--es-preview-ink);
    font-size: 16px;
    line-height: 48px;
}

.es_wc_text_on_image_colour_selector {
    min-width: 0;
    position: relative;
    z-index: 20;
}

.es_wc_text_on_image_colour_current {
    align-items: center;
    background: #fff;
    border: 1px solid #737980;
    box-sizing: border-box;
    color: var(--es-preview-ink);
    cursor: pointer;
    display: flex;
    gap: 10px;
    min-height: 48px;
    overflow: hidden;
    padding: 4px 44px 4px 8px;
    position: relative;
}

.es_wc_text_on_image_colour_current::-webkit-details-marker {
    display: none;
}

.es_wc_text_on_image_colour_current::marker {
    content: "";
}

.es_wc_text_on_image_colour_current::after {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    content: "";
    height: 8px;
    position: absolute;
    right: 17px;
    top: 17px;
    transform: rotate(45deg);
    transition: transform 160ms ease-out;
    width: 8px;
}

.es_wc_text_on_image_colour_current:hover {
    border-color: var(--es-preview-accent);
}

.es_wc_text_on_image_colour_current:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--es-preview-accent) 35%, transparent);
    outline-offset: 2px;
}

.es_wc_text_on_image_colour_selector[open] .es_wc_text_on_image_colour_current {
    border-color: var(--es-preview-accent);
}

.es_wc_text_on_image_colour_selector[open] .es_wc_text_on_image_colour_current::after {
    top: 21px;
    transform: rotate(225deg);
}

.es_wc_text_on_image_other_products {
    background: #fff;
    border: 1px solid var(--es-preview-line);
    box-shadow: 0 4px 8px rgba(13, 27, 48, 0.16);
    box-sizing: border-box;
    left: 0;
    max-height: 360px;
    overflow-y: auto;
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
}

.es_wc_text_on_image_other_product {
    align-items: center;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #d6dade;
    box-sizing: border-box;
    color: var(--es-preview-ink);
    display: flex;
    gap: 10px;
    min-height: 48px;
    padding: 4px 40px 4px 8px;
    position: relative;
    text-decoration: none;
    transition: border-color 160ms ease-out, background-color 160ms ease-out;
}

.es_wc_text_on_image_other_product:hover {
    background: #f8fbff;
    color: var(--es-preview-ink);
}

.es_wc_text_on_image_other_product:last-child {
    border-bottom: 0;
}

.es_wc_text_on_image_other_product:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--es-preview-accent) 35%, transparent);
    outline-offset: 2px;
}

.es_wc_text_on_image_other_product.active {
    background: #eef6ff;
    color: var(--es-preview-ink);
}

.es_wc_text_on_image_other_product.active::after {
    align-items: center;
    background: var(--es-preview-accent);
    border-radius: 50%;
    color: #fff;
    content: "✓";
    display: flex;
    font-size: 12px;
    font-weight: 700;
    height: 20px;
    justify-content: center;
    position: absolute;
    right: 9px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
}

.es_wc_text_on_image_other_product_image {
    align-items: center;
    display: flex;
    flex: 0 0 62px;
    height: 38px;
    justify-content: center;
}

.es_wc_text_on_image_other_product_image img {
    height: 38px;
    object-fit: contain;
    width: 62px;
}

.es_wc_text_on_image_colour_current .es_wc_text_on_image_other_product_image {
    flex-basis: 58px;
    height: 32px;
    overflow: hidden;
}

.es_wc_text_on_image_colour_current .es_wc_text_on_image_other_product_image img {
    display: block !important;
    height: 32px !important;
    margin: 0 !important;
    max-height: 32px !important;
    max-width: 58px !important;
    object-fit: contain;
    width: 58px !important;
}

.es_wc_text_on_image_other_product_name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
}

.es_wc_text_on_image_input_wrapper {
    background: #f1f1f1;
    margin-bottom: 16px;
    padding: 16px 18px;
}

.es_wc_text_on_image_description {
    color: #3f4449;
    line-height: 1.55;
    margin-bottom: 8px;
}

.es_wc_text_on_image_textarea {
    box-sizing: border-box;
    margin: 8px 0 16px;
    min-height: 84px;
    resize: vertical;
    width: 100%;
}

.es_wc_text_on_image_special_character_label {
    display: block;
    margin-bottom: 8px;
}

.es_wc_text_on_image_special_characters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.es_wc_text_on_image_special_character_button {
    align-items: center;
    background: #fff;
    border: 1px solid #737980;
    border-radius: 3px;
    color: #171717;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    height: 44px;
    justify-content: center;
    min-width: 44px;
    padding: 6px 10px;
}

.single-product .es_wc_text_on_image_input_wrapper .es_wc_text_on_image_special_character_button {
    background: #fff !important;
    border: 1px solid #aeb4ba !important;
    border-radius: 3px !important;
    box-shadow: none !important;
    color: #27313a !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    height: 36px !important;
    line-height: 1 !important;
    min-height: 36px !important;
    min-width: 36px !important;
    padding: 4px 8px !important;
}

.es_wc_text_on_image_special_character_button:hover,
.es_wc_text_on_image_special_character_button:focus-visible {
    border-color: var(--e-global-color-primary, #0866bd);
    color: var(--e-global-color-primary, #0866bd);
}

.single-product .es_wc_text_on_image_input_wrapper .es_wc_text_on_image_special_character_button:hover,
.single-product .es_wc_text_on_image_input_wrapper .es_wc_text_on_image_special_character_button:focus-visible {
    background: #f3f7fb !important;
    border-color: var(--e-global-color-primary, #0866bd) !important;
    color: var(--e-global-color-primary, #0866bd) !important;
}

.es_wc_text_on_image_price_before_cart {
    margin: 20px 0 10px;
}

.es_wc_text_on_image_price_before_cart:empty {
    margin: 0;
}

@media (max-width: 600px) {
    .es_wc_text_on_image_other_products_wrap {
        grid-template-columns: 1fr;
    }

    .es_wc_text_on_image_other_products_label {
        line-height: 1.4;
    }
}

@media (prefers-reduced-motion: reduce) {
    .es_wc_text_on_image_other_product {
        transition: none;
    }
}
