body.page-create-store .site-shell {
    padding-top: 96px;
    padding-bottom: 40px;
}

body.page-create-store {
    --lh-heading: #0f172a;
    --lh-muted: #73788e;
    --lh-plum: #0243fd;
}

.page-create-store .page-container {
    max-width: 1180px;
}

.create-store-shell {
    display: grid;
    gap: 18px;
}

.create-store-header-shell {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 30;
    padding: 20px 18px 0;
}

.create-store-header-container {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.create-store-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    min-height: 72px;
    padding: 0 24px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: 0 14px 38px rgba(31, 35, 52, 0.09);
    backdrop-filter: blur(18px);
}

.create-store-header-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.create-store-header-brand .site-brand-logo--wordmark {
    width: auto;
    height: 30px;
}

.create-store-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.create-store-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.create-store-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.create-store-intro {
    display: grid;
    gap: 10px;
    width: min(100%, 1180px);
    margin: 0 auto;
}

.create-store-card {
    display: grid;
    gap: 18px;
    padding: 18px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(26px);
}

body.page-create-store:not(.page-create-store-success) .create-store-card {
    width: min(100%, 1180px);
    margin: 0 auto;
}

.create-store-progress {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
}

.create-store-progress-step {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 18px;
    border: 1px solid rgba(203, 213, 225, 0.52);
    background: rgba(255, 255, 255, 0.68);
    color: #94a3b8;
    text-align: center;
}

.create-store-progress-step.is-active {
    border-color: rgba(var(--app-primary-rgb), 0.22);
    background: rgba(var(--app-primary-rgb), 0.08);
    color: var(--app-primary);
}

.create-store-progress-step.is-complete {
    border-color: rgba(34, 197, 94, 0.18);
    background: rgba(34, 197, 94, 0.08);
    color: #166534;
}

.create-store-progress-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    font-size: 13px;
    font-weight: 700;
}

.create-store-progress-step.is-active .create-store-progress-badge {
    background: rgba(var(--app-primary-rgb), 0.16);
}

.create-store-progress-step.is-complete .create-store-progress-badge {
    background: rgba(34, 197, 94, 0.16);
}

.create-store-progress-label {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
}

.create-store-surface {
    display: grid;
    gap: 22px;
}

.create-store-title {
    margin: 0;
    margin-block: 8px 4px;
    max-width: 780px;
    color: var(--app-text);
    font-size: clamp(1.9rem, 5vw, 2.7rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.create-store-inline-flash {
    margin-bottom: 0;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 500;
    box-shadow: none;
}

.create-store-inline-flash.is-hidden {
    display: none;
}

.create-store-inline-flash.is-success {
    border: 1px solid rgba(20, 83, 45, 0.16);
    background: rgba(20, 83, 45, 0.06);
    color: #166534;
}

.create-store-inline-flash.is-error {
    border: 1px solid rgba(180, 35, 24, 0.18);
    background: rgba(180, 35, 24, 0.06);
    color: #b42318;
}

.create-store-form {
    display: grid;
    gap: 18px;
}

.create-store-step {
    display: none;
    gap: 20px;
}

.create-store-step.is-active {
    display: grid;
}

.create-store-step-header {
    display: grid;
    gap: 10px;
}

.create-store-step-title {
    margin: 0;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
}

.create-store-compact-subtitle {
    margin: 0;
    font-size: 1rem;
    letter-spacing: -0.03em;
}

.create-store-account-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
    border: 1px solid rgba(var(--app-primary-rgb), 0.16);
    border-radius: 18px;
    background: rgba(var(--app-primary-rgb), 0.055);
}

.create-store-account-summary > div {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.create-store-account-summary span {
    color: var(--app-text-muted);
    font-size: 12px;
    font-weight: 700;
}

.create-store-account-summary strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--app-text);
    font-size: 13.5px;
}

.create-store-fields {
    display: grid;
    gap: 16px;
}

.create-store-field {
    display: grid;
}

.create-store-field > label {
    margin-bottom: 0 !important;
    font-size: 16px !important;
}

.create-store-help-text {
    margin: 0 0 7px;
    color: var(--app-text-muted);
    font-size: 13px;
    line-height: 1.45;
}

.create-store-code-help {
    margin-bottom: 16px;
}

.create-store-field input:not([type="checkbox"]):not([type="radio"]) {
    min-height: unset;
    padding-block: 11px !important;
}

.create-store-field .iti {
    width: 100%;
    --iti-border-color: rgba(203, 213, 225, 0.9);
    --iti-dropdown-bg: #ffffff;
    --iti-hover-color: rgba(var(--app-primary-rgb), 0.07);
    --iti-icon-color: #64748b;
}

.create-store-field .iti__tel-input {
    width: 100%;
    min-height: 54px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.create-store-field .iti__tel-input:focus {
    border-color: rgba(var(--app-primary-rgb), 0.55);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(var(--app-primary-rgb), 0.12);
    outline: 0;
}

.create-store-field .iti__country-container {
    padding: 5px;
}

.create-store-field .iti__selected-country {
    min-width: 92px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.035);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #0f172a;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
    box-shadow: none !important;
}

.create-store-field .iti__selected-country-primary {
    padding-right: 0;
    padding-left: 10px;
}

.create-store-field .iti__flag {
    border-radius: 3px;
    box-shadow: none;
}

.create-store-field .iti__selected-dial-code {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #334155;
    margin-right: 10px;
}

.create-store-field .iti__arrow {
    margin-left: 9px;
    border-color: #64748b;
}

.create-store-field .iti:focus-within .iti__selected-country {
    border-color: rgba(var(--app-primary-rgb), 0.24);
    background: rgba(var(--app-primary-rgb), 0.08);
    color: var(--app-primary);
}

.create-store-field .iti:focus-within .iti__selected-dial-code,
.create-store-field .iti:focus-within .iti__arrow {
    color: var(--app-primary);
    border-color: var(--app-primary);
}

.create-store-field .iti--allow-dropdown .iti__country-container:not(:has(+ input[disabled])):not(:has(+ input[readonly])) .iti__selected-country-primary:hover {
    background: transparent;
}

.create-store-field .iti__dropdown-content,
body.page-create-store .iti--container .iti__dropdown-content {
    overflow: hidden;
    border: 1px solid rgba(203, 213, 225, 0.92);
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.create-store-field .iti--inline-dropdown .iti__dropdown-content {
    z-index: 40;
    margin-top: -8px;
}

.create-store-field .iti__search-input,
body.page-create-store .iti--container .iti__search-input {
    min-height: 42px !important;
    border: 0;
    border-radius: 0;
    background: #ffffff;
    color: #0f172a;
    font-size: 14px;
    box-shadow: none;
}

.create-store-field .iti__search-input {
    padding-left: calc(var(--iti-spacer-horizontal) + var(--iti-globe-icon-size) + var(--iti-spacer-horizontal)) !important;
  padding-right: calc(var(--iti-spacer-horizontal) + var(--iti-clear-icon-size) + var(--iti-spacer-horizontal)) !important;
}

.create-store-field .iti__search-input:focus,
body.page-create-store .iti--container .iti__search-input:focus {
    outline: 0;
    box-shadow: none;
}

.create-store-field .iti__search-input-wrapper,
body.page-create-store .iti--container .iti__search-input-wrapper {
    border-bottom-color: rgba(226, 232, 240, 0.95);
    background: #ffffff;
}

.create-store-field .iti__country-list,
body.page-create-store .iti--container .iti__country-list {
    background: #ffffff;
}

.create-store-field .iti__country,
body.page-create-store .iti--container .iti__country {
    gap: 10px;
    padding: 9px 12px;
    color: #0f172a;
    font-size: 14px;
}

.create-store-field .iti__country.iti__highlight,
body.page-create-store .iti--container .iti__country.iti__highlight {
    background: rgba(var(--app-primary-rgb), 0.07);
}

.create-store-field .iti__dial-code,
body.page-create-store .iti--container .iti__dial-code {
    color: #64748b;
    font-weight: 650;
}

body.page-create-store .iti--fullscreen-popup.iti--container {
    padding: 18px;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(8px);
}

.create-store-loading-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid rgba(var(--app-primary-rgb), 0.14);
    border-radius: 18px;
    background: rgba(var(--app-primary-rgb), 0.06);
    color: var(--app-text);
}

.create-store-loading-card[hidden],
.create-store-send-code-hidden {
    display: none;
}

.create-store-loading-card strong,
.create-store-loading-card span {
    display: block;
}

.create-store-loading-card span {
    margin-top: 3px;
    color: var(--app-text-muted);
    font-size: 14px;
}

.create-store-spinner {
    width: 28px;
    height: 28px;
    border: 3px solid rgba(var(--app-primary-rgb), 0.16);
    border-top-color: var(--app-primary);
    border-radius: 999px;
    animation: createStoreSpin 0.8s linear infinite;
    flex: 0 0 auto;
}

.create-store-button-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #ffffff;
    border-radius: 999px;
    animation: createStoreSpin 0.8s linear infinite;
    flex: 0 0 auto;
}

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

.create-store-password-input {
    position: relative;
}

.create-store-password-input input {
    padding-right: 64px;
}

.create-store-password-input:focus-within .create-store-password-toggle {
    border-left-color: rgba(var(--app-primary-rgb), 0.22);
    color: var(--app-primary);
}

.create-store-password-toggle {
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: auto;
    padding: 0;
    border: 0;
    border-left: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 0 13px 13px 0;
    background: transparent;
    color: #64748b;
    box-shadow: none;
    filter: none;
    transform: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    z-index: 1;
}

.create-store-password-toggle:hover {
    background: rgba(var(--app-primary-rgb), 0.06);
    color: var(--app-primary);
    box-shadow: none;
    filter: none;
    transform: none;
}

.create-store-password-toggle:focus-visible {
    outline: 0;
    background: rgba(var(--app-primary-rgb), 0.08);
    color: var(--app-primary);
    box-shadow: none;
    filter: none;
    transform: none;
}

.create-store-password-toggle i {
    font-size: 18px;
    line-height: 1;
}

.create-store-domain-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--app-border-strong);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}


.create-store-domain-input:focus-within {
    border-color: rgba(var(--app-primary-rgb), 0.55);
    box-shadow: 0 0 0 4px rgba(var(--app-primary-rgb), 0.12);
    background: #ffffff;
}

.create-store-domain-input input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 52px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.create-store-domain-input #subdomain {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.create-store-domain-input input:focus {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.create-store-domain-suffix {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0 14px;
    border-left: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(var(--app-primary-rgb), 0.05);
    color: var(--app-primary);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.create-store-inline-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    color: var(--app-text-muted);
    font-size: 14px;
}

.create-store-inline-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.44);
}

.create-store-inline-status.is-checking {
    color: #0f172a;
}

.create-store-inline-status.is-valid {
    color: #166534;
}

.create-store-inline-status.is-valid .create-store-inline-status-dot {
    background: #22c55e;
}

.create-store-inline-status.is-error {
    color: #b91c1c;
}

.create-store-inline-status.is-error .create-store-inline-status-dot {
    background: #ef4444;
}

.create-store-field .error-text a {
    color: inherit;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.create-store-field .error-text {
    white-space: pre-line;
}

.create-store-note-box {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(var(--app-primary-rgb), 0.06);
    border: 1px solid rgba(var(--app-primary-rgb), 0.12);
    color: #475569;
    font-size: 14px;
    line-height: 1.7;
}

.create-store-note-box strong {
    color: var(--app-text);
}

.create-store-code-help {
    color: var(--app-text-muted);
    font-size: 14px;
}

.create-store-text-button {
    appearance: none;
    border: 0;
    padding: 0;
    background: none;
    color: var(--app-primary);
    font-weight: 700;
    cursor: pointer;
    box-shadow: none;
}

.create-store-text-button:hover {
    color: var(--app-primary-dark);
    filter: none;
    transform: none;
}

.page-create-store .button {
    background: var(--app-primary);
    box-shadow: none;
    filter: none;
    transform: none;
    transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.page-create-store .button:hover,
.page-create-store .button:focus-visible {
    background: var(--app-primary-dark);
    color: #ffffff;
    box-shadow: none;
    filter: none;
    transform: none;
}

.page-create-store .button-secondary {
    background: #ffffff;
    color: var(--app-primary);
    border: 1px solid rgba(var(--app-primary-rgb), 0.18);
    box-shadow: none;
}

.page-create-store .button-secondary:hover,
.page-create-store .button-secondary:focus-visible {
    background: rgba(var(--app-primary-rgb), 0.06);
    color: var(--app-primary);
    border-color: rgba(var(--app-primary-rgb), 0.24);
    box-shadow: none;
}

.create-store-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 10px;
}

.create-store-actions-between {
    justify-content: space-between;
}

.create-store-actions-end {
    justify-content: flex-end;
}

.create-store-actions-left,
.create-store-actions-right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.create-store-actions-right {
    justify-content: flex-end;
}

@media (max-width: 991px) {
    .create-store-header-shell {
        padding-top: 14px;
    }

    .create-store-header-inner {
        min-height: 66px;
        padding: 0 14px 0 18px;
    }

}

@media (max-width: 768px) {
    .create-store-success-shell .create-store-card {
        background: unset !important;
        border-radius: unset !important;
        box-shadow: unset !important;
        border: unset !important;
    }
}

@media (max-width: 575px) {
    .create-store-header-inner {
        min-height: 62px;
        border-radius: 24px;
        padding: 0 12px 0 16px;
    }

    .create-store-header-actions .button {
        font-size: 0.86rem;
        padding-right: 14px;
        padding-left: 14px;
    }

    .create-store-header-brand .site-brand-logo--wordmark {
        height: 26px;
    }

    .create-store-card {
        padding: 14px;
        border-radius: 24px;
    }

    .create-store-account-summary {
        grid-template-columns: 1fr;
    }

    .create-store-progress {
        gap: 8px;
    }

    .create-store-progress-step {
        padding: 10px 6px;
        border-radius: 16px;
    }

    .create-store-progress-label {
        font-size: 11px;
    }

    .create-store-domain-suffix {
        padding: 0 12px;
        font-size: 13px;
    }

    .create-store-actions-between {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .create-store-actions-left,
    .create-store-actions-right,
    .create-store-actions-end {
        width: 100%;
    }

    .create-store-actions-between .create-store-actions-left,
    .create-store-actions-between .create-store-actions-right {
        display: contents;
    }

    .create-store-actions-between .create-store-actions-right .button:not(.button-secondary) {
        order: 1;
        grid-column: 1 / -1;
        width: 100%;
    }

    .create-store-actions-between .create-store-actions-right .button-secondary {
        order: 2;
        width: 100%;
    }

    .create-store-actions-between .create-store-actions-left .button {
        order: 3;
        width: 100%;
    }

    .create-store-actions-end .button {
        width: 100%;
    }

}

@media (min-width: 768px) {
    body.page-create-store .site-shell {
        padding-top: 104px;
    }

    .create-store-card {
        padding: 24px;
    }

}
