:root,
.echotag-builder {
    --echotag-border: #3b4252;
    --echotag-button-bg: #ef4444;
    --echotag-button-text: #fff;
    --echotag-cart-button-bg: #ef4444;
    --echotag-cart-button-text: #fff;
    --echotag-close-bg: #181b22;
    --echotag-close-text: #fff;
    --echotag-close-border: #3b4252;
    --echotag-disabled-button-bg: #242832;
    --echotag-disabled-button-text: #7b8190;
    --echotag-form-bg: #050608;
    --echotag-form-text: #e5e7eb;
    --echotag-title-text: #fff;
    --echotag-muted: #9ca3af;
    --echotag-field-bg: #111318;
    --echotag-field-text: #f8fafc;
    --echotag-selected-bg: #2a1013;
    --echotag-selected-text: #fff;
    --echotag-selected-border: #ef4444;
    --echotag-accent: #ef4444;
    --echotag-cart-link: #ef4444;
    --echotag-cart-text: #111827;
    --echotag-ink: var(--echotag-form-text);
}

.echotag-builder {
    color: var(--echotag-ink);
    font-family: inherit;
}

.echotag-examples {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 18px 0;
    overflow-anchor: none;
    width: 100%;
}

.echotag-examples-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.echotag-examples-button {
    align-items: center;
    background: var(--echotag-button-bg);
    border-radius: 8px;
    color: var(--echotag-button-text);
    cursor: pointer;
    display: inline-flex;
    font-weight: 800;
    min-height: 44px;
    padding: 0 18px;
    position: relative;
    width: fit-content;
    z-index: 2;
}


.echotag-examples-button i {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    flex: 0 0 8px;
    height: 8px;
    margin-left: 10px;
    transform: rotate(45deg) translateY(-2px);
    transform-origin: center;
    transition: transform 160ms ease;
    width: 8px;
}

.echotag-examples-toggle:checked + .echotag-examples-button i {
    transform: rotate(-135deg) translateY(-1px);
}

.echotag-examples-grid {
    align-items: flex-start;
    align-self: stretch;
    display: none;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}

.echotag-examples-toggle:checked + .echotag-examples-button + .echotag-examples-grid {
    display: flex;
}


.echotag-examples-grid a {
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 108px;
    min-width: 108px;
    justify-content: center;
    overflow: hidden;
    text-decoration: none;
}

.echotag-examples-grid img {
    border-radius: 10px;
    display: block;
    height: 108px;
    max-width: none;
    object-fit: contain;
    width: auto;
}

.echotag-examples-lightbox {
    align-items: center;
    background: #000;
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 2147483647;
}

.echotag-examples-lightbox.is-open {
    display: flex;
}

.echotag-examples-lightbox img {
    border-radius: 12px;
    display: block;
    max-height: 92vh;
    max-width: 92vw;
    object-fit: contain;
}

.echotag-examples-lightbox button {
    align-items: center;
    appearance: none;
    background: var(--echotag-close-bg);
    border: 1px solid var(--echotag-close-border);
    border-radius: 999px;
    color: var(--echotag-close-text);
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 28px;
    font-weight: 400;
    height: 44px;
    justify-content: center;
    line-height: 44px;
    padding: 0;
    text-align: center;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 44px;
}

@media (max-width: 480px) {
    
.echotag-examples-button i {
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    flex: 0 0 8px;
    height: 8px;
    margin-left: 10px;
    transform: rotate(45deg) translateY(-2px);
    transform-origin: center;
    transition: transform 160ms ease;
    width: 8px;
}

.echotag-examples-toggle:checked + .echotag-examples-button i {
    transform: rotate(-135deg) translateY(-1px);
}

.echotag-examples-grid {
        gap: 6px;
    }

    .echotag-examples-grid a,
    .echotag-examples-grid img {
        height: 68px;
    }
}

html.echotag-modal-open,
body.echotag-modal-open,
html.echotag-image-lightbox-open,
body.echotag-image-lightbox-open {
    overflow: hidden !important;
}

body.echotag-image-lightbox-open #wpadminbar,
body.echotag-image-lightbox-open .admin-bar,
body.echotag-image-lightbox-open .woocommerce-store-notice,
body.echotag-image-lightbox-open .elementor-location-header,
body.echotag-image-lightbox-open header,
body.echotag-image-lightbox-open nav {
    visibility: hidden !important;
}

.echotag-start {
    display: flex;
    justify-content: flex-start;
    padding: 18px 0;
}

.echotag-start-button,
.echotag-submit {
    appearance: none;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(239, 68, 68, 0.2);
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 24px;
}

.echotag-start-button {
    background: var(--echotag-button-bg);
    color: var(--echotag-button-text);
}

.echotag-submit {
    background: var(--echotag-cart-button-bg);
    color: var(--echotag-cart-button-text);
}

.echotag-start-button:disabled,
.echotag-start-button[aria-disabled="true"],
.echotag-submit:disabled,
.echotag-submit[aria-disabled="true"] {
    background: var(--echotag-disabled-button-bg);
    box-shadow: none;
    color: var(--echotag-disabled-button-text);
    cursor: not-allowed;
    opacity: 1;
}

.echotag-start-button:disabled,
.echotag-start-button[aria-disabled="true"] {
    box-shadow: none;
    filter: grayscale(1);
}

.echotag-app {
    align-items: start;
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(320px, 460px) minmax(320px, 1fr);
    justify-content: center;
    max-height: calc(100vh - 104px);
    min-width: 0;
}

.echotag-modal[hidden] {
    display: none;
}

.echotag-conditional[hidden],
[data-qr-field][hidden] {
    display: none !important;
}

.echotag-modal {
    align-items: flex-start;
    background: rgba(0, 0, 0, 0.78);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    overflow: auto;
    padding: 28px;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
}

.echotag-modal-dialog {
    background: linear-gradient(180deg, #0c0e13 0%, var(--echotag-form-bg) 100%);
    border: 2px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-sizing: border-box;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(239, 68, 68, 0.18);
    height: auto;
    max-height: calc(100vh - 56px);
    max-width: 1180px;
    overflow: hidden;
    padding: 24px;
    position: relative;
    width: min(1180px, 96vw);
    min-width: 0;
}

.echotag-modal-close {
    background: var(--echotag-close-bg);
    border: 2px solid var(--echotag-close-border);
    border-radius: 50%;
    color: var(--echotag-close-text);
    cursor: pointer;
    display: grid;
    font-size: 0;
    height: 38px;
    line-height: 1;
    padding: 0;
    place-items: center;
    position: absolute;
    right: 18px;
    top: 18px;
    width: 38px;
    z-index: 2;
}

.echotag-modal-close:hover {
    background: var(--echotag-accent);
}

.echotag-modal-close::before {
    content: "×";
    font-size: 26px;
    line-height: 1;
}

.echotag-close-confirm[hidden] {
    display: none;
}

.echotag-close-confirm {
    align-items: center;
    background: rgba(0, 0, 0, 0.72);
    bottom: 0;
    display: flex;
    justify-content: center;
    left: 0;
    padding: 18px;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 30;
}

.echotag-close-confirm-card {
    background: #101217;
    border: 2px solid var(--echotag-border);
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
    color: #f8fafc;
    display: grid;
    gap: 14px;
    max-width: 460px;
    padding: 22px;
    width: min(100%, 460px);
}

.echotag-close-confirm-card h3 {
    color: #fff !important;
    font-size: 22px;
    line-height: 1.2;
    margin: 0;
}

.echotag-close-confirm-card p {
    color: #cbd5e1 !important;
    font-size: 15px;
    line-height: 1.45;
    margin: 0;
}

.echotag-close-confirm-card div {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.echotag-close-confirm-card button {
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 800;
    min-height: 42px;
    padding: 10px 14px;
}

.echotag-close-confirm-cancel {
    background: #242832 !important;
    border: 1px solid #3b4252 !important;
    color: #fff !important;
}

.echotag-close-confirm-accept {
    background: var(--echotag-accent) !important;
    color: #fff !important;
}

.echotag-form,
.echotag-preview-panel {
    background: var(--echotag-form-bg);
    border: 2px solid var(--echotag-border);
    border-radius: 8px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 0 0 1px rgba(255, 255, 255, 0.03);
    padding: 20px;
}

.echotag-form {
    max-height: calc(100vh - 124px);
    overflow-x: hidden;
    overflow-y: auto;
    width: 100%;
    min-width: 0;
}

.echotag-form,
.echotag-form * {
    box-sizing: border-box;
}

.echotag-modal .echotag-form,
.echotag-modal .echotag-preview-panel,
.echotag-modal .echotag-question,
.echotag-modal .echotag-field,
.echotag-modal .echotag-quantity-field,
.echotag-modal label,
.echotag-modal legend,
.echotag-modal h2,
.echotag-modal h3,
.echotag-modal span {
    color: #f8fafc !important;
}

.echotag-modal p,
.echotag-modal small,
.echotag-modal .echotag-price-summary span {
    color: #aeb6c7 !important;
}

.echotag-modal .echotag-question legend span,
.echotag-modal .echotag-fixed-form .echotag-field em,
.echotag-modal .echotag-upload-label span {
    color: #ef4444 !important;
}

.echotag-modal .echotag-preview-text,
.echotag-modal .echotag-preview-text span {
    color: inherit;
}

.echotag-modal input,
.echotag-modal select,
.echotag-modal textarea {
    background: var(--echotag-field-bg) !important;
    border-color: var(--echotag-border) !important;
    color: #f8fafc !important;
}

.echotag-form::-webkit-scrollbar {
    width: 12px;
}

.echotag-form::-webkit-scrollbar-track {
    background: #0b0d12;
    border-left: 1px solid var(--echotag-border);
}

.echotag-form::-webkit-scrollbar-thumb {
    background: #5b6475;
    border: 3px solid #0b0d12;
    border-radius: 999px;
}

.echotag-preview-panel {
    position: sticky;
    top: 0;
    max-height: calc(100vh - 124px);
    overflow: hidden;
}

.echotag-fixed-form {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.echotag-question {
    border: 0;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.echotag-question legend,
.echotag-upload-label,
.echotag-fixed-form .echotag-field > span,
.echotag-qr-setup h3 {
    color: var(--echotag-title-text);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 6px;
}

.echotag-question legend span,
.echotag-fixed-form .echotag-field em,
.echotag-upload-label span {
    background: transparent;
    color: var(--echotag-accent);
    font-style: normal;
    padding: 0;
}

.echotag-pill-option {
    align-items: center;
    background: var(--echotag-field-bg);
    border: 2px solid var(--echotag-border);
    border-radius: 999px;
    box-shadow: none;
    color: var(--echotag-field-text);
    display: inline-flex;
    font-size: 16px;
    gap: 9px;
    min-height: 38px;
    padding: 0 14px;
    width: fit-content;
}

.echotag-pill-option:hover,
.echotag-option-card:hover,
.echotag-choice-group label:hover,
.echotag-consent:hover {
    border-color: rgba(239, 68, 68, 0.72);
}

.echotag-question .echotag-pill-option {
    width: 100%;
}

.echotag-wide-question .echotag-pill-option,
.echotag-qr-setup .echotag-pill-option {
    width: min(100%, 600px);
}

.echotag-pill-option:has(input:checked) {
    background: var(--echotag-selected-bg);
    border-color: var(--echotag-selected-border);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.16);
    color: var(--echotag-selected-text);
}

.echotag-pill-option input {
    display: none;
}

.echotag-pill-option i {
    background: var(--echotag-field-bg);
    border: 2px solid var(--echotag-muted);
    border-radius: 50%;
    box-sizing: border-box;
    display: block;
    flex: 0 0 18px;
    height: 18px;
    position: relative;
    width: 18px;
}

.echotag-pill-option:has(input:checked) i {
    background: var(--echotag-field-bg);
    border-color: var(--echotag-selected-border);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.16);
}

.echotag-pill-option i::after {
    background: var(--echotag-accent);
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
}

.echotag-pill-option:has(input:checked) i::after {
    opacity: 1;
}

.echotag-upload-drop {
    align-items: center;
    border: 2px dashed var(--echotag-border);
    border-radius: 8px;
    cursor: pointer;
    display: grid;
    gap: 22px;
    justify-items: center;
    background: var(--echotag-field-bg);
    min-height: 112px;
    min-width: 0;
    padding: 20px;
    width: 100%;
}

.echotag-upload-drop:hover {
    border-color: var(--echotag-selected-border);
    background: var(--echotag-selected-bg);
}

.echotag-upload-library {
    display: grid;
    gap: 8px;
    min-width: 0;
    width: 100%;
}

.echotag-upload-card {
    align-items: center;
    background: var(--echotag-field-bg);
    border: 1px solid var(--echotag-border);
    border-radius: 8px;
    color: var(--echotag-field-text);
    display: flex;
    justify-content: space-between;
    gap: 10px;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding: 10px 12px;
    width: 100%;
}

.echotag-upload-card img {
    background: #fff;
    border-radius: 8px;
    height: 52px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    flex: 0 0 52px;
    width: 52px;
}

.echotag-upload-card em {
    align-items: center;
    background: var(--echotag-selected-bg);
    border-radius: 8px;
    display: inline-flex;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    flex: 0 0 52px;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.echotag-upload-card span {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.echotag-upload-progress {
    align-items: center;
    background: var(--echotag-field-bg);
    border-radius: 999px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    min-height: 28px;
    min-width: 0;
    overflow: hidden;
    padding: 4px 10px 4px 4px;
    width: 100%;
}

.echotag-upload-progress[hidden] {
    display: none;
}

.echotag-upload-progress span {
    background: var(--echotag-accent);
    border-radius: 999px;
    display: block;
    height: 20px;
    width: 0;
}

.echotag-upload-progress strong {
    color: var(--echotag-field-text);
    font-size: 12px;
}

.echotag-upload-card button {
    background: var(--echotag-close-bg);
    border: 0;
    border-radius: 50%;
    color: var(--echotag-close-text);
    cursor: pointer;
    display: grid;
    flex: 0 0 28px;
    font-size: 0;
    height: 28px;
    line-height: 1;
    min-height: 28px;
    min-width: 28px;
    padding: 0;
    place-items: center;
    width: 28px;
}

.echotag-upload-card button::before {
    content: "×";
    font-size: 18px;
    line-height: 1;
}

.echotag-upload-drop input {
    display: none;
}

.echotag-upload-drop span {
    color: var(--echotag-field-text);
    font-size: 16px;
    font-weight: 900;
}

.echotag-upload-drop small,
.echotag-fixed-form .echotag-field small {
    color: var(--echotag-muted);
    font-size: 16px;
}

.echotag-fixed-form .echotag-field input,
.echotag-fixed-form .echotag-field select,
.echotag-fixed-form .echotag-field textarea {
    background: var(--echotag-field-bg);
    border-color: var(--echotag-border);
    border-radius: 9px;
    color: var(--echotag-field-text);
    font-size: 16px;
    width: 100%;
}

.echotag-fixed-form .echotag-field input:focus,
.echotag-fixed-form .echotag-field select:focus,
.echotag-fixed-form .echotag-field textarea:focus,
.echotag-field input:focus,
.echotag-field textarea:focus,
.echotag-field select:focus {
    border-color: var(--echotag-accent);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.14);
    outline: none;
}

.echotag-fixed-form .echotag-field input,
.echotag-fixed-form .echotag-field select {
    max-width: 100%;
}

.echotag-text-tools {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.echotag-text-tools .echotag-font-field {
    margin: 0;
}

.echotag-text-style-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.echotag-text-style-button {
    cursor: pointer;
    display: inline-flex;
    overflow: hidden;
    position: relative;
}

.echotag-text-style-button input {
    height: 100%;
    inset: 0;
    margin: 0;
    position: absolute;
    width: 100%;
    opacity: 0;
    z-index: 2;
}

.echotag-text-style-button span {
    align-items: center;
    background: var(--echotag-field-bg);
    border: 2px solid var(--echotag-border);
    border-radius: 8px;
    color: var(--echotag-field-text);
    display: inline-flex;
    font-size: 16px;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    line-height: 1;
    min-width: 46px;
    padding: 0 14px;
}

.echotag-text-style-button:nth-child(2) span {
    font-style: italic;
}

.echotag-text-style-button:nth-child(3) span {
    text-decoration: underline;
}

.echotag-text-style-button input:checked + span {
    background: var(--echotag-selected-bg);
    border-color: var(--echotag-selected-border);
    color: var(--echotag-selected-text);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.16);
}

.echotag-quantity-select-field {
    margin-bottom: 4px;
    order: -100;
}

.echotag-fixed-form .echotag-field textarea {
    min-height: 120px;
}

.echotag-qr-setup {
    background: transparent;
    border: 0;
    border-radius: 0;
    display: grid;
    gap: 16px;
    padding: 0;
}

.echotag-form h2,
.echotag-preview-panel h2 {
    color: var(--echotag-title-text);
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 18px;
}

.echotag-form fieldset {
    border: 0;
    margin: 0 0 18px;
    padding: 0;
}

.echotag-form legend {
    color: var(--echotag-title-text);
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 6px;
}

.echotag-form p {
    color: var(--echotag-muted);
    margin: 0 0 12px;
}

.echotag-options-list {
    display: grid;
    gap: 10px;
}

.echotag-option-card {
    align-items: center;
    background: var(--echotag-field-bg);
    border: 2px solid var(--echotag-border);
    border-radius: 8px;
    color: var(--echotag-field-text);
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: auto 34px 1fr;
    min-height: 52px;
    padding: 10px;
}

.echotag-option-card:has(input:checked) {
    background: var(--echotag-selected-bg);
    border-color: var(--echotag-selected-border);
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.16);
    color: var(--echotag-selected-text);
}

.echotag-option-code {
    align-items: center;
    background: var(--echotag-selected-bg);
    border-radius: 999px;
    display: inline-flex;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.echotag-dynamic-fields {
    display: grid;
    gap: 14px;
}

.echotag-live-layout {
    display: grid;
    gap: 18px;
    height: auto;
    position: static;
}

.echotag-layout-item {
    min-height: auto !important;
    position: static;
    width: 100% !important;
}

.echotag-layout-heading h3 {
    color: var(--echotag-title-text);
    font-size: 22px;
    line-height: 1.2;
    margin: 0;
}

.echotag-layout-text p {
    color: var(--echotag-muted);
    margin: 0;
}

.echotag-layout-submit .echotag-submit {
    margin: 0;
}

.echotag-field {
    color: var(--echotag-title-text);
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.echotag-field input,
.echotag-field textarea,
.echotag-field select {
    background: var(--echotag-field-bg);
    border: 2px solid var(--echotag-border);
    border-radius: 8px;
    color: var(--echotag-field-text);
    font: inherit;
    padding: 11px 12px;
    width: 100%;
}

.echotag-field textarea {
    min-height: 92px;
    resize: vertical;
}

.echotag-choice-group,
.echotag-consent {
    display: grid;
    gap: 8px;
    font-weight: 500;
}

.echotag-choice-group label,
.echotag-consent {
    align-items: center;
    background: var(--echotag-field-bg);
    border: 2px solid var(--echotag-border);
    border-radius: 8px;
    color: var(--echotag-field-text);
    display: flex;
    gap: 10px;
    padding: 10px 12px;
}

.echotag-choice-group label:has(input:checked),
.echotag-consent:has(input:checked) {
    background: var(--echotag-selected-bg);
    border-color: var(--echotag-selected-border);
    color: var(--echotag-selected-text);
}

.echotag-choice-group input,
.echotag-consent input {
    width: auto;
}

.echotag-section {
    border-bottom: 1px solid var(--echotag-border);
    padding-bottom: 12px;
}

.echotag-section h3 {
    color: var(--echotag-title-text);
    font-size: 18px;
    margin: 0 0 6px;
}

.echotag-section p,
.echotag-html-block p {
    color: var(--echotag-muted);
    margin: 0;
}

.echotag-pagebreak {
    align-items: center;
    color: var(--echotag-muted);
    display: flex;
    gap: 12px;
    font-weight: 800;
}

.echotag-pagebreak::before,
.echotag-pagebreak::after {
    background: var(--echotag-border);
    content: "";
    flex: 1;
    height: 1px;
}

.echotag-payment-placeholder {
    background: var(--echotag-field-bg);
    border: 1px dashed var(--echotag-border);
    border-radius: 8px;
    display: grid;
    gap: 4px;
    padding: 14px;
}

.echotag-payment-placeholder span {
    color: var(--echotag-muted);
}

.echotag-submit-row {
    align-items: end;
    display: grid;
    gap: 12px;
    grid-template-columns: minmax(180px, 1fr) minmax(180px, 1fr);
    margin-top: 18px;
    min-width: 0;
    width: 100%;
}

.echotag-layout-submit .echotag-submit-row {
    margin-top: 0;
}

.echotag-quantity-field {
    display: grid;
    gap: 6px;
}

.echotag-quantity-field > span:first-child {
    color: var(--echotag-title-text);
    font-size: 13px;
    font-weight: 800;
}

.echotag-quantity-stepper {
    align-items: stretch;
    border: 2px solid var(--echotag-border);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 38px minmax(34px, 1fr) 38px;
    height: 52px;
    min-width: 0;
    overflow: hidden;
    width: 100%;
}

.echotag-quantity-field input {
    appearance: textfield;
    background: var(--echotag-field-bg);
    border: 1px solid var(--echotag-border);
    border-bottom: 0;
    border-radius: 0;
    border-top: 0;
    color: var(--echotag-field-text);
    font: inherit;
    font-weight: 800;
    height: 100%;
    min-width: 0;
    padding: 0 6px;
    text-align: center;
    width: 100%;
}

.echotag-quantity-field input::-webkit-outer-spin-button,
.echotag-quantity-field input::-webkit-inner-spin-button {
    appearance: none;
    margin: 0;
}

.echotag-quantity-button {
    align-items: center;
    appearance: none;
    background: var(--echotag-field-bg);
    border: 0;
    color: var(--echotag-field-text);
    cursor: pointer;
    display: flex;
    font-size: 20px;
    font-weight: 900;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.echotag-quantity-button:hover {
    background: var(--echotag-selected-bg);
    color: var(--echotag-selected-text);
}

.echotag-submit-row .echotag-submit {
    margin-top: 0;
    min-height: 52px;
    width: 100%;
}

.echotag-price-summary {
    align-content: center;
    background: var(--echotag-field-bg);
    border: 2px solid var(--echotag-border);
    border-radius: 8px;
    color: var(--echotag-field-text);
    display: grid;
    gap: 2px;
    min-height: 52px;
    padding: 8px 12px;
}

.echotag-price-summary strong {
    color: var(--echotag-field-text);
    font-size: 15px;
}

.echotag-price-summary span {
    color: var(--echotag-muted);
    font-size: 13px;
}

.echotag-preview-stage {
    align-items: center;
    background: #f8fafc;
    border: 3px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: inset 0 0 0 1px #ffffff, 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: center;
    min-height: 560px;
    overflow: hidden;
    padding: 28px;
    position: relative;
    user-select: none;
    -webkit-user-select: none;
}

.echotag-preview-stage.is-busy > :not(.echotag-preview-loading) {
    filter: blur(3px);
    opacity: 0.58;
    transition: filter 160ms ease, opacity 160ms ease;
}

.echotag-preview-stage.is-exporting > :not(.echotag-preview-loading) {
    filter: none !important;
    opacity: 1 !important;
}

.echotag-preview-loading {
    align-items: center;
    background: rgba(17, 19, 24, 0.92);
    border: 1px solid rgba(148, 163, 184, 0.35);
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.18);
    color: var(--echotag-field-text);
    display: grid;
    gap: 8px;
    left: 50%;
    min-width: min(280px, 82%);
    padding: 18px 20px;
    place-items: center;
    pointer-events: none;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 100000;
}

.echotag-preview-loading[aria-hidden="true"],
.echotag-preview-stage.is-exporting .echotag-preview-loading {
    display: none;
}

.echotag-preview-loading span {
    animation: echotag-spin 800ms linear infinite;
    border: 3px solid var(--echotag-selected-bg);
    border-top-color: var(--echotag-accent);
    border-radius: 50%;
    display: block;
    height: 34px;
    width: 34px;
}

.echotag-preview-loading strong {
    font-size: 16px;
    line-height: 1.25;
}

.echotag-preview-loading small {
    color: var(--echotag-muted);
    font-size: 13px;
}

.echotag-builder.is-submitting .echotag-fixed-form > :not(.echotag-message) {
    opacity: 0.46;
    filter: grayscale(.55);
    pointer-events: none;
}

.echotag-builder.is-redirecting-to-cart .echotag-fixed-form > :not(.echotag-message),
.echotag-builder.is-redirecting-to-cart .echotag-preview-stage > :not(.echotag-preview-loading) {
    opacity: 1 !important;
    filter: none !important;
}

.echotag-builder.is-submitting .echotag-message {
    opacity: 1;
    filter: none;
    color: #4ade80;
    pointer-events: auto;
}

.echotag-builder.is-submitting [data-echotag-close] {
    cursor: wait;
    opacity: 0.75;
}

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

.echotag-product {
    --echotag-product-color: transparent;
    align-items: center;
    background: transparent;
    border-radius: 14px;
    box-shadow: none;
    display: flex;
    justify-content: center;
    max-width: 100%;
    min-width: 240px;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.echotag-product img {
    -webkit-user-drag: none;
    border-radius: 14px;
    clip-path: inset(0 round 14px);
    display: block;
    height: auto;
    max-height: 440px;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    width: 100%;
}

.echotag-product-placeholder {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    max-width: 90%;
    text-align: center;
}

.echotag-design-item {
    border: 1px solid transparent;
    box-sizing: border-box;
    cursor: grab;
    position: absolute;
    touch-action: none;
    transform: translate(-50%, -50%) rotate(var(--echotag-rotation, 0deg));
    user-select: none;
    z-index: 3;
}

.echotag-preview-canvas {
    inset: 0;
    height: 100%;
    pointer-events: none;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.echotag-preview-stage.has-canvas-preview .echotag-product img,
.echotag-preview-stage.has-canvas-preview .echotag-image-item img,
.echotag-preview-stage.has-canvas-preview .echotag-qr-preview svg,
.echotag-preview-stage.has-canvas-preview [data-echotag-text-content],
.echotag-preview-stage.has-canvas-preview [data-echotag-dog-name-content],
.echotag-preview-stage.has-canvas-preview [data-echotag-dog-phone-content] {
    opacity: 0 !important;
}

.echotag-preview-stage.has-canvas-preview .echotag-design-item {
    z-index: 3;
}

.echotag-preview-stage.has-canvas-preview .echotag-design-item.is-selected {
    z-index: 5;
}

.echotag-preview-stage.has-canvas-preview .echotag-qr-preview {
    background: transparent !important;
}

.echotag-design-item.is-selected {
    border-color: transparent;
}

.echotag-design-item.is-selected::after {
    border: 2px solid var(--echotag-selected-border);
    border-radius: 3px;
    box-sizing: border-box;
    content: "";
    inset: -3px;
    pointer-events: none;
    position: absolute;
    z-index: 3;
}

.echotag-preview-stage.is-exporting .echotag-design-item {
    border-color: transparent !important;
}

.echotag-preview-stage.is-exporting .echotag-design-item::after {
    display: none !important;
}

.echotag-design-item[hidden] {
    display: none;
}

.echotag-preview-text {
    align-items: center;
    color: #111;
    display: flex;
    font-size: 24px;
    font-weight: 400;
    justify-content: center;
    max-width: none;
    overflow: visible;
    padding: 0 8px;
    text-align: center;
    text-shadow: none;
    word-break: normal;
}

.echotag-preview-text span[data-echotag-text-content] {
    display: block;
    line-height: 1.16;
    max-width: 100%;
    overflow: visible;
    padding: 0;
    white-space: nowrap;
    width: 100%;
}

.echotag-image-item {
    background: transparent;
    line-height: 0;
}

.echotag-image-item img {
    border-radius: 2px;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    width: 100%;
}

.echotag-qr-preview {
    background: #fff;
    display: grid;
    overflow: visible;
    place-items: center;
}

.echotag-qr-preview svg {
    height: 100%;
    width: 100%;
}

.echotag-handle {
    background: var(--echotag-accent);
    border: 2px solid #fff;
    border-radius: 50%;
    box-sizing: border-box;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.25);
    display: none;
    height: 16px;
    position: absolute;
    width: 16px;
    z-index: 4;
}

.echotag-design-item.is-selected .echotag-handle {
    display: block;
}

.echotag-rotate-control {
    background: var(--echotag-accent);
    border: 2px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    cursor: grab;
    display: none;
    height: 16px;
    left: 50%;
    pointer-events: auto;
    position: absolute;
    top: -38px;
    transform: translateX(-50%);
    width: 16px;
    z-index: 6;
}

.echotag-rotate-control::before {
    background: var(--echotag-selected-border);
    content: "";
    height: 22px;
    left: 50%;
    pointer-events: none;
    position: absolute;
    top: 14px;
    transform: translateX(-50%);
    width: 2px;
}

.echotag-design-item.is-selected .echotag-rotate-control {
    display: block;
}

.echotag-preview-stage.is-exporting .echotag-handle,
.echotag-preview-stage.is-exporting .echotag-rotate-control {
    display: none !important;
}

.echotag-handle.nw { left: -9px; top: -9px; cursor: nwse-resize; }
.echotag-handle.ne { right: -9px; top: -9px; cursor: nesw-resize; }
.echotag-handle.sw { bottom: -9px; left: -9px; cursor: nesw-resize; }
.echotag-handle.se { bottom: -9px; right: -9px; cursor: nwse-resize; }

.echotag-qr-link,
.echotag-qr-file {
    margin: -4px 0 10px 30px;
}

.echotag-preview-tools {
    display: none;
    gap: 12px;
    grid-template-columns: 1fr auto;
    margin-top: 16px;
}

.echotag-preview-tools label {
    display: grid;
    gap: 6px;
    font-weight: 700;
}

.echotag-message {
    position: static;
    order: 9999;
    z-index: 10050;
    color: #4ade80;
    font-weight: 700;
    margin: 16px 0 0;
    min-height: 24px;
    background: rgba(11, 18, 32, .92);
    border-radius: 12px;
    padding: 8px 10px;
    box-shadow: 0 8px 22px rgba(0,0,0,.18);
}

.echotag-message:empty {
    min-height: 0;
    margin: 0;
    padding: 0;
    box-shadow: none;
    background: transparent;
}

.echotag-message.is-warning {
    color: #fbbf24;
}

.echotag-message.is-validation-bottom {
    position: static;
    top: auto;
    order: 9999;
    margin-top: 16px;
    color: #fbbf24;
}

.echotag-message.is-error-front {
    position: sticky;
    top: 8px;
    z-index: 2147483000;
    color: #fff;
    background: rgba(185, 28, 28, .96);
    border: 1px solid rgba(255,255,255,.25);
    box-shadow: 0 14px 32px rgba(0,0,0,.38);
}

.echotag-cart-meta {
    color: inherit;
    display: block;
    line-height: 1.45;
    max-width: 680px;
}

.echotag-cart-line {
    display: block;
}

.echotag-cart-line-text {
    color: inherit;
}

.echotag-cart-toggle-link {
    color: var(--echotag-cart-link);
    font-size: 12px;
    font-weight: 700;
    margin-left: 6px;
    text-decoration: underline;
    white-space: nowrap;
}

.echotag-cart-extra {
    display: none;
    margin-top: 0;
}

.echotag-cart-meta.is-open .echotag-cart-extra {
    display: block;
}

html.echotag-cart-details-open,
body.echotag-cart-details-open {
    overflow: hidden !important;
}

body.echotag-cart-details-open::before {
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, .58);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 99998;
}

.echotag-cart-meta.is-open::before {
    backdrop-filter: blur(6px);
    background: rgba(0, 0, 0, .58);
    content: "";
    inset: 0;
    position: fixed;
    z-index: 99998;
}

.woocommerce-cart .echotag-cart-meta.is-open .echotag-cart-extra,
.echotag-cart-extra.is-cart-details-modal {
    background: linear-gradient(180deg, #272727 0%, #191919 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(244, 59, 65, .08);
    color: #fff;
    left: 50%;
    max-height: min(70vh, 520px);
    max-width: min(92vw, 460px);
    overflow: auto;
    padding: 20px;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 460px;
    z-index: 99999;
}

.echotag-cart-extra.is-cart-details-modal {
    display: block !important;
    position: fixed !important;
    top: 50vh !important;
}

.echotag-cart-extra-head {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    display: flex !important;
    justify-content: space-between;
    margin: 0 0 10px;
    padding: 0 0 12px;
    width: 100%;
}

.echotag-cart-extra-head > span {
    color: #fff;
    font-size: 18px;
    font-weight: 900;
}

.echotag-cart-extra-close {
    align-items: center;
    background: rgba(244, 59, 65, .16);
    border: 1px solid rgba(244, 59, 65, .45);
    border-radius: 999px;
    color: #fff !important;
    display: inline-flex !important;
    font-size: 22px !important;
    height: 34px;
    justify-content: center;
    line-height: 1 !important;
    margin: 0 !important;
    text-decoration: none !important;
    width: 34px !important;
}

.echotag-cart-meta.is-open .echotag-cart-more {
    display: none;
}

.echotag-cart-row {
    border-top: 1px solid rgba(255, 255, 255, .08);
    display: block;
    color: rgba(255, 255, 255, .88);
    padding: 9px 0;
}

.echotag-cart-side-title {
    display: block;
    margin: 12px 0 6px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(255, 59, 47, .14);
    color: #fff;
    font-weight: 900;
}

.echotag-cart-row:first-child {
    margin-top: 4px;
}

.echotag-cart-less {
    background: var(--echotag-cart-button-bg);
    border-radius: 6px;
    color: var(--echotag-cart-button-text);
    display: inline-block;
    font-weight: 800;
    margin: 14px 0 0;
    padding: 9px 14px;
    text-decoration: none;
    text-align: center;
    width: 100%;
}

.woocommerce-order .wc-item-meta .echotag-cart-meta,
.woocommerce-order .wc-item-meta .echotag-cart-meta *,
.woocommerce-order-received .wc-item-meta .echotag-cart-meta,
.woocommerce-order-received .wc-item-meta .echotag-cart-meta *,
.codyx-thankyou-meta .echotag-cart-meta,
.codyx-thankyou-meta .echotag-cart-meta * {
    box-sizing: border-box;
}

.woocommerce-order .wc-item-meta li:has(.echotag-cart-meta),
.woocommerce-order-received .wc-item-meta li:has(.echotag-cart-meta),
.codyx-thankyou-meta li:has(.echotag-cart-meta) {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-order .wc-item-meta li:has(.echotag-cart-meta) > .wc-item-meta-label,
.woocommerce-order-received .wc-item-meta li:has(.echotag-cart-meta) > .wc-item-meta-label,
.codyx-thankyou-meta li:has(.echotag-cart-meta) > .wc-item-meta-label,
.codyx-thankyou-meta > .wc-item-meta-label,
.codyx-thankyou-meta .wc-item-meta-label:has(+ .echotag-cart-meta) {
    display: none !important;
}

.woocommerce-order .echotag-cart-meta,
.woocommerce-order-received .echotag-cart-meta,
.codyx-thankyou-meta .echotag-cart-meta {
    color: inherit !important;
    display: block !important;
    margin-top: 6px !important;
}

.codyx-thankyou-meta > br:first-child {
    display: none !important;
}

.woocommerce-order .echotag-cart-meta .echotag-cart-extra,
.woocommerce-order-received .echotag-cart-meta .echotag-cart-extra,
.codyx-thankyou-meta .echotag-cart-meta .echotag-cart-extra {
    display: none !important;
}

.echotag-cart-qty-control {
    align-items: center;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 260px;
}

.echotag-cart-production-qty {
    align-items: center;
    display: inline-flex;
    gap: 6px;
    white-space: nowrap;
}

.echotag-cart-production-qty span {
    color: var(--echotag-muted);
    font-size: 12px;
    font-weight: 700;
}

.echotag-cart-production-qty strong {
    color: var(--echotag-cart-text);
    font-size: 15px;
}

.echotag-cart-qty-change,
.echotag-cart-qty-save {
    background: var(--echotag-cart-button-bg) !important;
    border-radius: 6px !important;
    color: var(--echotag-cart-button-text) !important;
    line-height: 1.2 !important;
    min-height: 30px !important;
    padding: 6px 10px !important;
}

.echotag-cart-qty-editor[hidden] {
    display: none !important;
}

.echotag-cart-qty-editor {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.echotag-cart-qty-editor select {
    appearance: auto;
    background: #242424;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 6px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    min-height: 36px;
    min-width: 150px;
    padding: 5px 8px;
}

.echotag-cart-qty-editor select:focus {
    border-color: var(--echotag-cart-button-bg);
    box-shadow: 0 0 0 3px rgba(244, 59, 65, .18);
    outline: none;
}

.echotag-cart-qty-editor select option {
    background: #202020;
    color: #fff;
}

.echotag-cart-qty-editor select option:checked,
.echotag-cart-qty-editor select option:hover {
    background: var(--echotag-cart-button-bg);
    color: #fff;
}

.echotag-cart-discount-price {
    display: inline-grid;
    gap: 3px;
    line-height: 1.15;
}

.echotag-cart-discount-price del {
    color: rgba(255, 255, 255, .52);
    font-size: 13px;
    font-weight: 700;
    text-decoration-thickness: 2px;
}

.echotag-cart-discount-price ins {
    color: #fff;
    font-size: 17px;
    font-weight: 900;
    text-decoration: none;
}

.echotag-cart-discount-price small {
    color: var(--echotag-cart-button-bg);
    font-size: 11px;
    font-weight: 800;
}

.echotag-cart-qty-name-fallback[hidden] {
    display: none !important;
}

.echotag-cart-qty-name-fallback {
    margin-top: 8px;
}

.woocommerce-cart .echotag-cart-line-item .quantity input.qty,
.woocommerce-cart .echotag-cart-line-item .quantity .qty,
.woocommerce-cart .echotag-cart-line-item .quantity .plus,
.woocommerce-cart .echotag-cart-line-item .quantity .minus,
.woocommerce-cart .echotag-cart-line-item .quantity button:not(.echotag-cart-qty-change):not(.echotag-cart-qty-save) {
    display: none !important;
}

.echotag-checkout-production-qty,
.echotag-widget-production-qty {
    color: #111827;
    font-weight: 700;
}

@media (max-width: 860px) {
    .echotag-modal {
        align-items: flex-start;
        overflow-y: auto;
        padding: 8px;
    }

    .echotag-modal-dialog {
        height: auto;
        max-height: none;
        min-height: 0;
        overflow: hidden;
        padding: 12px;
        width: calc(100vw - 16px);
    }

    .echotag-modal-close {
        right: 10px;
        top: 10px;
        z-index: 20;
    }

    .echotag-app {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        gap: 10px;
        max-height: none;
        overflow: visible;
    }

    .echotag-preview-panel {
        max-height: none;
        order: -1;
        overflow: visible;
        padding: 12px;
        position: relative;
        top: auto;
        z-index: 3;
    }

    .echotag-preview-panel h2 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .echotag-form {
        max-height: none;
        min-height: 0;
        overflow: visible;
        padding: 14px;
    }

    .echotag-live-layout {
        display: grid;
        gap: 14px;
        height: auto;
    }

    .echotag-layout-item {
        min-height: auto !important;
        position: static;
        width: 100% !important;
    }

    .echotag-preview-stage {
        min-height: 260px;
        padding: 16px;
    }

    .echotag-preview-tools {
        grid-template-columns: 1fr;
    }

    .echotag-submit-row {
        grid-template-columns: 1fr;
    }
}


/* EchoTag 1.0.68: preview/mobile border fixes */
.echotag-preview-stage,
.echotag-product,
.echotag-product img {
    overflow: hidden;
}

.echotag-product img {
    border-radius: 14px !important;
    clip-path: inset(0 round 14px) !important;
    max-width: 100%;
}

@media (max-width: 860px) {
    .echotag-modal-dialog {
        align-self: flex-start;
        display: block;
        height: auto !important;
    }
}


/* EchoTag 1.0.69: form description + safer rounded preview image */
.echotag-form > h2 {
    margin-bottom: 6px;
}

.echotag-form-description {
    color: var(--echotag-muted);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    margin: -2px 0 16px;
    max-width: 58ch;
}

.echotag-preview-stage {
    border-radius: 16px !important;
    overflow: hidden !important;
    padding: 34px !important;
}

.echotag-product {
    border-radius: 16px !important;
    max-height: 100%;
    max-width: 100%;
    overflow: hidden !important;
}

.echotag-product img {
    border-radius: 16px !important;
    clip-path: inset(0 round 16px) !important;
    height: auto !important;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain !important;
    width: auto !important;
}

@media (min-width: 861px) {
    .echotag-preview-stage {
        align-items: center;
        justify-content: center;
    }

    .echotag-product img {
        max-height: 500px;
    }
}

@media (max-width: 860px) {
    .echotag-form-description {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .echotag-preview-stage {
        padding: 18px !important;
    }
}


/* EchoTag 1.0.74: preview guidance + examples toggle icon */
.echotag-preview-info-button {
    align-items: center;
    background: rgba(17, 24, 39, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-style: italic;
    font-weight: 800;
    height: 30px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 30px;
    z-index: 80;
}

.echotag-preview-info-button:hover,
.echotag-preview-info-button.is-active {
    background: var(--echotag-accent);
}

.echotag-preview-help-popover {
    background: rgba(17, 24, 39, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 12px;
    box-shadow: 0 16px 42px rgba(15, 23, 42, 0.28);
    color: #fff;
    display: grid;
    gap: 7px;
    left: 50%;
    max-width: min(270px, calc(100% - 28px));
    padding: 12px 14px;
    pointer-events: auto;
    position: absolute;
    top: 16px;
    transform: translateX(-50%);
    z-index: 90;
}

.echotag-preview-help-popover[hidden] {
    display: none !important;
}

.echotag-preview-help-popover::after {
    border: 8px solid transparent;
    border-top-color: rgba(17, 24, 39, 0.96);
    bottom: -16px;
    content: '';
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
}

.echotag-preview-help-popover strong {
    font-size: 14px;
    line-height: 1.2;
}

.echotag-preview-help-popover p {
    font-size: 13px;
    line-height: 1.35;
    margin: 0;
}

.echotag-preview-help-popover button {
    background: var(--echotag-accent);
    border: 0;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    justify-self: start;
    padding: 6px 12px;
}

.echotag-preview-stage.is-exporting .echotag-preview-info-button,
.echotag-preview-stage.is-exporting .echotag-preview-help-popover {
    display: none !important;
}

.echotag-preview-help-popover.is-info-help {
    display: block;
    max-width: min(260px, calc(100% - 64px));
    min-width: min(230px, calc(100% - 64px));
    pointer-events: none;
    width: 240px;
}

.echotag-preview-help-popover.is-info-help::after {
    display: none !important;
}

.echotag-preview-help-popover.is-info-help p {
    margin-top: 7px;
}

.echotag-preview-help-popover.is-info-help button {
    display: none !important;
}

/* EchoTag v1.1.54 - compact preview tips and out-of-stock start badge */
.echotag-stock-badge {
    align-items: center;
    color: #ff3f46;
    display: inline-flex;
    font-size: 14px;
    font-weight: 900;
    gap: 8px;
    line-height: 1.2;
    order: 1;
}

.echotag-stock-badge span {
    background: #ff3f46;
    border-radius: 999px;
    box-shadow: 0 0 0 4px rgba(255, 63, 70, .16);
    display: inline-block;
    height: 10px;
    width: 10px;
}

.echotag-start .echotag-stock-badge + .echotag-start-button {
    order: 2;
}

.echotag-preview-help-popover {
    max-width: min(230px, calc(100% - 24px));
    padding: 9px 11px;
}

.echotag-preview-help-popover strong {
    font-size: 12px;
}

.echotag-preview-help-popover p {
    font-size: 11px;
    line-height: 1.25;
}

.echotag-preview-help-popover button {
    border-radius: 7px;
    font-size: 12px;
    padding: 5px 10px;
}

@media (max-width: 1024px) {
    .echotag-preview-help-popover {
        gap: 5px;
        max-width: min(200px, calc(100% - 18px));
        padding: 8px 9px;
    }

    .echotag-preview-help-popover strong {
        font-size: 11px;
    }

    .echotag-preview-help-popover p {
        font-size: 10px;
    }
}

@media (max-width: 600px) {
    .echotag-preview-help-popover {
        border-radius: 9px;
        max-width: 118px;
        padding: 5px 6px;
    }

    .echotag-preview-help-popover.is-compact-position {
        max-width: 118px;
        width: 118px;
    }

    .echotag-preview-help-popover strong {
        font-size: 9px;
    }

    .echotag-preview-help-popover p {
        font-size: 8px;
        line-height: 1.12;
    }

    .echotag-preview-help-popover button {
        border-radius: 6px;
        font-size: 9px;
        padding: 3px 7px;
    }

    .echotag-preview-help-popover::after {
        display: none;
    }
}


/* EchoTag 1.0.75: keep examples toggle button fixed when the gallery opens */
.echotag-examples {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-anchor: none;
    width: 100%;
}
.echotag-examples-button {
    flex: 0 0 auto;
    margin: 0;
    position: relative;
    z-index: 2;
}
.echotag-examples-button i {
    flex: 0 0 8px;
    transform-origin: center;
}
.echotag-examples-grid {
    align-self: stretch;
    margin-top: 10px;
    width: 100%;
}

/* EchoTag 1.0.76: lock examples toggle position open/closed */
.echotag-examples,
.echotag-builder .echotag-examples,
.echotag-product-form .echotag-examples {
    box-sizing: border-box !important;
    display: block !important;
    margin: 18px 0 !important;
    max-width: 100% !important;
    min-width: 100% !important;
    overflow-anchor: none !important;
    text-align: left !important;
    width: 100% !important;
}
.echotag-examples-button,
.echotag-builder .echotag-examples-button,
.echotag-product-form .echotag-examples-button {
    display: inline-flex !important;
    left: auto !important;
    margin: 0 !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    vertical-align: top !important;
}
.echotag-examples-grid,
.echotag-builder .echotag-examples-grid,
.echotag-product-form .echotag-examples-grid {
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 10px !important;
    text-align: left !important;
    width: 100% !important;
}

/* EchoTag v1.0.77 - WooCommerce variation picker */
.echotag-variation-picker {
    width: min(100%, 560px);
    margin: 0 auto 14px;
    padding: 14px;
    border: 1px solid var(--echotag-border, #263043);
    border-radius: 18px;
    background: rgba(0, 0, 0, .72);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .18);
    color: var(--echotag-form-text, #fff);
    text-align: left;
}
.echotag-variation-group {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
}
.echotag-variation-group:last-child { margin-bottom: 0; }
.echotag-variation-group legend {
    margin: 0 0 8px;
    font-weight: 800;
    color: var(--echotag-title-text, #fff);
}
.echotag-variation-group legend span,
.echotag-variation-warning { color: #ff4d4d; }
.echotag-variation-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.echotag-variation-option {
    appearance: none;
    border: 1px solid var(--echotag-border, #263043);
    border-radius: 999px;
    background: var(--echotag-field-bg, #050505);
    color: var(--echotag-field-text, #fff);
    padding: 10px 15px;
    font-weight: 800;
    cursor: pointer;
    line-height: 1;
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.echotag-variation-option:hover {
    transform: translateY(-1px);
    border-color: #ff0000;
    background: #ff0000;
    color: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, .18);
}
.echotag-variation-option.is-selected {
    border-color: var(--echotag-selected-border, #ff0000);
    background: var(--echotag-selected-bg, #ff0000);
    color: var(--echotag-selected-text, #fff);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, .18);
}
.echotag-selected-variation {
    margin-top: 10px;
    color: var(--echotag-muted, #cbd5e1);
    font-size: 13px;
    font-weight: 700;
}
.echotag-variation-warning {
    margin-top: 8px;
    font-weight: 800;
    font-size: 13px;
}
.echotag-start-button:disabled {
    cursor: not-allowed;
    opacity: .62;
}


/* EchoTag v1.0.78 - variation layout and stronger hover */
.echotag-start {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.echotag-start .echotag-variation-picker {
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
}
.echotag-start .echotag-start-button {
    order: 2;
}
.echotag-start .echotag-variation-warning {
    order: 3;
}
.echotag-variation-option:hover,
.echotag-variation-option:focus-visible {
    border-color: #ff0000 !important;
    background: #ff0000 !important;
    color: #ffffff !important;
}


/* EchoTag v1.0.79 - white borders for variation buttons */
.echotag-variation-option {
    border-color: #ffffff !important;
}
.echotag-variation-option:hover,
.echotag-variation-option:focus-visible,
.echotag-variation-option.is-selected {
    border-color: #ffffff !important;
}


/* EchoTag v1.0.81 - selected variation border must be red */
.echotag-variation-option {
    border-color: #ffffff !important;
}
.echotag-variation-option:hover,
.echotag-variation-option:focus-visible {
    border-color: #ffffff !important;
    background: #ff0000 !important;
    color: #ffffff !important;
}
.echotag-variation-option.is-selected,
.echotag-variation-option[aria-pressed="true"],
.echotag-variation-option[aria-selected="true"] {
    border-color: #ff0000 !important;
    background: var(--echotag-selected-bg, #2a1013) !important;
    color: var(--echotag-selected-text, #ffffff) !important;
    box-shadow: 0 0 0 3px rgba(255, 0, 0, .28) !important;
}
.echotag-variation-option.is-selected:hover,
.echotag-variation-option.is-selected:focus-visible,
.echotag-variation-option[aria-pressed="true"]:hover,
.echotag-variation-option[aria-selected="true"]:hover {
    border-color: #ff0000 !important;
    background: #ff0000 !important;
    color: #ffffff !important;
}

.echotag-dog-form-fields .echotag-field input{width:100%;}
.echotag-dog-text{position:absolute;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1;white-space:nowrap;overflow:hidden;padding:2px 4px;font-weight:800;color:#111;text-shadow:none;pointer-events:none;border:0!important;background:transparent!important;box-shadow:none!important;}
.echotag-dog-text span{display:inline-block;max-width:100%;white-space:nowrap;line-height:1;}
.echotag-preview-stage.is-exporting .echotag-dog-text{outline:0!important;}

/* EchoTag v1.0.97 - dog form auto-fit text */
.echotag-dog-text span{transform-origin:center center;max-width:none!important;}

/* EchoTag v1.1.13: alignment must not shrink text; flex handles left/center/right */
.echotag-dog-text span{width:auto!important;max-width:none!important;}

/* EchoTag v1.1.24 - larger examples and clean fullscreen overlay */
.echotag-examples-grid a,
.echotag-builder .echotag-examples-grid a,
.echotag-product-form .echotag-examples-grid a {
    height: 108px !important;
    min-width: 108px !important;
}
.echotag-examples-grid img,
.echotag-builder .echotag-examples-grid img,
.echotag-product-form .echotag-examples-grid img {
    height: 108px !important;
    max-height: 108px !important;
    width: auto !important;
    object-fit: contain !important;
}
.echotag-examples-lightbox {
    background: #000 !important;
    z-index: 2147483647 !important;
}
html.echotag-modal-open,
body.echotag-modal-open {
    overflow: hidden !important;
}
@media (max-width: 480px) {
    .echotag-examples-grid a,
    .echotag-builder .echotag-examples-grid a,
    .echotag-product-form .echotag-examples-grid a,
    .echotag-examples-grid img,
    .echotag-builder .echotag-examples-grid img,
    .echotag-product-form .echotag-examples-grid img {
        height: 96px !important;
        max-height: 96px !important;
    }
}

.echotag-message.is-cart-failed-keep-files{border:1px solid rgba(255,193,7,.55);background:rgba(255,193,7,.12);color:#ffd76a;padding:10px 12px;border-radius:12px;font-weight:700;}

/* EchoTag v1.1.70 - examples open in a centered modal instead of expanding the page */
html.echotag-examples-modal-open,
body.echotag-examples-modal-open {
    overflow: hidden !important;
}

.echotag-examples .echotag-examples-toggle:checked + .echotag-examples-button + .echotag-examples-grid {
    display: none !important;
}

.echotag-examples-modal {
    align-items: center;
    background: rgba(0, 0, 0, .72);
    backdrop-filter: blur(7px);
    display: none;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 99998;
}

.echotag-examples-modal.is-open {
    display: flex;
}

.echotag-examples-modal-dialog {
    background: linear-gradient(180deg, #202020 0%, #141414 100%);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 16px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
    color: #fff;
    max-height: min(86vh, 760px);
    max-width: min(980px, calc(100vw - 32px));
    overflow: hidden;
    width: max-content;
}

.echotag-examples-button i {
    display: none !important;
}

.echotag-examples-modal-head {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    display: flex;
    gap: 18px;
    justify-content: center;
    padding: 16px 18px;
    position: relative;
}

.echotag-examples-modal-title {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
}

.echotag-examples-modal-close {
    align-items: center;
    appearance: none;
    background: rgba(244, 59, 65, .14);
    border: 1px solid rgba(244, 59, 65, .45);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0;
    font-weight: 900;
    height: 42px;
    justify-content: center;
    line-height: 0;
    padding: 0;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
}

.echotag-examples-modal-close::before {
    content: "×";
    display: block;
    font-size: 28px;
    line-height: 1;
    transform: translateY(-1px);
}

.echotag-examples-modal-body {
    max-height: calc(min(86vh, 760px) - 76px);
    overflow: auto;
    padding: 18px;
}

.echotag-examples-modal-body .echotag-examples-grid {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    justify-content: center !important;
    margin: 0 !important;
    width: auto !important;
}

.echotag-examples-modal-body .echotag-examples-grid a,
.echotag-builder .echotag-examples-modal-body .echotag-examples-grid a,
.echotag-product-form .echotag-examples-modal-body .echotag-examples-grid a {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    height: auto !important;
    justify-content: center !important;
    min-height: 124px !important;
    min-width: 0 !important;
    padding: 8px !important;
    width: auto !important;
}

.echotag-examples-modal-body .echotag-examples-grid img,
.echotag-builder .echotag-examples-modal-body .echotag-examples-grid img,
.echotag-product-form .echotag-examples-modal-body .echotag-examples-grid img {
    border-radius: 8px !important;
    display: block !important;
    height: auto !important;
    max-height: 170px !important;
    max-width: min(260px, 72vw) !important;
    object-fit: contain !important;
    width: auto !important;
}

.echotag-examples-lightbox {
    background: rgba(0, 0, 0, .88) !important;
    backdrop-filter: blur(5px);
    z-index: 2147483647 !important;
}

.echotag-examples-lightbox img {
    height: auto !important;
    max-height: 88vh !important;
    max-width: 92vw !important;
    object-fit: contain !important;
    width: auto !important;
}

.echotag-examples-lightbox .echotag-examples-lightbox-nav {
    align-items: center;
    appearance: none;
    background: rgba(244, 59, 65, .9);
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0 !important;
    font-weight: 900;
    height: 54px !important;
    justify-content: center;
    line-height: 0 !important;
    padding: 0 !important;
    position: fixed !important;
    top: var(--echotag-example-nav-top, 50%) !important;
    transform: translateY(-50%) !important;
    width: 54px !important;
    z-index: 100000 !important;
}

.echotag-examples-lightbox .echotag-examples-lightbox-prev {
    left: var(--echotag-example-prev-left, 24px) !important;
    right: auto !important;
}

.echotag-examples-lightbox .echotag-examples-lightbox-next {
    left: auto !important;
    right: var(--echotag-example-next-right, 24px) !important;
}

.echotag-examples-lightbox .echotag-examples-lightbox-prev::before,
.echotag-examples-lightbox .echotag-examples-lightbox-next::before {
    content: "";
    border-color: #fff;
    border-style: solid;
    display: block;
    height: 16px;
    left: 50%;
    position: absolute;
    top: 50%;
    width: 16px;
}

.echotag-examples-lightbox .echotag-examples-lightbox-prev::before {
    border-width: 0 0 5px 5px;
    transform: translate(-38%, -50%) rotate(45deg);
}

.echotag-examples-lightbox .echotag-examples-lightbox-next::before {
    border-width: 5px 5px 0 0;
    transform: translate(-62%, -50%) rotate(45deg);
}

@media (max-width: 900px), (hover: none), (pointer: coarse) {
    .echotag-examples-lightbox .echotag-examples-lightbox-nav {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .echotag-examples-modal {
        padding: 12px;
    }

    .echotag-examples-modal-dialog {
        max-width: calc(100vw - 24px);
        width: 100%;
    }

    .echotag-examples-modal-body {
        padding: 12px;
    }

    .echotag-examples-modal-body .echotag-examples-grid {
        gap: 10px !important;
    }
}


/* EchoTag cart meta below product title */
.woocommerce-cart .echotag-cart-line-item td.product-name dl.variation,
.woocommerce-cart .echotag-cart-line-item td.product-name .wc-item-meta,
.woocommerce-checkout .echotag-cart-line-item td.product-name dl.variation,
.woocommerce-checkout .echotag-cart-line-item td.product-name .wc-item-meta,
.wc-block-cart-items .echotag-cart-line-item .wc-block-components-product-metadata,
.wc-block-components-order-summary-item .echotag-cart-meta {
    clear: both !important;
    display: block !important;
    float: none !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    color: inherit !important;
}

.woocommerce-cart .echotag-cart-line-item td.product-name dl.variation dt,
.woocommerce-cart .echotag-cart-line-item td.product-name dl.variation dd,
.woocommerce-checkout .echotag-cart-line-item td.product-name dl.variation dt,
.woocommerce-checkout .echotag-cart-line-item td.product-name dl.variation dd,
.woocommerce-cart .echotag-cart-line-item td.product-name .wc-item-meta li,
.woocommerce-checkout .echotag-cart-line-item td.product-name .wc-item-meta li {
    clear: both !important;
    display: block !important;
    float: none !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    width: 100% !important;
    color: inherit !important;
}

.woocommerce-cart .echotag-cart-line-item td.product-name dl.variation dd p,
.woocommerce-checkout .echotag-cart-line-item td.product-name dl.variation dd p,
.woocommerce-cart .echotag-cart-line-item td.product-name .wc-item-meta p,
.woocommerce-checkout .echotag-cart-line-item td.product-name .wc-item-meta p {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: inherit !important;
}

.woocommerce-cart .echotag-cart-line-item .echotag-cart-meta,
.woocommerce-checkout .echotag-cart-line-item .echotag-cart-meta,
.wc-block-cart-items .echotag-cart-meta,
.wc-block-components-order-summary-item .echotag-cart-meta {
    display: block !important;
    margin-top: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    color: inherit !important;
    font-size: 13px;
}

.woocommerce-cart .echotag-cart-line-item .echotag-cart-line,
.woocommerce-checkout .echotag-cart-line-item .echotag-cart-line {
    display: block !important;
    width: 100% !important;
}

.woocommerce-cart .echotag-cart-line-item .echotag-cart-line-text,
.woocommerce-checkout .echotag-cart-line-item .echotag-cart-line-text,
.wc-block-cart-items .echotag-cart-line-text,
.wc-block-components-order-summary-item .echotag-cart-line-text {
    color: inherit !important;
}

.woocommerce-cart .echotag-cart-line-item .echotag-cart-toggle-link,
.woocommerce-checkout .echotag-cart-line-item .echotag-cart-toggle-link,
.wc-block-cart-items .echotag-cart-toggle-link,
.wc-block-components-order-summary-item .echotag-cart-toggle-link {
    display: inline-block;
    margin-left: 0;
    margin-top: 3px;
}


/* EchoTag v1.1.41 - force cart details under product title, not beside it */
.woocommerce-cart table.cart tr.echotag-cart-line-item td.product-name,
.woocommerce-cart .shop_table tr.echotag-cart-line-item td.product-name,
.woocommerce-checkout .shop_table tr.echotag-cart-line-item td.product-name,
.woocommerce-page table.cart tr.echotag-cart-line-item td.product-name {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    text-align: left !important;
}

.woocommerce-cart table.cart tr.echotag-cart-line-item td.product-name > a,
.woocommerce-cart .shop_table tr.echotag-cart-line-item td.product-name > a,
.woocommerce-checkout .shop_table tr.echotag-cart-line-item td.product-name > a,
.woocommerce-page table.cart tr.echotag-cart-line-item td.product-name > a {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
    order: 1 !important;
}

.woocommerce-cart table.cart tr.echotag-cart-line-item td.product-name dl.variation,
.woocommerce-cart .shop_table tr.echotag-cart-line-item td.product-name dl.variation,
.woocommerce-checkout .shop_table tr.echotag-cart-line-item td.product-name dl.variation,
.woocommerce-page table.cart tr.echotag-cart-line-item td.product-name dl.variation,
.woocommerce-cart table.cart tr.echotag-cart-line-item td.product-name .wc-item-meta,
.woocommerce-cart .shop_table tr.echotag-cart-line-item td.product-name .wc-item-meta,
.woocommerce-checkout .shop_table tr.echotag-cart-line-item td.product-name .wc-item-meta,
.woocommerce-page table.cart tr.echotag-cart-line-item td.product-name .wc-item-meta {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    order: 20 !important;
    margin: 6px 0 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.woocommerce-cart tr.echotag-cart-line-item td.product-name dl.variation dt,
.woocommerce-cart tr.echotag-cart-line-item td.product-name dl.variation dd,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name dl.variation dt,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name dl.variation dd,
.woocommerce-cart tr.echotag-cart-line-item td.product-name .wc-item-meta li,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name .wc-item-meta li {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    text-align: left !important;
}

.woocommerce-cart tr.echotag-cart-line-item td.product-name dl.variation dt:empty,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name dl.variation dt:empty,
.woocommerce-cart tr.echotag-cart-line-item td.product-name .wc-item-meta li .wc-item-meta-label:empty,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name .wc-item-meta li .wc-item-meta-label:empty {
    display: none !important;
}

.woocommerce-cart tr.echotag-cart-line-item td.product-name .echotag-cart-meta-title,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name .echotag-cart-meta-title,
.wc-block-cart-items .echotag-cart-meta-title,
.wc-block-components-order-summary-item .echotag-cart-meta-title {
    display: block !important;
    width: 100% !important;
    margin: 6px 0 2px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.25 !important;
}

.woocommerce-cart tr.echotag-cart-line-item td.product-name .echotag-cart-meta,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name .echotag-cart-meta,
.wc-block-cart-items .echotag-cart-meta,
.wc-block-components-order-summary-item .echotag-cart-meta {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.woocommerce-cart tr.echotag-cart-line-item td.product-name .echotag-cart-line,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name .echotag-cart-line {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-cart tr.echotag-cart-line-item td.product-name .echotag-cart-extra,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name .echotag-cart-extra {
    display: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.woocommerce-cart tr.echotag-cart-line-item td.product-name .echotag-cart-toggle-link,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name .echotag-cart-toggle-link {
    display: block !important;
    width: max-content !important;
    margin: 4px 0 0 !important;
}


/* EchoTag: force cart customization details below the product title/name */
.woocommerce-cart .echotag-cart-line-item td.product-name,
.woocommerce-cart .echotag-cart-line-item .product-name,
.woocommerce-cart .echotag-cart-line-item .wc-block-cart-item__product,
.woocommerce-cart .echotag-cart-line-item .wc-block-components-product-name {
    white-space: normal !important;
}

.woocommerce-cart .echotag-cart-product-title-wrap,
.woocommerce-checkout .echotag-cart-product-title-wrap,
.woocommerce-cart .echotag-cart-name-stack,
.woocommerce-checkout .echotag-cart-name-stack,
.woocommerce-cart .echotag-cart-meta-under-title,
.woocommerce-checkout .echotag-cart-meta-under-title,
.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-meta,
.woocommerce-checkout .echotag-cart-meta-under-title .echotag-cart-meta,
.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-meta-title,
.woocommerce-checkout .echotag-cart-meta-under-title .echotag-cart-meta-title,
.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-line,
.woocommerce-checkout .echotag-cart-meta-under-title .echotag-cart-line,
.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-line-text,
.woocommerce-checkout .echotag-cart-meta-under-title .echotag-cart-line-text,
.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-toggle-link,
.woocommerce-checkout .echotag-cart-meta-under-title .echotag-cart-toggle-link {
    display: block !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: inherit !important;
}

.woocommerce-cart .echotag-cart-meta-under-title,
.woocommerce-checkout .echotag-cart-meta-under-title {
    margin-top: 8px !important;
    line-height: 1.35 !important;
}

/* Keep the EchoTag cart details visually under the product title. */
.woocommerce-cart tr.echotag-cart-line-item td.product-name,
.woocommerce-checkout tr.echotag-cart-line-item td.product-name,
.woocommerce-page table.cart tr.echotag-cart-line-item td.product-name,
.woocommerce-cart .shop_table tr.echotag-cart-line-item td.product-name,
.woocommerce-checkout .shop_table tr.echotag-cart-line-item td.product-name {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    gap: 0 !important;
    min-width: 240px !important;
    max-width: 300px !important;
    overflow: visible !important;
}

.woocommerce-cart .echotag-cart-name-stack,
.woocommerce-checkout .echotag-cart-name-stack {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 260px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}

.woocommerce-cart .echotag-cart-product-title-wrap,
.woocommerce-checkout .echotag-cart-product-title-wrap,
.woocommerce-cart .echotag-cart-product-title-wrap > a,
.woocommerce-checkout .echotag-cart-product-title-wrap > a,
.woocommerce-cart .echotag-cart-meta-under-title,
.woocommerce-checkout .echotag-cart-meta-under-title {
    display: block !important;
    flex: 0 0 auto !important;
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    text-align: left !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
}

.woocommerce-cart .echotag-cart-meta-under-title,
.woocommerce-checkout .echotag-cart-meta-under-title {
    margin-top: 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-meta-title {
    margin-bottom: 3px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
}

.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-line-text,
.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-row,
.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-row strong {
    color: #ffffff !important;
}

.woocommerce-cart .echotag-cart-meta-under-title .echotag-cart-toggle-link {
    margin-top: 4px !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.echotag-view-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 8px 0 14px;
}

.echotag-view-tab {
    min-height: 46px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
    transition: .18s ease;
}

.echotag-view-tab.is-active,
.echotag-view-tab:hover {
    border-color: #ff3b2f;
    background: #ff3b2f;
    color: #fff;
}

.echotag-view-note {
    margin: 0 0 16px;
    color: rgba(255,255,255,.76);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

.echotag-preview-stage [data-echotag-visual-underline="1"] {
    text-decoration: none !important;
}

.echotag-preview-stage [data-echotag-text-content][data-echotag-visual-underline="1"],
.echotag-preview-stage [data-echotag-dog-name-content][data-echotag-visual-underline="1"],
.echotag-preview-stage [data-echotag-dog-phone-content][data-echotag-visual-underline="1"] {
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
    text-decoration-line: underline !important;
    text-decoration-thickness: 0.045em;
    text-underline-offset: 0.03em;
    text-decoration-skip-ink: none;
}
