*,*::after,*:before{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
:root {
    --main-color: #0069FF;
    --main-color-rgb: 0, 105, 255;

    
    
    --line-color-light: #EDEEF4;
    --line-color-dark: #C2C2C2;
    --line-color-input: #DEDEDE;
    
    --color-dark1: #222222;
    --color-dark2: #606060;
    --color-light1: #828282;
    --color-light2: #747474;
    --color-light3: #BDBDBD;
    --color-light4: #C2C2C2;
}
body{
    margin: 0;
    background-color: #f8fafd;
    font-family: "Inter", sans-serif;
}
a,
a:hover,
a:focus {
    text-decoration: none;
    cursor: pointer;
    color: var(--main-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark1);
}
input,
button,
textarea {
    font-family: inherit;
}
/*------ ScrollBar CSS Start ----*/
*::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
*::-webkit-scrollbar-track {
    background-color: #f2f2f2;
    border-radius: 10px;
}
*::-webkit-scrollbar-thumb {
    /* background-color: #dddddd; */
    background-color: #346afd;
    border-radius: 10px;
}
*{
    scrollbar-color: #f2f2f2 #dddddd;
    scrollbar-width: thin;
}
/*------ ScrollBar CSS end ----*/

/* preloader start */
.cd_preloader_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.show_loader .cd_preloader_wrapper {
    opacity: 1;
    visibility: visible;
}

.cd_preloader_wrapper .cd_logo>.cd_logo_inner>span {
    margin-right: 0;
}

.cd_preloader_wrapper .cd_logo {
    margin: 0 auto;
    width: 45px;
    height: 45px;
}

.cd_preloader_wrapper .cd_logo svg {
    width: 45px !important;
    height: auto;
}

.cd_preloader_wrapper .cd_logo img {
    width: 45px !important;
}

@-webkit-keyframes preloader_anim {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@-moz-keyframes preloader_anim {
    0% {
        -moz-transform: rotate(0deg);
    }

    100% {
        -moz-transform: rotate(360deg);
    }
}

@keyframes preloader_anim {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.content_preloader>.cd_preloader_inner {
    background-color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0px 0px 20px rgb(0, 0, 0, 0.04);
}

.content_preloader>.cd_preloader_inner>p {
    margin: 0;
    color: #1e1f28;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 500;
}

.cd_preloader_inner>.spj_loading_text {
    margin: 0;
    color: #1e1f28;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
    max-width: 480px;
    text-align: center;
}

/* preloader end */

.cd_main_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
.cd_header_wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--line-color-light);
    height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    padding: 0 26px;
    
}
.cd_body_wrapper{
    margin-top: 64px;
    padding: 10px;
    height: calc(100vh - 64px);
    position: relative;
}
.cd_header_right{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 30px;
}
.cd_header_left{
    display: flex;
    align-items: center;
    gap: 30px;
}
.cd_header_logo {
    display: flex;
    align-items: center;
    justify-content: center;
}
.cd_header_logo img {
    width: 100%;
    max-height: 26px;
}
.cs_header_title{
    text-align: center;
}
.cs_header_title > h3{
    margin: 0;
    font-size: 14px;
    color: var(--color-dark1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cs_header_title > p{
    margin: 0;
    font-size: 12px;
    color: var(--color-light1);
    margin-top: 4px;
}


.cd_design_preview_slider,
.cd_design_preview_slider .swiper,
.cd_design_preview_slider .swiper-wrapper{
    height: 100%;
}
.cd_dps_item{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafd;
}
.cd_dps_item > img{
    max-width: 100%;
    max-height: 100%;
}
.cs_image_item{
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafd;
}
.cs_image_item > .canvas-container{
    max-width: 100%;
    max-height: 100%;
}
.cs_image_item > .canvas-container > canvas{
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cd_dps_nextprev{
    width: 50%;
    height: 100%;
    top: 0;
    bottom: 0;
    margin: 0;
    outline: none;
}
.cd_dps_nextprev::after{
    display: none;
}
.cd_dps_nextprev.swiper-button-prev{
    left: 0;
    cursor: url('../images/svg/cursor_slider_prev.svg') 15 15, move;
}
.cd_dps_nextprev.swiper-button-next{
    right: 0;
    cursor: url('../images/svg/cursor_slider_next.svg') 15 15, move;
}

/* Button start */
.cd_btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    /* line-height: 38px; */
    background-color: var(--main-color);
    border: 1px solid var(--main-color);
    border-radius: 10px;
    font-size: 13px;
    color: #FFFFFF;
    font-weight: 600;
    padding: 0 16px;
    cursor: pointer;
}
.cd_btn:focus,
.cd_btn:hover{
    color: #FFFFFF;
}
.cd_btn.cd_btn_block{
    display: flex;
    width: 100%;
}
.cd_btn.cd_btn_round{
    border-radius: 80px;
}
.cd_btn.cd_btn_gray{
    background-color: #F1F1F1;
    border: none;
    color: var(--color-dark1);
    font-weight: 500;
}
.cd_btn.cd_btn_red{
    background-color: #D31510;
    border: none;
    color: #FFFFFF;
    font-weight: 500;
}
.cd_btn.cd_btn_green{
    background-color: #4CAF50;
    border: none;
    color: #FFFFFF;
    font-weight: 500;
}
.cd_btn.cd_btn_outline{
    border-color: var(--line-color-input);
    background-color: transparent;
    color: var(--color-dark1);
}
.cd_btn.cd_btn_outline:hover{
    border-color: var(--main-color);
    color: var(--main-color);
}
.cd_btn.cd_btn_link{
    background-color: transparent;
    border-color: transparent;
    color: var(--main-color);
}

.cd_btn.cd_btn_upgrade{
    background: linear-gradient(45deg, #FF9800, #FFC107);
    color: #FFFFFF;
}
/* Button end */

/* Option dropdown start */
.cd_option_dd_wrapper{
    position: relative;
}
.cd_option_dd_wrapper > .cd_option_dd_toggle{
    width: 40px;
    height: 23px;
    background-color: #FFFFFF;
    box-shadow: 0px 4px 6.3px rgba(0, 0, 0, 0.15);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.cd_option_dd_wrapper > .cd_option_dd_toggle > span{
    width: 5px;
    height: 5px;
    border-radius: 6px;
    background-color: #1D1E22;
}
.cd_option_dd_wrapper > .cd_option_dd_toggle:hover > span{
    background-color: var(--main-color);
}
.cd_option_dd_wrapper.cd_floating{
    position: absolute;
    top: 10px;
    right: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s cubic-bezier(0.71, -0.11, 0.25, 0.88);
    transform: translateY(-10px);
    z-index: 2;
}
.sp_brand_font_item:hover .cd_option_dd_wrapper.cd_floating,
.sp_color_palette_item:hover .cd_option_dd_wrapper.cd_floating,
.sp_brand_logo_item:hover .cd_option_dd_wrapper.cd_floating,
.sp_brandkit_item:hover .cd_option_dd_wrapper.cd_floating{
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
}
/* Option dropdown end */

/* dropdown start */
.cd_dropdown_wrapper{
    position: relative;
}
.cd_dropdown_toggle{
    height: 38px;
    padding: 0 30px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--color-dark1);
    box-shadow: 0px 0px 0px 1px var(--line-color-input);
    border-radius: 10px;
    position: relative;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.cd_dropdown_toggle > p{
    margin: 0;
    color: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cd_dropdown_toggle > .cd_dropdown_toggle_icon{
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cd_dropdown_toggle > span{
    position: absolute;
    top: 12px;
    right: 10px;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}
.cd_dropdown_toggle.show > span{
    transform: rotate(-180deg);
}
.cd_dropdown_dd{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #FFFFFF;
    box-shadow: 0px 4px 23.4px rgba(0, 0, 0, 0.16);
    border-radius: 11px;
    border: none;
    min-width: 220px;
    padding: 10px;
    display: none;
}
.cd_option_dd_wrapper.open .cd_dropdown_dd{
    display: block;
}
.cd_dropdown_dd.with_padding{
    padding: 8px;
}
.cd_dropdown_dd.with_padding .cd_dropdown_item{
    border-radius: 9px;
    padding: 10px;
    padding-right: 30px;
}
.cd_dropdown_dd > .cdn_search_wrapper{
    max-width: 100%;
    margin-bottom: 4px;
}

.cd_dropdown_wrapper.checkbox_dd .cd_dropdown_list > .cd_dropdown_item{
    text-overflow: ellipsis;
    overflow: hidden;
    border-bottom: 1px solid #f1f1f1;
    border-radius: 0;
    display: block;
}
.cd_dropdown_wrapper.checkbox_dd .cd_dropdown_list > .cd_dropdown_item:last-child{
    border-bottom: none;
}
.cd_dropdown_wrapper.checkbox_dd .cd_dropdown_list > .cd_dropdown_item::before{
    content: "";
    position: absolute;
    top: calc(50% - 8px);
    right: 10px;
    width: 16px;
    height: 16px;
    border: 1px solid var(--color-light3);
    border-radius: 4px;
}
.cd_dropdown_wrapper.checkbox_dd .cd_dropdown_list > .cd_dropdown_item:hover::before{
    border-color: var(--main-color);
}
.cd_dropdown_wrapper.checkbox_dd .cd_dropdown_list > .cd_dropdown_item.active::before{
    border-color: var(--main-color);
    background-color: var(--main-color);
}
.cd_dropdown_wrapper.checkbox_dd .cd_dropdown_list > .cd_dropdown_item.active::after{
    content: "";
    position: absolute;
    top: calc(50% - 4px);
    right: 13px;
    width: 10px;
    height: 6px;
    border-left: 2px solid #FFFFFF;
    border-bottom: 2px solid #FFFFFF;
    transform: rotate(-45deg);
}
.cd_dropdown_wrapper.checkbox_dd .cd_dropdown_list > .cd_dropdown_item.active{
    background-color: transparent;
}

.cd_dropdown_menu{
    background: #FFFFFF;
    box-shadow: 0px 3px 16.4px rgba(0, 0, 0, 0.13);
    border-radius: 10px;
    border: none;
}
.cd_dropdown_item{
    padding: 12px 18px;
    padding-right: 30px;
    display: grid;
    align-items: center;
    grid-template-columns: 20px auto;
    gap: 6px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
    color: var(--color-dark1);
    text-decoration: none;
}
.cd_dropdown_item.active_check,
.cd_dropdown_item.active{
    color: var(--main-color);
    background-color: rgba(var(--main-color-rgb), 0.04);
}
.cd_dropdown_item.active_check::after{
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid var(--main-color);
    border-bottom: 2px solid var(--main-color);
    transform: rotate(-45deg);
    position: absolute;
    right: 12px;
    top: calc(50% - 4px);
}
.cd_dropdown_item > .cd_dropdown_item_icon{
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cd_dropdown_item > .cd_dropdown_item_icon > img{
    max-width: 14px;
}
.cd_dropdown_item:hover{
    color: var(--main-color);
}
/* dropdown end */

.cd_upgrade_icon{
    position: absolute;
    right: 8px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(45deg, #FF9800, #FFC107); */
    background-color: #FFC107;
    color: #fff;
    width: 18px;
    height: 14px;
    border-radius: 10px;
    z-index: 1;
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24); */
}
.cd_upgrade_icon > svg{
    width: 10px;
    height: auto;
    filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
    overflow: visible;
}

/*--------------------------------------------------------------------------
NEW UI Start
--------------------------------------------------------------------------*/
.cdn_preview_wrapper{
    padding: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.cdn_preview_title{ 
    margin: 30px auto 20px;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--color-dark1);
}
.cdn_preview_box{
    border-radius: 15px;
    aspect-ratio: 900/555;
    background: #FFFFFF;
    /* box-shadow: 0px 4px 23.4px rgba(0, 0, 0, 0.16); */
    box-shadow: 0px 5px 50px 0px #0000000D;
    padding: 16px;
    margin: 16px auto;
    position: relative;
}
.cdn_preview_box .cd_design_preview_slider .swiper-wrapper .swiper-slide{
    height: initial;
}
.cdn_preview_box .cd_dps_item{
    border-radius: 12px;
    overflow: hidden;
    background-color: #FFFFFF;
    border: 1px solid #EFEFEF;
}
.cdn_preview_box .cd_dps_item > .cs_image_item{
    background-color: transparent;
}
.cdn_preview_actions{
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    max-width: 70%;
    margin: 0 auto;
}
.cdn_preview_actions > .cd_btn{
    flex: 1;
    white-space: nowrap;
}
.cdn_preview_footer{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-dark1);
    margin-top: 30px;
}
.cdn_footer_logo > img{
    height: 20px;
}
.cdn_preview_download_icon{
    position: absolute;
    top: 26px;
    right: 26px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e0edff;
    color: var(--main-color);
    z-index: 1111;
    border-radius: 8px;
    cursor: pointer;
}
.cdn_preview_download_icon:hover{
    background-color: var(--main-color);
    color: #FFFFFF;
}
.cdn_preview_download_icon > svg{
    width: 16px;
    height: auto;
}
.cdn_preview_tooltip{
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    z-index: 1;
    background-color: var(--color-dark1);
    padding: 8px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 5px);
    transition: all 0.2s;
}
.cdn_preview_download_icon:hover > .cdn_preview_tooltip{
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0px);
}
.cdn_preview_box .cd_dps_nextprev{
    width: 30px;
    height: 30px;
    top: calc(50% - 15px);
    border-radius: 30px;
    background: #FFFFFF;
    box-shadow: 0px 4px 23.4px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    color: var(--main-color);
}
.cdn_preview_box .swiper-button-prev{
    left: 10px;
}
.cdn_preview_box .swiper-button-next{
    right: 10px;
}
.cdn_preview_box .swiper-button-next svg,
.cdn_preview_box .swiper-button-prev svg{
    width: 10px;
    height: auto;
}
.cdn_preview_box .swiper-button-next.swiper-button-disabled,
.cdn_preview_box .swiper-button-prev.swiper-button-disabled{
    opacity: 0;
}
.cdn_preview_design_name_wrapper{
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 16px 0 0;
    gap: 16px;
}
.cdn_preview_design_name{
    overflow: hidden;
}
.cdn_preview_design_name > h3{
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #010101;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cdn_preview_design_name > p{
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #898989;
}
.cd_design_preview_thumb_slider{
    margin-top: 16px;
}
.cd_design_preview_thumb_slider > .swiper{
    padding-right: 4px;
}
.cd_dps_thumb_item{
    width: 86px;
    /* height: 86px; */
}
.cd_dps_thumb_item > img{
    width: 86px;
    height: 86px;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid #EBEBEB;
    transition: all 0.1s;
}
.cd_dps_thumb_item > p{
    margin: 0;
    font-size: 10px;
    text-align: center;
    color: var(--color-dark2);
    font-weight: 500;
}
.swiper-slide-thumb-active .cd_dps_thumb_item > img{
    border-color: var(--main-color);
    padding: 2px;
}
/*--------------------------------------------------------------------------
NEW UI End
--------------------------------------------------------------------------*/

@media(max-width:480px) {
    .cd_header_wrapper{
        grid-template-columns: 1fr 150px 1fr;
    }
}