.shop-cms-detail-page.dropdown-detail-page {
    max-width: 1680px;
    width: 100%;
    padding-bottom: 32px;
}

.shop-cms-detail-page .dropdown-detail-header {
    max-width: none;
}

.shop-cms-header {
    margin-bottom: 12px;
}

.shop-cms-title-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.shop-cms-page-path {
    margin-top: 2px;
    color: #7b8491;
    font: 500 12px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.shop-cms-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 2px 9px;
    border: 1px solid #d7dce2;
    border-radius: 999px;
    background: #f8f9fa;
    color: #69727d;
    font-size: 11px;
    font-weight: 700;
}

.shop-cms-status > span,
.shop-cms-preview-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #98a1ad;
}

.shop-cms-status.is-live {
    border-color: #cde59a;
    background: #f4fae8;
    color: #55720f;
}

.shop-cms-status.is-dirty {
    border-color: #f0d48a;
    background: #fff8e6;
    color: #8a6a12;
}

.shop-cms-status.is-dirty > span {
    background: #e4b423;
    box-shadow: 0 0 0 3px rgba(228, 180, 35, .16);
}

.shop-cms-status.is-live > span,
.shop-cms-preview-dot {
    background: #8fc516;
    box-shadow: 0 0 0 3px rgba(143, 197, 22, .14);
}

.shop-cms-open-link {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    text-decoration: none;
}

.shop-cms-workspace-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 54px;
    margin-bottom: 12px;
    padding: 8px 12px 8px 16px;
    border: 1px solid #e0e4e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(30, 40, 55, .04);
}

.shop-cms-workspace-toolbar > div:first-child {
    display: grid;
    gap: 1px;
}

.shop-cms-workspace-toolbar strong {
    color: #27303a;
    font-size: 13px;
}

.shop-cms-workspace-toolbar > div:first-child > span {
    color: #7b8491;
    font-size: 11px;
}

.shop-cms-editor {
    display: grid;
    grid-template-columns: minmax(350px, 420px) minmax(560px, 1fr);
    align-items: start;
    gap: 14px;
    width: 100%;
}

.shop-cms-inspector {
    max-height: calc(100vh - 134px);
    overflow: auto;
    border: 1px solid #dfe3e7;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 42, 55, .07);
    scrollbar-width: thin;
}

.shop-cms-inspector-language {
    padding: 12px 16px;
    border-bottom: 1px solid #e7eaed;
    background: #fbfcfc;
}

.shop-cms-inspector-language > span {
    display: block;
    margin-bottom: 6px;
    color: #818a96;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.shop-cms-language-picker {
    position: relative;
}

.shop-cms-language-trigger,
.shop-cms-language-menu button {
    display: flex;
    align-items: center;
    width: 100%;
    border: 0;
    background: transparent;
    color: #344054;
    text-align: left;
    cursor: pointer;
}

.shop-cms-language-trigger {
    gap: 9px;
    min-height: 36px;
    padding: 4px 8px 4px 5px;
    border: 1px solid #d8dde3;
    border-radius: 7px;
    background: #fff;
}

.shop-cms-language-trigger:hover,
.shop-cms-language-trigger[aria-expanded="true"] {
    border-color: #9bc931;
    box-shadow: 0 0 0 2px rgba(152, 200, 50, .1);
}

.shop-cms-language-trigger > strong {
    flex: 1;
    font-size: 11px;
}

.shop-cms-language-trigger[aria-expanded="true"] .shop-cms-chevron {
    transform: rotate(180deg);
}

.shop-cms-language-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    left: 0;
    z-index: 20;
    overflow: hidden;
    padding: 4px;
    border: 1px solid #d8dde3;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(31, 42, 55, .16);
}

.shop-cms-language-menu button {
    gap: 9px;
    min-height: 40px;
    padding: 5px 7px;
    border-radius: 6px;
}

.shop-cms-language-menu button:hover,
.shop-cms-language-menu button.is-active {
    background: #f1f6e5;
}

.shop-cms-language-menu button > span:last-child {
    display: grid;
    min-width: 0;
}

.shop-cms-language-menu strong {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-language-menu small {
    color: #89919b;
    font-size: 9px;
    text-transform: uppercase;
}

.shop-cms-accordion {
    border-bottom: 1px solid #e7eaed;
}

.shop-cms-accordion > summary,
.shop-cms-nested-details > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    cursor: pointer;
}

.shop-cms-accordion > summary {
    min-height: 62px;
    padding: 0 16px;
}

.shop-cms-accordion > summary::-webkit-details-marker,
.shop-cms-nested-details > summary::-webkit-details-marker {
    display: none;
}

.shop-cms-accordion > summary > span:nth-child(2),
.shop-cms-section-heading > div > span:nth-child(2),
.shop-cms-editor-heading > div > span:nth-child(2) {
    display: grid;
    flex: 1;
    min-width: 0;
}

.shop-cms-accordion summary strong,
.shop-cms-section-heading strong,
.shop-cms-editor-heading strong {
    color: #27303a;
    font-size: 13px;
    line-height: 1.35;
}

.shop-cms-accordion summary small,
.shop-cms-section-heading small,
.shop-cms-editor-heading small {
    color: #818a96;
    font-size: 10px;
    line-height: 1.35;
}

.shop-cms-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: #f1f6e5;
    color: #6f970e;
    font-size: 11px;
    font-weight: 800;
}

.shop-cms-chevron {
    color: #87909c;
    font-size: 16px;
    transition: transform .18s ease;
}

.shop-cms-accordion[open] > summary .shop-cms-chevron,
.shop-cms-nested-details[open] > summary .shop-cms-chevron {
    transform: rotate(180deg);
}

.shop-cms-accordion-body {
    padding: 4px 16px 16px;
    background: #fbfcfc;
}

.shop-cms-translation-status-list {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.shop-cms-translation-status-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 32px;
    padding: 6px 10px;
    border: 1px solid #e4e8ec;
    border-radius: 8px;
    background: #fff;
}

.shop-cms-translation-status-row > span,
.shop-cms-translation-status-row > button {
    min-width: 0;
    color: #3d4652;
    font-size: 12px;
    font-weight: 650;
    text-align: left;
}

.shop-cms-translation-status-row > button {
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.shop-cms-translation-status-row > button:hover {
    color: #3d6d00;
    text-decoration: underline;
}

.shop-cms-translation-status-row strong {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 20px;
    padding: 0 7px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.shop-cms-translation-status-row strong.is-complete {
    background: #f0f7e2;
    color: #5d7f0c;
}

.shop-cms-translation-status-row strong.is-stale {
    background: #fff6e0;
    color: #8a6a12;
}

.shop-cms-translation-status-row strong.is-missing {
    background: #f3f4f6;
    color: #6b7280;
}

.shop-cms-reviewed-btn {
    margin-top: 2px;
}

.shop-cms-slug-field {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d8dde3;
    border-radius: 6px;
    background: #f5f7f8;
}

.shop-cms-slug-field > span {
    padding-left: 10px;
    color: #7b8491;
    font: 500 11px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: nowrap;
}

.shop-cms-slug-field .k-input,
.shop-cms-slug-field .k-textbox {
    border: 0 !important;
    box-shadow: none !important;
}

.shop-cms-inline-actions,
.shop-cms-editor-save,
.shop-cms-page-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.shop-cms-page-actions {
    flex-wrap: wrap;
    justify-content: flex-start;
}

.shop-cms-detail-page .shop-cms-page-actions .custom-bt-save.k-disabled,
.shop-cms-detail-page .shop-cms-page-actions .k-button.custom-bt-save.k-disabled,
.shop-cms-detail-page .shop-cms-page-actions .k-button.k-button-solid.custom-bt-save.k-disabled,
.shop-cms-detail-page .shop-cms-page-actions .custom-bt-save:disabled {
    background: #c5c9d1;
    background-color: #c5c9d1;
    color: #fff;
    border-color: transparent;
    box-shadow: none;
    opacity: 1;
    cursor: not-allowed;
}

.shop-cms-detail-page .shop-cms-page-actions .custom-bt-save.k-disabled:hover,
.shop-cms-detail-page .shop-cms-page-actions .k-button.custom-bt-save.k-disabled:hover,
.shop-cms-detail-page .shop-cms-page-actions .k-button.k-button-solid.custom-bt-save.k-disabled:hover,
.shop-cms-detail-page .shop-cms-page-actions .custom-bt-save.k-disabled.k-hover,
.shop-cms-detail-page .shop-cms-page-actions .custom-bt-save:disabled:hover {
    background: #c5c9d1;
    background-color: #c5c9d1;
    color: #fff;
    border-color: transparent;
}

.shop-cms-unpublish-link {
    display: inline-flex;
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: none;
    color: #8a4b16;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

.shop-cms-unpublish-link:hover {
    text-decoration: underline;
}

.shop-cms-version-empty {
    margin: 0;
    color: #7b8491;
    font-size: 12px;
}

.shop-cms-version-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.shop-cms-version-list li {
    display: grid;
    gap: 6px;
    padding: 10px 11px;
    border: 1px solid #e4e8ec;
    border-radius: 10px;
    background: #fbfcfd;
}

.shop-cms-version-list li.is-current {
    border-color: #cde59a;
    background: #f7fbe9;
}

.shop-cms-version-list strong {
    margin-right: 6px;
    color: #27303a;
    font-size: 12px;
}

.shop-cms-version-list span {
    color: #55720f;
    font-size: 10px;
    font-weight: 750;
}

.shop-cms-version-list small {
    display: block;
    margin-top: 2px;
    color: #7b8491;
    font-size: 11px;
}

.shop-cms-version-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.shop-cms-version-actions button {
    padding: 0;
    border: 0;
    background: none;
    color: #3d6d00;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
}

.shop-cms-version-actions button.is-danger {
    color: #a33b2a;
}

.shop-cms-preview-mode {
    display: inline-flex;
    padding: 2px;
    border: 1px solid #d7dce2;
    border-radius: 999px;
    background: #f4f6f8;
}

.shop-cms-preview-mode button {
    min-height: 24px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #5d6670;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.shop-cms-preview-mode button.is-active {
    background: #fff;
    color: #27303a;
    box-shadow: 0 1px 3px rgba(31, 42, 55, .08);
}

.shop-cms-publish-toggle,
.shop-cms-visibility-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 10px 4px 7px;
    border: 1px solid #dfe3e7;
    border-radius: 999px;
    background: #fff;
    color: #46505b;
    font-size: 11px;
    font-weight: 650;
    cursor: pointer;
    user-select: none;
}

.shop-cms-visibility-toggle:hover {
    border-color: #c5d68a;
    background: #f7fbe9;
}

.shop-cms-visibility-toggle .k-checkbox-wrap,
.shop-cms-publish-toggle .k-checkbox-wrap {
    display: inline-flex;
    align-items: center;
}

.shop-cms-visibility-toggle .k-checkbox,
.shop-cms-publish-toggle .k-checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    border: 1.5px solid #c5ccd4;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
}

.shop-cms-visibility-toggle .k-checkbox.k-checked,
.shop-cms-visibility-toggle .k-checkbox:checked,
.shop-cms-publish-toggle .k-checkbox.k-checked,
.shop-cms-publish-toggle .k-checkbox:checked {
    border-color: #8fc516;
    background-color: #99cc22;
    color: #fff;
}

.shop-cms-visibility-toggle .k-checkbox.k-checked::before,
.shop-cms-visibility-toggle .k-checkbox:checked::before,
.shop-cms-publish-toggle .k-checkbox.k-checked::before,
.shop-cms-publish-toggle .k-checkbox:checked::before {
    color: #fff;
    border-color: #fff;
}

.shop-cms-block-section {
    padding: 14px 16px 16px;
    border-bottom: 1px solid #e7eaed;
}

.shop-cms-section-heading,
.shop-cms-editor-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shop-cms-section-heading {
    margin-bottom: 12px;
}

.shop-cms-section-heading > div,
.shop-cms-editor-heading > div {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.shop-cms-block-list {
    display: grid;
    gap: 6px;
}

.shop-cms-block-row {
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 52px;
    padding: 5px 6px;
    border: 1px solid #e1e5e8;
    border-radius: 9px;
    background: #fff;
    transition: border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.shop-cms-block-row:hover {
    border-color: #c9d0d6;
    background: #fcfdfb;
}

.shop-cms-block-row.is-selected {
    border-color: #96c929;
    background: #f8fceF;
    box-shadow: 0 0 0 2px rgba(150, 201, 41, .12);
}

.shop-cms-block-row .meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    padding: 3px 4px;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.shop-cms-block-order,
.shop-cms-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 26px;
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: #eef1f3;
    color: #69727d;
    font-size: 11px;
    font-weight: 800;
}

.shop-cms-block-row.is-selected .shop-cms-block-order {
    background: #92c520;
    color: #fff;
}

.shop-cms-block-copy {
    display: grid;
    flex: 1;
    min-width: 0;
}

.shop-cms-block-copy strong {
    overflow: hidden;
    color: #303943;
    font-size: 11px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-block-copy small {
    overflow: hidden;
    color: #89919b;
    font-size: 9px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-visibility {
    flex: 0 0 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9cfd5;
}

.shop-cms-visibility.is-visible {
    background: #91c31c;
}

.shop-cms-item-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 2px;
    opacity: .35;
    transition: opacity .16s ease;
}

.shop-cms-block-row:hover .shop-cms-item-actions,
.shop-cms-block-row.is-selected .shop-cms-item-actions {
    opacity: 1;
}

.shop-cms-item-actions .k-button {
    width: 25px;
    min-width: 25px;
    height: 25px;
    padding: 0;
    border-color: #dfe3e7;
    background: #fff;
}

.shop-cms-item-actions .shop-cms-block-delete:hover {
    border-color: #efb2b2;
    color: #c23a3a;
}

.shop-cms-add-block {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 7px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed #dfe3e7;
}

.shop-cms-add-block select {
    min-width: 0;
    height: 32px;
    padding: 0 30px 0 9px;
    border: 1px solid #d8dde3;
    border-radius: 6px;
    background: #fff;
    color: #39434e;
    font-size: 11px;
}

.shop-cms-block-editor {
    background: #fff;
}

.shop-cms-editor-heading {
    position: sticky;
    top: 0;
    z-index: 2;
    min-height: 62px;
    padding: 0 16px;
    border-bottom: 1px solid #e7eaed;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
}

.shop-cms-block-editor-body {
    padding: 16px;
}

.shop-cms-editor-save {
    position: sticky;
    bottom: -1px;
    z-index: 2;
    margin: 18px -16px -16px;
    padding: 10px 16px;
    border-top: 1px solid #e4e8eb;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
}

.shop-cms-editor-save > span {
    color: #89919b;
    font-size: 9px;
}

.shop-cms-block-modal .k-window-content {
    overflow: auto;
    padding: 0;
}

.shop-cms-block-modal-meta {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
    padding: 0 18px;
    border-bottom: 1px solid #e7eaed;
    background: rgba(251, 252, 252, .96);
    backdrop-filter: blur(8px);
}

.shop-cms-block-modal-meta > span,
.shop-cms-block-modal-hint {
    color: #818a96;
    font-size: 10px;
}

.shop-cms-block-modal-meta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.shop-cms-block-modal-meta-actions .k-button,
.shop-cms-block-modal-meta-actions .k-button-sm {
    min-height: 28px;
    padding: 0 10px;
    font-size: 11px;
}

.shop-cms-block-modal-meta-actions .k-button .k-button-icon {
    width: 14px;
    height: 14px;
}

.shop-cms-block-modal-body {
    padding: 18px;
}

.shop-cms-html-editor.k-editor {
    --content-primary: #99cc22;
    --content-primary-dark: #789f1d;
    --content-dark: #232323;
    --content-muted: #707070;
    --content-border: #e7e7e7;
    --content-radius: 0.75rem;
    --content-shadow: 0 10px 30px rgba(35, 35, 35, 0.08);
    border-radius: 8px;
}

/* Match the shop legal page. Bootstrap heading sizes (h2 = 2rem) would otherwise apply inside the editor. */
.shop-cms-html-editor .k-editor-content,
.shop-cms-html-editor .ProseMirror {
    color: #3a3a3a;
    font-size: 0.94rem;
    line-height: 1.65;
}

.shop-cms-html-editor .k-editor-content h2,
.shop-cms-html-editor .ProseMirror h2 {
    margin: 2rem 0 0.75rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid var(--content-border);
    color: var(--content-dark);
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
}

.shop-cms-html-editor .k-editor-content h2:first-of-type,
.shop-cms-html-editor .ProseMirror h2:first-of-type,
.shop-cms-html-editor .k-editor-content .legal-note + h2,
.shop-cms-html-editor .ProseMirror .legal-note + h2,
.shop-cms-html-editor .k-editor-content .cms-note + h2,
.shop-cms-html-editor .ProseMirror .cms-note + h2 {
    margin-top: 0;
}

.shop-cms-html-editor .k-editor-content h3,
.shop-cms-html-editor .ProseMirror h3 {
    margin: 1.35rem 0 0.45rem;
    padding: 0;
    border: 0;
    color: var(--content-dark);
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
}

.shop-cms-html-editor .k-editor-content h2 + h3,
.shop-cms-html-editor .ProseMirror h2 + h3 {
    margin-top: 0.85rem;
}

.shop-cms-html-editor .k-editor-content h4,
.shop-cms-html-editor .ProseMirror h4 {
    margin: 1rem 0 0.35rem;
    padding: 0;
    border: 0;
    color: var(--content-dark);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.shop-cms-html-editor .k-editor-content p,
.shop-cms-html-editor .ProseMirror p,
.shop-cms-html-editor .k-editor-content li,
.shop-cms-html-editor .ProseMirror li {
    color: #3a3a3a;
    font-size: 0.94rem;
    line-height: 1.65;
}

.shop-cms-html-editor .k-editor-content p,
.shop-cms-html-editor .ProseMirror p {
    margin: 0 0 0.7rem;
}

.shop-cms-html-editor .k-editor-content ul,
.shop-cms-html-editor .ProseMirror ul,
.shop-cms-html-editor .k-editor-content ol,
.shop-cms-html-editor .ProseMirror ol {
    margin: 0 0 0.85rem;
    padding-left: 1.2rem;
}

.shop-cms-html-editor .k-editor-content li + li,
.shop-cms-html-editor .ProseMirror li + li {
    margin-top: 0.3rem;
}

.shop-cms-html-editor .k-editor-content a,
.shop-cms-html-editor .ProseMirror a {
    color: var(--content-primary-dark);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.shop-cms-html-editor .k-editor-content .legal-note,
.shop-cms-html-editor .ProseMirror .legal-note,
.shop-cms-html-editor .k-editor-content .cms-note,
.shop-cms-html-editor .ProseMirror .cms-note {
    margin: 0 0 1.5rem;
    padding: 0.75rem 0.95rem;
    border-bottom: 0;
    border-left: 3px solid var(--content-primary);
    border-radius: 0 0.45rem 0.45rem 0;
    background: rgba(153, 204, 34, 0.1);
    color: var(--content-dark);
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.5;
}

.shop-cms-html-editor .k-editor-content .cms-note-success,
.shop-cms-html-editor .ProseMirror .cms-note-success {
    border-left-color: #3d8b40;
    background: rgba(61, 139, 64, 0.12);
}

.shop-cms-html-editor .k-editor-content .cms-note-info,
.shop-cms-html-editor .ProseMirror .cms-note-info {
    border-left-color: #2f6fad;
    background: rgba(47, 111, 173, 0.1);
}

.shop-cms-html-editor .k-editor-content .cms-note-warning,
.shop-cms-html-editor .ProseMirror .cms-note-warning {
    border-left-color: #d97706;
    background: rgba(217, 119, 6, 0.12);
}

.shop-cms-html-editor .k-editor-content .cms-note-alert,
.shop-cms-html-editor .ProseMirror .cms-note-alert {
    border-left-color: #c2412d;
    background: rgba(194, 65, 45, 0.1);
}

.shop-cms-note-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.shop-cms-note-swatch {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 3px;
    border-left: 3px solid var(--content-primary, #99cc22);
    background: rgba(153, 204, 34, 0.35);
}

.shop-cms-note-swatch-success {
    border-left-color: #3d8b40;
    background: rgba(61, 139, 64, 0.28);
}

.shop-cms-note-swatch-info {
    border-left-color: #2f6fad;
    background: rgba(47, 111, 173, 0.22);
}

.shop-cms-note-swatch-warning {
    border-left-color: #d97706;
    background: rgba(217, 119, 6, 0.28);
}

.shop-cms-note-swatch-alert {
    border-left-color: #c2412d;
    background: rgba(194, 65, 45, 0.22);
}

.shop-cms-html-editor .ProseMirror .content-card h2,
.shop-cms-html-editor .k-editor-content .content-card h2,
.shop-cms-html-editor .ProseMirror .imprint-dispute h2,
.shop-cms-html-editor .k-editor-content .imprint-dispute h2 {
    margin: 0 0 0.9rem;
    padding: 0;
    border: 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.shop-cms-html-editor .ProseMirror .imprint-dispute h2,
.shop-cms-html-editor .k-editor-content .imprint-dispute h2 {
    margin-bottom: 0.65rem;
    color: #fff;
    font-size: 1.25rem;
}

.shop-cms-html-editor .ProseMirror .content-card p,
.shop-cms-html-editor .k-editor-content .content-card p,
.shop-cms-html-editor .ProseMirror .imprint-summary p,
.shop-cms-html-editor .k-editor-content .imprint-summary p,
.shop-cms-html-editor .ProseMirror .imprint-details p,
.shop-cms-html-editor .k-editor-content .imprint-details p {
    margin: 0;
}

.shop-cms-html-editor .ProseMirror .content-card p,
.shop-cms-html-editor .k-editor-content .content-card p {
    color: var(--content-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.shop-cms-html-editor .ProseMirror .imprint-dispute p,
.shop-cms-html-editor .k-editor-content .imprint-dispute p {
    margin: 0;
    color: #d2d2d2;
    font-size: 0.9rem;
    line-height: 1.7;
}

.shop-cms-html-editor .ProseMirror .imprint-contact a,
.shop-cms-html-editor .k-editor-content .imprint-contact a {
    color: var(--content-primary-dark);
    font-weight: 700;
    text-decoration: none;
}

.shop-cms-html-editor .ProseMirror .imprint-summary-mark p,
.shop-cms-html-editor .k-editor-content .imprint-summary-mark p,
.shop-cms-html-editor .ProseMirror .content-card-icon p,
.shop-cms-html-editor .k-editor-content .content-card-icon p,
.shop-cms-html-editor .ProseMirror .imprint-dispute-icon p,
.shop-cms-html-editor .k-editor-content .imprint-dispute-icon p {
    margin: 0;
    color: inherit;
    font-size: inherit;
    line-height: 1;
}

.shop-cms-html-editor .k-editor-content .legal-lang-note,
.shop-cms-html-editor .ProseMirror .legal-lang-note {
    margin: 0 0 1rem;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--content-border);
    border-radius: 0.55rem;
    background: #fff;
    color: var(--content-muted);
    font-size: 0.85rem;
    line-height: 1.45;
}

.shop-cms-html-editor .k-editor-content .legal-meta,
.shop-cms-html-editor .ProseMirror .legal-meta {
    margin: 1.75rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--content-border);
    color: var(--content-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

.shop-cms-block-modal .dropdown-modal-actions > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-cms-preview-pane {
    min-width: 0;
    overflow: visible;
    border: 1px solid #dfe3e7;
    border-radius: 14px;
    background: #eef0f1;
    box-shadow: 0 8px 24px rgba(31, 42, 55, .07);
}

.shop-cms-preview-toolbar {
    display: grid;
    grid-template-columns: minmax(210px, auto) auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 16px;
    min-height: 42px;
    padding: 8px 14px 0;
    border-bottom: 1px solid #d9dee2;
    background: #fff;
}

.shop-cms-preview-langs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    grid-column: 1 / -1;
    margin: 0 -14px;
    padding: 8px 14px 10px;
    border-top: 1px solid #eef1f3;
}

.shop-cms-translation-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 14px;
    border-bottom: 1px solid #ead9a8;
    background: #fff8e6;
    color: #8a6a12;
    font-size: 12px;
    font-weight: 650;
}

.shop-cms-translation-banner.is-missing {
    border-bottom-color: #e5e7eb;
    background: #f8f9fa;
    color: #5b6470;
}

.shop-cms-translation-banner.is-stale {
    border-bottom-color: #ead9a8;
    background: #fff8e6;
    color: #8a6a12;
}

.shop-cms-preview-title,
.shop-cms-preview-actions,
.shop-cms-preview-add {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-cms-preview-mode-slot {
    display: flex;
    align-items: center;
    min-width: 132px;
}

.shop-cms-preview-add.is-hidden {
    visibility: hidden;
    pointer-events: none;
}

.shop-cms-block-picker {
    position: relative;
}

.shop-cms-block-picker-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-width: 168px;
    height: 28px;
    padding: 0 8px 0 10px;
    border: 1px solid #d5dbe1;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.shop-cms-block-picker-trigger span {
    color: #344054;
    font-size: 12px;
}

.shop-cms-block-picker-trigger .bi {
    color: #667085;
    font-size: 10px;
}

.shop-cms-block-picker-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    border: 0;
    background: transparent;
    cursor: default;
}

.shop-cms-block-picker-menu {
    position: absolute;
    z-index: 31;
    top: calc(100% + 4px);
    left: 0;
    min-width: 196px;
    padding: 4px;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(24, 28, 54, .14);
}

.shop-cms-block-picker-item {
    display: block;
    width: 100%;
    height: 30px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #344054;
    font-size: 12px;
    text-align: left;
    cursor: pointer;
}

.shop-cms-block-picker-item:hover,
.shop-cms-block-picker-item:focus-visible,
.shop-cms-block-picker-item.is-selected {
    background: #f3f6fa;
    color: #181c36;
    outline: none;
}

.shop-cms-block-picker-preview {
    position: absolute;
    right: calc(100% + 8px);
    width: 168px;
    padding: 8px;
    border: 1px solid #e2e5e9;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(24, 28, 54, .14);
    pointer-events: none;
}

.shop-cms-block-picker-preview strong {
    display: block;
    margin-bottom: 6px;
    color: #667085;
    font-size: 10px;
    font-weight: 650;
}

.shop-cms-wire {
    display: grid;
    gap: 5px;
    min-height: 72px;
    padding: 8px;
    border-radius: 8px;
    background: #f6f7f4;
}

.shop-cms-wire > i,
.shop-cms-wire b > i {
    display: block;
    height: 6px;
    border-radius: 99px;
    background: #d5dbd0;
}

.shop-cms-wire > i.is-short,
.shop-cms-wire b > i.is-short {
    width: 62%;
}

.shop-cms-wire > b {
    display: grid;
    grid-auto-flow: column;
    gap: 4px;
}

.shop-cms-wire-hero .wire-hero {
    display: grid;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
    background: #232323;
}

.shop-cms-wire-hero .wire-hero > i {
    height: 6px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .72);
}

.shop-cms-wire-hero .wire-hero > i.is-short {
    width: 55%;
}

.shop-cms-wire-hero .wire-hero > b {
    display: flex;
    gap: 4px;
    margin-top: 2px;
}

.shop-cms-wire-hero .wire-hero > b > i {
    width: 28px;
    height: 10px;
    border-radius: 99px;
    background: #99cc22;
}

.shop-cms-wire-stats > b > i,
.shop-cms-wire-cards > b > i,
.shop-cms-wire-contacts > b > i,
.shop-cms-wire-trust > b > i,
.shop-cms-wire-products > b > i {
    height: 28px;
    border-radius: 4px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e1e6df;
}

.shop-cms-wire-contacts > b > i,
.shop-cms-wire-trust > b > i {
    height: 22px;
}

.shop-cms-wire-products > b > i {
    background:
        linear-gradient(#d7e7a8, #d7e7a8) top / 100% 14px no-repeat,
        #fff;
}

.shop-cms-wire-checks > i {
    width: 100%;
    height: 8px;
    background:
        linear-gradient(#99cc22, #99cc22) left center / 8px 8px no-repeat,
        linear-gradient(#d5dbd0, #d5dbd0) 14px center / calc(100% - 14px) 4px no-repeat;
}

.shop-cms-wire-cta .wire-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 8px;
    border-radius: 6px;
    background: #99cc22;
}

.shop-cms-wire-cta .wire-cta > i {
    width: 46%;
    height: 6px;
    border-radius: 99px;
    background: rgba(35, 35, 35, .35);
}

.shop-cms-wire-cta .wire-cta > b {
    width: 22px;
    height: 10px;
    border-radius: 99px;
    background: #fff;
}

.shop-cms-wire-categories .is-tiles {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
}

.shop-cms-wire-categories .is-tiles > i {
    height: 22px;
    border-radius: 4px;
    background: #fff;
    box-shadow: inset 0 0 0 1px #e1e6df;
}

.shop-cms-wire-modal .wire-modal {
    display: grid;
    gap: 5px;
    width: 70%;
    margin: 8px auto;
    padding: 8px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(24, 28, 54, .12);
}

.shop-cms-wire-modal .wire-modal > i {
    height: 6px;
    border-radius: 99px;
    background: #d5dbd0;
}

.shop-cms-wire-modal .wire-modal > b {
    width: 36px;
    height: 10px;
    border-radius: 99px;
    background: #99cc22;
}

.shop-cms-preview-toolbar strong {
    color: #35404b;
    font-size: 11px;
}

.shop-cms-preview-toolbar span {
    color: #8a929c;
    font-size: 9px;
}

.shop-cms-preview-title > span:last-child {
    padding: 2px 7px;
    border-radius: 999px;
    background: #f1f3f4;
}

.shop-cms-preview-actions {
    justify-content: flex-end;
    min-width: 0;
}

.shop-cms-preview-actions > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-preview-actions select {
    min-width: 130px;
    height: 28px;
    padding: 0 26px 0 8px;
    border: 1px solid #d8dde3;
    border-radius: 6px;
    background: #fff;
    color: #39434e;
    font-size: 10px;
}

.shop-cms-preview-actions .k-button {
    white-space: nowrap;
}

.shop-cms-preview-canvas {
    overflow: visible;
    padding: 12px;
    background:
        linear-gradient(45deg, rgba(0, 0, 0, .018) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(0, 0, 0, .018) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, .018) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, .018) 75%);
    background-position: 0 0, 0 6px, 6px -6px, -6px 0;
    background-size: 12px 12px;
}

.shop-cms-preview-canvas > .content-page {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(26, 37, 48, .08);
    zoom: .9;
}

.shop-cms-preview-pane .content-page {
    padding: 1.1rem 1.1rem 2rem;
}

.shop-cms-preview-pane .content-card p + p {
    margin-top: 1rem;
}

.shop-cms-preview-block {
    position: relative;
    cursor: pointer;
    border-radius: .75rem;
    transition: outline-color .16s ease, box-shadow .16s ease;
}

.shop-cms-preview-block:has(.shop-cms-enquiry-preview) {
    padding-top: 3.2rem;
}

.shop-cms-preview-block a {
    pointer-events: none;
}

.shop-cms-preview-block:hover {
    outline: 1px dashed rgba(143, 197, 22, .75);
    outline-offset: 3px;
}

.shop-cms-preview-block.is-selected {
    outline: 2px solid #93c51e;
    outline-offset: 4px;
    box-shadow: 0 0 0 6px rgba(147, 197, 30, .08);
}

.shop-cms-preview-block.is-hidden > :not(.shop-cms-preview-block-toolbar) {
    opacity: .48;
}

.shop-cms-preview-block-toolbar {
    position: absolute;
    top: .65rem;
    right: .65rem;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: .65rem;
    max-width: calc(100% - 1.3rem);
    padding: .38rem;
    border: 1px solid rgba(205, 214, 222, .96);
    border-radius: .65rem;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 .3rem 1rem rgba(31, 42, 55, .16);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-.2rem);
    transition: opacity .15s ease, transform .15s ease;
    backdrop-filter: blur(8px);
}

.shop-cms-preview-block:hover .shop-cms-preview-block-toolbar,
.shop-cms-preview-block.is-selected .shop-cms-preview-block-toolbar,
.shop-cms-preview-block:focus-within .shop-cms-preview-block-toolbar {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.shop-cms-preview-block-identity,
.shop-cms-preview-block-actions {
    display: flex;
    align-items: center;
    min-width: 0;
}

.shop-cms-preview-block-identity {
    gap: .45rem;
}

.shop-cms-preview-block-identity strong {
    overflow: hidden;
    color: #2f3944;
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-preview-block-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.55rem;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: .4rem;
    background: #92c520;
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
}

.shop-cms-preview-block-status {
    flex: 0 0 auto;
    padding: .16rem .42rem;
    border-radius: 999px;
    background: #f0f7e2;
    color: #5d7f0c;
    font-size: .58rem;
    font-weight: 750;
}

.shop-cms-preview-block-status.is-hidden {
    background: #f0f2f4;
    color: #7a8490;
}

.shop-cms-preview-block-actions {
    gap: .2rem;
}

.shop-cms-preview-edit,
.shop-cms-preview-block-actions .k-button {
    min-height: 1.65rem;
    border: 1px solid #dfe3e7;
    border-radius: .38rem;
    background: #fff;
    color: #4d5965;
}

.shop-cms-preview-edit {
    padding: 0 .55rem;
    font: 700 .62rem/1 sans-serif;
    cursor: pointer;
}

.shop-cms-preview-block-actions .k-button {
    width: 1.65rem;
    min-width: 1.65rem;
    height: 1.65rem;
    padding: 0;
}

.shop-cms-preview-edit:hover,
.shop-cms-preview-block-actions .k-button:hover {
    border-color: #9bc931;
    color: #5f810c;
}

.shop-cms-preview-block-actions .shop-cms-preview-delete:hover {
    border-color: #efb2b2;
    color: #c23a3a;
}

.shop-cms-preview-edit:focus-visible,
.shop-cms-preview-block-toolbar .k-button:focus-visible,
.shop-cms-preview-actions select:focus-visible {
    outline: 2px solid #93c51e;
    outline-offset: 2px;
}

.shop-cms-lang-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 0;
    padding: 3px;
    border: 1px solid #e0e4e8;
    border-radius: 9px;
    background: #f5f7f8;
}

.shop-cms-lang-tabs button:not(.shop-cms-lang-tab) {
    min-height: 29px;
    margin: 0;
    padding: 4px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #6c7580;
    font-size: 10px;
    font-weight: 650;
    cursor: pointer;
}

.shop-cms-lang-tabs button:not(.shop-cms-lang-tab):hover {
    background: #fff;
    color: #39434e;
}

.shop-cms-lang-tabs button:not(.shop-cms-lang-tab).is-active {
    background: #fff;
    color: #56780b;
    box-shadow: 0 1px 4px rgba(31, 42, 55, .12);
}

.shop-cms-field {
    display: grid;
    gap: 5px;
    margin-bottom: 12px;
}

.shop-cms-field:last-child {
    margin-bottom: 0;
}

.shop-cms-field > label {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    color: #56606b;
    font-size: 10px;
    font-weight: 750;
}

.shop-cms-field > label > span {
    flex-basis: 100%;
    color: #9aa1aa;
    font-size: 9px;
    font-weight: 500;
    line-height: 1.35;
}

.shop-cms-field .k-input,
.shop-cms-field .k-textbox,
.shop-cms-field .k-numerictextbox,
.shop-cms-field .k-combobox {
    width: 100%;
    min-width: 0;
    min-height: 32px;
    box-sizing: border-box;
    border-color: #d8dde3;
    background: #fff;
}

.shop-cms-field .k-input:focus-within,
.shop-cms-field .k-textbox:focus-within,
.shop-cms-field .k-numerictextbox:focus-within,
.shop-cms-field .k-combobox:focus-within {
    border-color: #98c832;
    box-shadow: 0 0 0 2px rgba(152, 200, 50, .12);
}

.shop-cms-icon-picker-wrap {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
}

.shop-cms-icon-picker-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    border: 1px solid #d8dde3;
    border-radius: 6px;
    background: #f7f8f9;
    color: #2f363d;
    font-size: 16px;
}

.shop-cms-icon-picker-preview.is-empty {
    color: #c2c7cc;
}

.shop-cms-icon-picker-wrap .k-combobox {
    flex: 1 1 auto;
}

.shop-cms-icon-option {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    min-height: 36px;
}

.shop-cms-icon-option i {
    flex: 0 0 1.15em;
    width: 1.15em;
    text-align: center;
    font-size: 16px;
    line-height: 1;
}

.shop-cms-icon-option span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}


.shop-cms-compact-field {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.shop-cms-compact-field > label {
    display: grid;
    justify-content: start;
}

.shop-cms-subsection-title {
    margin: 18px 0 9px;
    color: #7c8590;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.shop-cms-nested-card,
.shop-cms-nested-details {
    margin-bottom: 8px;
    border: 1px solid #e1e5e8;
    border-radius: 9px;
    background: #f9fafb;
}

.shop-cms-nested-card {
    padding: 11px;
}

.shop-cms-nested-card-title {
    margin-bottom: 9px;
    color: #3b4550;
    font-size: 10px;
    font-weight: 800;
}

.shop-cms-nested-details > summary {
    min-height: 42px;
    padding: 0 10px;
    color: #3b4550;
    font-size: 10px;
    font-weight: 750;
}

.shop-cms-nested-details > summary > span:nth-child(2) {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-card-number {
    flex-basis: 23px;
    width: 23px;
    height: 23px;
}

.shop-cms-nested-details-body {
    padding: 11px;
    border-top: 1px solid #e1e5e8;
    background: #fff;
    border-radius: 0 0 9px 9px;
}

.shop-cms-two-fields,
.shop-cms-three-fields {
    display: grid;
    align-items: start;
    gap: 9px;
}

.shop-cms-two-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-cms-three-fields {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(150px, .65fr);
}

.shop-cms-two-fields > .shop-cms-field,
.shop-cms-three-fields > .shop-cms-field {
    min-width: 0;
}

.shop-cms-two-fields > .shop-cms-field > label,
.shop-cms-three-fields > .shop-cms-field > label {
    min-height: 14px;
    line-height: 14px;
}

.shop-cms-stat-grid {
    display: grid;
    gap: 7px;
}

@media (max-width: 1180px) {
    .shop-cms-editor {
        grid-template-columns: minmax(330px, 370px) minmax(500px, 1fr);
    }

    .shop-cms-workspace-toolbar > div:first-child {
        display: none;
    }

    .shop-cms-workspace-toolbar {
        justify-content: flex-end;
    }

    .shop-cms-preview-actions > span {
        display: none;
    }
}

@media (max-width: 920px) {
    .shop-cms-editor {
        grid-template-columns: 1fr;
    }

    .shop-cms-inspector {
        max-height: none;
    }

    .shop-cms-preview-pane {
        order: -1;
    }
}

@media (max-width: 620px) {
    .shop-cms-workspace-toolbar,
    .shop-cms-header,
    .shop-cms-header .dropdown-detail-header-tools {
        align-items: stretch;
    }

    .shop-cms-workspace-toolbar,
    .shop-cms-header {
        flex-direction: column;
    }

    .shop-cms-lang-tabs {
        width: 100%;
    }

    .shop-cms-lang-tabs button {
        flex: 1;
    }

    .shop-cms-two-fields,
    .shop-cms-three-fields {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .shop-cms-preview-toolbar {
        grid-template-columns: 1fr;
        padding: 8px 10px 0;
    }

    .shop-cms-preview-langs {
        margin: 0 -10px;
        padding: 8px 10px 10px;
    }

    .shop-cms-preview-actions {
        justify-content: stretch;
    }

    .shop-cms-preview-actions .shop-cms-block-picker {
        flex: 1;
        min-width: 0;
    }

    .shop-cms-block-picker-preview {
        right: auto;
        left: 0;
        top: auto !important;
        bottom: calc(100% + 8px);
    }

    .shop-cms-preview-block-toolbar {
        align-items: flex-end;
        flex-direction: column;
    }

    .shop-cms-block-modal-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
        padding: 10px 14px;
    }

    .shop-cms-block-modal-body {
        padding: 14px;
    }

    .shop-cms-block-modal .dropdown-modal-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .shop-cms-block-modal .dropdown-modal-actions > div {
        justify-content: flex-end;
        margin-left: 0;
        margin-inline-start: 0;
    }
}

.shop-cms-lang-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 4px 10px 4px 4px;
    border: 1px solid #d5dde8;
    border-radius: 10px;
    background: #fff;
    color: #344054;
    font: inherit;
    cursor: pointer;
    box-shadow: none;
}

.shop-cms-lang-tab:hover {
    border-color: #b8c9db;
    background: #f8fafc;
}

.shop-cms-lang-tab.is-active {
    border-color: #99cc22;
    background: #f4fbe6;
}

.shop-cms-lang-tab-copy {
    display: grid;
    gap: 0;
    text-align: left;
}

.shop-cms-lang-tab-copy strong {
    color: #1f2937;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.shop-cms-lang-tab-copy span {
    color: #667085;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .02em;
    line-height: 1.2;
}

.shop-cms-nav-page .shop-cms-field {
    display: grid;
    gap: 6px;
    min-width: 0;
    margin-bottom: 0;
}

.shop-cms-nav-page .shop-cms-field label {
    color: #596575;
    font-size: 11px;
    font-weight: 700;
}

.shop-cms-nav-page {
    max-width: 980px;
    padding-bottom: 32px;
}

.shop-cms-nav-page > .shop-cms-lang-tabs {
    position: sticky;
    top: 0;
    z-index: 5;
    margin-bottom: 14px;
    padding: 5px;
    background: rgba(245, 247, 248, .96);
    box-shadow: 0 4px 12px rgba(31, 42, 55, .05);
    backdrop-filter: blur(8px);
}

.shop-cms-nav-columns {
    display: grid;
    gap: 14px;
    width: 100%;
}

.shop-cms-nav-page .dropdown-list-card {
    max-width: none;
}

.shop-cms-nav-column {
    overflow: hidden;
    border: 1px solid #dfe4e8;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(31, 42, 55, .05);
}

.shop-cms-nav-column-header {
    min-height: 64px;
    padding: 0 16px;
    border-bottom: 1px solid #e5e9ec;
    background: #fbfcfc;
}

.shop-cms-nav-column-header,
.shop-cms-nav-column-header > div {
    display: flex;
    align-items: center;
}

.shop-cms-nav-column-header > div {
    gap: 10px;
}

.shop-cms-nav-column-header > div > span:last-child {
    display: grid;
}

.shop-cms-nav-column-header strong {
    color: #27313c;
    font-size: 14px;
}

.shop-cms-nav-column-header small {
    margin-top: 1px;
    color: #89929d;
    font-size: 10px;
}

.shop-cms-nav-column-body {
    padding: 14px 16px 16px;
}

.shop-cms-nav-create {
    margin-bottom: 14px;
    overflow: hidden;
    border: 1px dashed #cbd3da;
    border-radius: 9px;
    background: #fafbfb;
}

.shop-cms-nav-create > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 11px;
    color: #475362;
    cursor: pointer;
    list-style: none;
}

.shop-cms-nav-create > summary::-webkit-details-marker {
    display: none;
}

.shop-cms-nav-create > summary > span:nth-child(2) {
    display: grid;
    flex: 1;
}

.shop-cms-nav-create > summary strong {
    font-size: 11px;
}

.shop-cms-nav-create > summary small {
    color: #929aa4;
    font-size: 9px;
    font-weight: 500;
}

.shop-cms-nav-add-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #edf5dd;
    color: #658b0c;
    font-size: 17px;
    line-height: 1;
}

.shop-cms-nav-create[open] > summary {
    border-bottom: 1px solid #e2e6e9;
    background: #f6f8f8;
}

.shop-cms-nav-create[open] .shop-cms-chevron {
    transform: rotate(180deg);
}

.shop-cms-nav-create-body {
    display: grid;
    gap: 12px;
    padding: 13px;
    background: #fff;
}

.shop-cms-nav-create-target {
    display: grid;
    grid-template-columns: minmax(150px, .65fr) minmax(220px, 1.35fr);
    gap: 10px;
}

.shop-cms-nav-fixed-target {
    display: flex;
    align-items: center;
    min-height: 32px;
    padding: 0 10px;
    border: 1px solid #e0e4e8;
    border-radius: 6px;
    background: #f5f7f8;
    color: #697481;
    font-size: 11px;
}

.shop-cms-nav-create-actions {
    display: flex;
    justify-content: flex-end;
}

.shop-cms-nav-item-list {
    display: grid;
    gap: 7px;
}

.shop-cms-nav-item-list .shop-cms-block-row {
    align-items: flex-start;
    gap: 10px;
    min-height: 0;
    padding: 10px;
}

.shop-cms-nav-position {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-top: 1px;
    border-radius: 7px;
    background: #eef1f3;
    color: #727d89;
    font-size: 11px;
    font-weight: 800;
}

.shop-cms-nav-item .meta {
    display: grid;
    gap: 8px;
    padding: 0;
    cursor: default;
}

.shop-cms-nav-item-title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px 8px;
    min-width: 0;
}

.shop-cms-nav-item-title strong {
    overflow: hidden;
    color: #2f3944;
    font-size: 12px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-nav-item-target {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid #edf0f2;
    border-radius: 6px;
    background: #f8fafb;
}

.shop-cms-nav-item-target > span {
    flex: 0 0 auto;
    color: #929aa4;
    font-size: 9px;
    font-weight: 750;
    text-transform: uppercase;
}

.shop-cms-nav-item-target > strong {
    overflow: hidden;
    color: #52606d;
    font-size: 10px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-nav-item-kind {
    color: #8a939e;
    font-size: 9px;
}

.shop-cms-nav-item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.shop-cms-nav-status {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    padding: 4px 8px;
    border: 1px solid #d9dee3;
    border-radius: 999px;
    background: #f0f2f4;
    color: #697481;
    font-size: 10px;
    font-weight: 750;
}

.shop-cms-nav-status .k-svg-icon {
    width: 13px;
    height: 13px;
}

.shop-cms-nav-status.is-visible {
    border-color: #cce59a;
    background: #f1f8e5;
    color: #52720a;
}

.shop-cms-nav-status.is-hidden {
    border-color: #d9dee3;
    background: #f3f4f5;
    color: #66717d;
}

.shop-cms-nav-item-actions {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: 5px;
    padding-top: 7px;
    border-top: 1px solid #edf0f2;
}

.shop-cms-nav-item-actions .k-button {
    min-height: 27px;
    padding: 3px 8px;
    border-color: #e0e4e7;
    background: #fff;
    color: #606c79;
    font-size: 10px;
}

.shop-cms-nav-item-actions .shop-cms-nav-visibility-action.is-visible {
    border-color: #afd569;
    background: #eff8df;
    color: #4f7208;
    font-weight: 750;
}

.shop-cms-nav-item-actions .shop-cms-nav-visibility-action.is-hidden {
    border-color: #d9dee3;
    background: #f3f4f5;
    color: #66717d;
}

.shop-cms-nav-order-actions {
    display: inline-flex;
    gap: 3px;
    margin-left: auto;
}

.shop-cms-nav-edit-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -2px 0 16px;
    padding: 10px;
    border: 1px solid #e4e8eb;
    border-radius: 8px;
    background: #f8fafb;
}

.shop-cms-nav-edit-summary > span:last-child {
    display: grid;
    min-width: 0;
}

.shop-cms-nav-edit-summary strong {
    overflow: hidden;
    color: #2f3944;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-cms-nav-edit-summary small {
    margin-top: 1px;
    color: #89929d;
    font-size: 9px;
}

.shop-cms-nav-edit-fields {
    display: grid;
    gap: 2px;
}

.shop-cms-nav-order-actions .k-button,
.shop-cms-nav-item-actions .shop-cms-nav-delete {
    width: 27px;
    min-width: 27px;
    padding: 0;
}

.shop-cms-nav-item-actions .shop-cms-nav-delete {
    color: #a85454;
}

@media (max-width: 620px) {
    .shop-cms-nav-create-target {
        grid-template-columns: 1fr;
    }

    .shop-cms-nav-column-body {
        padding: 10px;
    }

    .shop-cms-nav-item-actions {
        flex-wrap: wrap;
    }

    .shop-cms-nav-order-actions {
        margin-left: 0;
    }
}

.shop-cms-slot-picker {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e7eaed;
}

.shop-cms-slot-picker-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.shop-cms-slot-picker-title {
    margin: 0;
}

.shop-cms-slot-count {
    color: #818a96;
    font-size: 11px;
}

.shop-cms-slot-list {
    display: grid;
    gap: 6px;
    margin: 0 0 10px;
    padding: 0;
    list-style: none;
}

.shop-cms-slot-row,
.shop-cms-slot-add {
    display: grid;
    align-items: center;
    gap: 8px;
}

.shop-cms-slot-row {
    grid-template-columns: 70px minmax(0, 1fr) auto;
}

.shop-cms-slot-add {
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: 4px;
}

.shop-cms-slot-delete.k-button {
    width: 32px;
    min-width: 32px;
    padding: 0;
    color: #667085;
}

.shop-cms-slot-delete.k-button:hover {
    border-color: #fecaca;
    background: #fef2f2;
    color: #dc2626;
}

.shop-cms-image-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.shop-cms-framer {
    display: grid;
    gap: 10px;
    max-width: 26rem;
}

.shop-cms-framer-stage {
    position: relative;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border: 1px solid #e7e7e7;
    border-radius: 10px;
    background:
        radial-gradient(circle at 88% 20%, rgba(153, 204, 34, 0.22), transparent 27%),
        linear-gradient(135deg, #f7f8f5 0%, #ffffff 72%);
    touch-action: none;
    user-select: none;
}

.shop-cms-framer-stage img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.shop-cms-framer-stage::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f7f8f5 0%, rgba(247, 248, 245, 0) 42%);
    content: "";
    pointer-events: none;
}

.shop-cms-framer-stage.is-card {
    aspect-ratio: 16 / 10;
    background: #f5f5f5;
}

.shop-cms-framer-stage.is-card::after {
    display: none;
}

.shop-cms-framer-stage.is-framable {
    cursor: grab;
}

.shop-cms-framer-stage.is-dragging {
    cursor: grabbing;
}

.shop-cms-framer-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #707070;
}

.shop-cms-framer-controls input[type="range"] {
    flex: 1 1 140px;
    accent-color: #99cc22;
}

.shop-cms-framer-controls strong {
    min-width: 3.2rem;
    color: #232323;
    font-variant-numeric: tabular-nums;
}

.shop-cms-framer-reset:hover,
.shop-cms-framer-reset:focus-visible {
    border-color: #d8e9b0;
    background: #f5f9ec;
    color: #56780b;
}

.shop-cms-framer-hint {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(35, 35, 35, 0.72);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    pointer-events: none;
    z-index: 1;
}

.shop-cms-image-upload,
.shop-cms-image-remove {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.shop-cms-image-upload {
    overflow: hidden;
    background: #99cc22;
    color: #fff;
}

.shop-cms-image-upload:hover,
.shop-cms-image-upload:focus-within {
    background: #789f1d;
}

.shop-cms-image-upload.is-busy {
    opacity: 0.7;
    pointer-events: none;
}

.shop-cms-image-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.shop-cms-image-remove {
    border: 1px solid #e7e7e7;
    background: #fff;
    color: #232323;
}

.shop-cms-image-remove:hover,
.shop-cms-image-remove:focus-visible {
    border-color: #fecaca;
    background: #fef2f2;
    color: #dc2626;
}

.shop-cms-image-remove:disabled {
    opacity: 0.6;
    cursor: default;
}

.shop-cms-image-message {
    margin: 0;
    color: #56780b;
    font-size: 12px;
}

.shop-cms-image-message.is-error {
    color: #dc2626;
}
