/* General styles */
html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    box-sizing: border-box;
}

.cbp-plugin {
    position: relative;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}

.is-hide {
    display: none;
}

form#imageUploadForm {
    max-width: 700px;
    margin: auto;
}

p.cb-italic-font_medium {
    font-family: Open Sans;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 21.75px;
    text-align: center;
    color: rgba(0, 0, 0, 1);
}

.cbp-section {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.cbp-section img {
    display: unset !important;
}

.cbp-start-over {
    text-align: end;
    position: absolute;
    right: 0;
}

.cbp-start-over img,
.cb-previous-page img {
    position: relative;
    /* top: 2px;
    right: 4px; */
}

#cbp-step5-pages .cbp-start-over,
#cbp-step5-book .cbp-start-over,
#cbp-step7-book .cbp-start-over,
#cbp-step6-book .cbp-start-over,
#cbp-step6-pages .cbp-start-over {
    gap: 10px;
    position: absolute;
    right: 0;
    top: 0px;
}

#cbp-step5-pages .cbp-start-over a,
#cbp-step5-book .cbp-start-over a,
#cbp-step5-pages .cb-previous-page a,
#cbp-step5-book .cb-previous-page a,
#cbp-step6-pages .cbp-start-over a,
#cbp-step6-pages .cb-previous-page a,
#cbp-step6-book .cbp-start-over a,
#cbp-step6-book .cb-previous-page a,
#cbp-step7-book .cbp-start-over a,
#cbp-step7-book .cb-previous-page a,
#cbp-step8-book .cb-previous-page a {
    color: #7A7A7A;
    text-decoration: none;
    display: flex;
    gap: 10px;
}

#cbp-step7-pages .cb-previous-page a {
    color: #7A7A7A;
    text-decoration: none;
    display: flex;
    gap: 10px;
}

.cbp-title,
.cb-title {
    font-family: 'DM Serif Display', serif !important;
    font-size: 50px !important;
    font-weight: 400 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    gap: 8px;
    align-items: center;
}
.cbp-header-title .product-title{
    font-family: "DM Serif Display";
    font-size: 24px;
    font-weight: 400;
    line-height: 32.63px;
}
.cbp-header-title #cbp_pages_count{
    font-size: 24px;
    font-weight: 400;
    line-height: 32.63px;
}
.cbp-subtitle {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    font-style: italic !important;
}

.cbp-column-left,
.cbp-column-right {
    width: 48% !important;
    display: inline-block;
    vertical-align: top;
    padding: 10px;
    box-sizing: border-box;
}

.cbp-image {
    max-width: 100% !important;
    height: 250px !important;
    margin-bottom: 40px !important;
}

.cbp-toolbar {
    /* max-width: 300px; */
    position: relative;
    width: 100%;
}

.increment,
.decrement {
    background: transparent !important;
    padding: 0 !important;
    margin: 0;
    outline: none !important;
    border: none !important;
}

.cbp-btn {
    display: inline-block;
    padding: 12px 60px;
    margin: 15px 0;
    text-decoration: none !important;
    color: #000 !important;
    background-color: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    font-size: 18px !important;
    font-weight: 400 !important
}

.step5-btn {
    width: 240px;
    height: 92px;
    display: inline-block;
    text-decoration: none;

    font-family: Open Sans !important;
    font-size: 20px !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 27.24px;
    text-align: center;

    color: #ffffff;
    background-color: #236480 !important;
    outline: none;
    border: 2px solid #000000 !important;
    border-radius: 30px !important;
    /* padding: 11px 0px; */
    text-transform: unset !important;

    cursor: pointer;
    font-style: italic;
    letter-spacing: 0.07em !important;
}

.step5-btn:hover, 
.step6-btn:hover,
.cbp-tiles button {
    background-color: #236480;
    color: #ffffff; 
    border: 2px solid #000000;
}

.step5-btn-wide {
    width: 88%;
}

.cbp-btn-primary {
    background-color: #F2F2F2 !important;
}

.cbp-btn-secondary {
    color: #fff !important;
    background-color: #236480 !important;

}

.cbp-btn-next {
    font-style: italic;
    text-align: center;
}

#continue-page-btn {
    background-color: #236480 !important;
    color: #fff !important;
    font-family: 'Open Sans';
    font-style: italic;
}


.cbp-next-container {
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    align-items: center;
}

.cbp-btn-container {
    display: flex;
    justify-content: space-evenly;
}

.cbp-description {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    font-style: italic !important;
    margin: 0 !important;
    color: #000;
    margin-top: 15px !important;
    font-style: italic;
}

.cbp-price-info {
    font-family: 'Open Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 !important;
    font-style: italic !important;
}

.cbp-price-info a {
    color: #000 !important;
    text-decoration: underline !important;
}

.cbp-upload-container {
    margin: 0 auto;
    position: relative;
}

.cbp-upload-box {
    border: 1px dashed #000000;
    border-radius: 15px;
    padding: 100px 40px;
    margin-top: 20px;
}

.cbp-upload-box img {
    margin-bottom: 40px;
}

.cbp-upload-description {
    display: flex;
    justify-content: space-between;
    font-family: 'Open Sans', sans-serif !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    color: #7A7A7A;
    margin-top: 0.625rem;
}

#cover-upload .cbp-upload-description {
    position: relative;
    margin-top: 20px;
}

.cbp-images-field {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 10;
}

.cbp-selected-info,
.cbp-selected-info-modal {
    background: #97c5fe;
    color: #153a7e;
    margin-top: 20px;
    display: inline-block;
    border-radius: 50px;
    padding: 0 20px;
}

.cbp-upload-loading-bar {
    background-color: #F2F2F2;
    width: 24rem;
    height: 1.5rem;
    position: relative;
    border-radius: 25px;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.cbp-uploading-text {
    position: absolute;
    right: 10px;
    top: 2.5px;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.03px;
    color: #E5E5E5 !important;
    margin-top: 0;
    z-index: 0;
}

.cbp-upload-loading-progress {
    width: 0;
    height: 1.5rem;
    display: flex;
    justify-content: end;
    align-items: center;
    background-color: #236480;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.03px;
    border-radius: 25px;
    padding-right: 4px;
    z-index: 2;
    position: relative;
}

.cbp-uploading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 44px;
    padding-top: 5rem;
}

#modal-upload .cbp-uploading-container,
#cover-upload .cbp-uploading-container {
    gap: 4px;
    padding-top: 2rem;
}



.cbp-upload-btn {
    color: #fff !important;
    background-color: rgba(35, 100, 128, 1) !important;
    border: 2px solid #000 !important;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    padding: 12px 60px !important;
    font-family: Open Sans !important;
    font-size: 15px !important;
    font-style: italic !important;
    font-weight: 400 !important;
    line-height: 20.43px !important;
    letter-spacing: 0.07em !important;
    text-align: center !important;
    text-transform: unset !important;
}

.cbp-upload-btn-modal {
    color: #fff !important;
    background-color: #236480 !important;
    border: 2px solid #000 !important;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    padding: 12px 60px !important;
    text-transform: unset !important;
    font-style: italic !important;
}

button.cbp-cover-btn-modal {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 161px;
    color: #FFFFFF !important;

    /* Background */

    box-sizing: border-box;

    background: #236480 !important;
    border: 1px solid #000000 !important;
    border-radius: 30px !important;
    text-transform: unset !important;
}

button.cbp-cover-btn-modal:hover{
    background-color: #236480;
    color: #ffffff; 
    border: 1px solid #000000;
}

/* Container styling */
.cbp-conversion-container {
    display: flex;
    justify-content: center;
}

/* General box styling */
.cbp-conversion-container>div {
    width: 350px;
    height: 453px;
    /* margin: 0 30px; */
    background-color: #fff;
    border: 1px solid #7A7A7A;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    /* transition: transform 0.3s ease; */
    /* cursor: pointer; */
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cbp-conversion-container>div.cbp-selected {
    border: 3px solid #236480;
}

.cbp-conversion-container>div:hover {
    /* transform: scale(1.05); */
}

.cbp-icons-container {
    color: #7A7A7A;
    display: flex;
    justify-content: space-between;
    width: 100% !important;
}

.cbp-icons-container img {
    vertical-align: middle;
    margin-right: 10px;
}

.cbp-icons-container .cbp-delete {
    /*     margin-right: 60px; */
}

.cbp-delete,
.cbp-rotate {
    cursor: pointer;
    font-style: italic;
    font-family: 'Open Sans';
}

#expand-page-btn{
    font-family: 'Open Sans';
    font-style: italic;
}

.cbp-tiles {
    text-align: left;
    position: relative;
}

.cbp-tiles button {
    width: 29px;
    height: 37px;
    padding: 0;
    background: #E5E5E5 !important; 
    border: 1px solid #7a7a7a !important;
    border-radius: 5px;
    margin-right: 13px;
    margin-top: 13px;
    position: relative;
}

img#cbp-modal-upload {
    margin-right: 13px;
    margin-top: 13px;
    height: 37px !important;
    width: 29px;
}

/* .cbp-tiles button.cbp-selected::after {
    content: '\2714';
    font-size: 24px;
    color: green;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
} */

.cbp-tiles img {
    height: 35px !important;
}

.cbp-tiles button:hover {
    background: #236480 !important;
}

.cbp-tiles .cbp-active {
    background: #236480 !important;
}

/* modal popup*/

.cbp-modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100% !important;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
    transition: visibility 0s linear 0s, opacity 0s 0s, transform 0s;
}

.cbp-modal img {
    display: unset !important;
}

.cbp-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1rem 1.5rem 0.5rem;
    border: 2px solid #000;
    border-radius: 1.5rem;
    width: 25%;
    text-align: center;
    font-size: 16px;
    line-height: initial;
    font-family: 'Open Sans', sans-serif;
    font-style: italic;
    font-weight: 400;
}

#modal-upload.up_cbp .cbp-modal-content,
#cover-upload.up_cbp .cbp-modal-content {
    width: 40%;
}

#modal-upload .cbp-upload-box,
#cover-upload .cbp-upload-box {
    padding: 50px 40px;
}

#modal-upload .cbp-delete-icon,
#cover-upload .cbp-delete-icon {
    margin-bottom: 1.5rem;
}

#modal-upload .cbp-modal-subtext,
#cover-upload .cbp-modal-subtext {
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 21.75px;
    text-align: center;
    margin-bottom: 2rem;
}

.product-info .descc {
    text-align: left;
    margin-top: 22px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
}
.is-discounted{
    display: none;
}
.cbp-modal-content p {
    font-family: 'Open Sans', sans-serif !important;
    font-style: italic;
    font-weight: 500 !important;
    font-size: 16px !important;
    color: #000;
    /* margin-top: 22px; */
}

.sbp_filled_checkbox_check {
    pointer-events: none;
}

.cbp-2-btns .cbp-btn:hover{
    background-color: #ffffff;
}

.cbp-modal-content img {
    /* margin-top: 3rem; */
    /* margin-bottom: 1.5rem; */
    pointer-events: none;
}

#modal-replace-book .cbp-modal-content svg,
#modal-original-book .cbp-modal-content svg {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

.cbp-close-btn {
    width: 2.55rem;
    line-height: 2.5rem;
    text-align: center;
    font-size: 27px;
    cursor: pointer;
    border-radius: 6px;
    background-color: transparent;
    position: absolute;
    right: 11px;
}

.cbp-close-btn:hover {
    background-color: lightgray;
}

.cbp-show-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1.0);
    transition: visibility 0s linear 0s, opacity 0s 0s, transform 0s;
    z-index: 999999;
    max-width: 100% !important;
}
#elementor-lightbox-slideshow-single-img{
    z-index: 1000000 !important;
}
.cbp-modal-btn {
    display: inline-block;
    padding: 12px 60px;
    margin: 15px 0;
    text-decoration: none !important;
    color: #000 !important;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
}

.cbp-modal-btn-primary {
    background-color: #F2F2F2 !important;
}

.cbp-modal-btn-secondary {
    color: #fff !important;
    background-color: #236480 !important;
}

.cbp-page-modal {
    width: 436px;
    height: 564px;
    overflow: hidden;
    justify-content: start;
    background-color: white;
    border-radius: 13px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
    box-sizing: border-box;
    transition: width 0.3s, height 0.3s;
    aspect-ratio: 4 / 3;
    position: relative;
}

#product-modal
{
    height: auto;
}
.cbp-pick-page-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.cbp-pick-page-btn {
    text-align: center;
    font-style: italic;
    border-radius: 10px;
    margin-top: 127px;
    width: 23%;
}

.cbp-page-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease-in-out;
}

#cbp-page-image {
    width: 100%;
}

.cbp-image-container {
    width: 436px;
    height: 564px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
#modal-4-cover .cbp-image-container {
    width: initial;
    height: initial;
    aspect-ratio: 17/22;
}

.cbp-page-modal .cbp-close-button {
    position: absolute;
    right: -54px;
    top: 0;
}

.cbp-horizontal-view-btn {
    text-align: center;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    background-color: lightgray;
    position: absolute;
    right: -190px;
    top: 54px;
    padding: 4px 12px;
    border: 1px solid #000;
}

.cbp-horizontal-view-btn img {
    margin: 0;
    margin-right: 10px;
    vertical-align: middle;
}

.cbp-first-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.cbp-rotated img {
    transform: rotate(90deg);
}

.cb-previous-page a {
    color: #7A7A7A;
    text-decoration: none;
    display: flex;
    gap: 10px;
}

.cb-previous-page {
    gap: 5px;
    position: absolute;
    left: 0;
    top: 0px;
}

.cb-previous-page a {
    gap: 5px;
}



.cb-pick-pricing-option-middle-section-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3.75rem;
    margin-bottom: 5rem;
    text-align: center;
}

.cb-pick-pricing-option-middle-section-wrapper .box-layout {
    width: 294px;
    height: 437px;
    border: 1px solid #7A7A7A;
    border-radius: 15px;
    border: 1px solid #236480;
}


.cb-pick-pricing-option-middle-section-wrapper .box-layout#step5-box-layout {
    width: 350px;
    height: 453px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.physical-coloring-book-subtext {

    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 21.75px;
    text-align: center;
    color: #7A7A7A;
    text-decoration: underline;
    cursor: pointer;

}

.box-layout.awesome-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-direction: column;
    border: none;
}

.box-layout.layout-preview-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    border: none;
    justify-content: center;

}

.box-layout .preview-images-container {
    display: grid;
    grid-template-columns: 29px 29px 29px 29px 29px;
    gap: 14px;
    grid-row-gap: 10px;
    width: 205px;
    height: auto;
    margin-top: 10px;

}


.box-layout .preview-images-container .preview-container {
    width: 30px;
    height: 40px;
    border-radius: 5px;
    background-color: #E5E5E5;
    border: 1px solid #7A7A7A;
    gap: 10%;
    flex: 1 15%;
}

.box-layout .preview-images-container:last-child {
    background: none;
    border: none;
}

.box-layout .preview-images-container .preview-container.selected {

    background-color: #236480;
    border: 1px solid #000000;

}

.preview-subtext {

    font-size: 13px;
    font-style: italic;
    font-weight: 400;
    line-height: 17.67px;
    text-align: center;
    color: #7A7A7A;
    margin-top: 46px;
}

#step5-box-layout {
    overflow: hidden;
    position: relative;
}

#step5-box-layout img {
    /* width: 100%; */
    max-width: 453px;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

/* #cbp-step5-pages .cb-section-title,
#cbp-step5-book .cb-section-title,
#cbp-step6-pages .cb-section-title,
#cbp-step6-book .cb-section-title,
#cbp-step7-book .cb-section-title,
#cbp-step8-book .cb-section-title {
    margin-top: 3.5rem;
    margin-bottom: 1.75rem;
    position: relative;
} */

#cbp-step4 .cbp-btn-container {
    margin-bottom: 0px;
    margin-top: 50px;
}

#cbp-step4 button#cbp-orignal-btn {
    /*     width: 225px; */
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(122, 122, 122, 1);
    background: rgba(255, 255, 255, 1);
}

#cbp-step4 button#cbp-orignal-btn:hover {
    background: rgba(122, 122, 122, 1);
}

#cbp-step4 button#cbp-orignal-btn.cbp-active {
    border: 2px solid #236480;
}

#cbp-step4 button#cbp-orignal-btn span {
    color: rgba(122, 122, 122, 1);
    font-family: Open Sans;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 16.31px;
    text-align: left;
}

#cbp-step4 button#cbp-orignal-btn svg {
    min-width: 14px;
    min-height: 14px;
}

#cbp-step4 button#cbp-orignal-btn:hover span {
    color: rgba(255, 255, 255, 1);
}

/* modal popup*/

/* Step 5 Book Start */
#cbp-step5-book .cbp-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

#cbp-step5-book .cbp-upload-text {
    width: 100%;
    height: 100%;
    font-family: Open Sans;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 16.31px;
    text-align: center;
    color: rgba(122, 122, 122, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50px;
    margin: auto;
    pointer-events: none;
    z-index: 1;
    position: relative;
}

#cbp-step7-book .cbp-upload-text {
    width: 100%;
    height: 100%;
    font-family: Open Sans;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 16.31px;
    text-align: center;
    color: rgba(122, 122, 122, 1);
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 50px;
    margin: auto;
    pointer-events: none;
    z-index: 1;
    position: relative;
}

#cbp-step7-book .box-layout {
    cursor: default !important;
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3.8rem;
    margin-top: 2.125rem;
    margin-bottom: 5rem;
    box-sizing: border-box;

}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper::after,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper::after {
    content: '';
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
    border: 1px solid #000000;
    border-radius: 5px;
    cursor: grab;
    position: relative;
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set.dragging .left-page,
#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set.dragging .right-page,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set.dragging .left-page,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set.dragging .right-page {
    border: none;
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set::before,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set::before {
    content: attr(data-page-before);
    position: absolute;
    top: -25px;
    left: -5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.31px;
    text-align: center;
    color: #7A7A7A;
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set::after,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set::after {
    content: attr(data-page-after);
    position: absolute;
    top: -25px;
    right: -5px;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.31px;
    text-align: center;
    color: #7A7A7A;
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .box-layout,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .box-layout {
    width: 112px;
    height: 145px;
    position: relative;
    overflow: hidden;
    z-index: 10;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: center;
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .right-border-layout::after,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .right-border-layout::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #000;
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set:last-child .left-page::after,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .cbp-page-set:last-child .left-page::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    /* width: 2px; */
    height: 100%;
    background-color: #000;
}

#cbp-step5-book .left-page,
#cbp-step7-book .left-page {
    /* background-color: red; */
    border-radius: 5px 0px 0px 5px;

}

#cbp-step5-book .right-page,
#cbp-step7-book .right-page {
    /* background-color: antiquewhite; */
    border-radius: 0px 5px 5px 0px;
}

#cbp-step5-book .cb-pick-conversion-bottom-section-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    /* background-color: antiquewhite; */
    width: 100%;
    gap: 12px;
}

#cbp-step5-book .btn,
#cbp-step7-book .btn {
    display: block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.51px;
    color: #ffffff;
    background-color: #236480;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 11px 0px;
    margin-top: 40px;
    margin-bottom: 20px;
    cursor: pointer;
    font-style: italic;
    letter-spacing: 0.07em;
    text-transform: unset;
}

#cbp-step5-book .btn-wide,
#cbp-step7-book .btn-wide {
    width: 18.5rem;
}


#cbp-step5-book .inside-front-cover,
#cbp-step5-book .inside-back-cover,
#cbp-step7-book .inside-front-cover,
#cbp-step7-book .inside-back-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F2F2F2;
    text-align: center;
    cursor: default !important;
}

#cbp-step5-book .inside-front-cover span,
#cbp-step5-book .inside-back-cover span,
#cbp-step7-book .inside-front-cover span,
#cbp-step7-book .inside-back-cover span {

    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 16.31px;
    color: #7A7A7A;
}


#cbp-step5-book .add-delete-pages-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    gap: 35px;
}

#cbp-step5-book .add-page-container,
#cbp-step5-book .delete-page-container {
    display: flex;
    height: 30px;
    gap: 10px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

#cbp-step5-book .add-page-container {
    background-color: transparent;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 24.47px;
    text-align: center;
    color: #000000;
    padding: 26px 30px;
    border-radius: 30px;
    border: 2px solid #000000;
    text-transform: unset;
}

#cbp-step5-book .cbp-page-set img,
#cbp-step7-book .cbp-page-set img {
    /* max-height: 10rem; */
    max-width: 10rem;
    object-fit: cover;
    position: relative;
    z-index: -1;
    pointer-events: none;
}

.right-border-book-lastpage{
    border-left: 1px solid black;
}

#cbp-step5-book .delete-page-container {
    background-color: transparent;
    border: none;
    font-size: 14px;
    font-weight: 400;
    line-height: 19.03px;
    text-align: left;
    color: #7A7A7A;
    text-transform: unset;

}

/* Step 5 Book End */


/* Step 6 Pages Start */

.step6-btn {
    display: inline-block;
    text-decoration: none;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 24.51px !important;
    color: #ffffff;
    background-color: #236480 !important;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px !important;
    padding: 11px 0px !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    cursor: pointer;
    font-style: italic;
    letter-spacing: 0.07em;
    text-transform: unset !important;
}

#step7-quick-checkout-btn{
    display: inline-block;
    text-decoration: none;
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 24.51px !important;
    color: #ffffff;
    background-color: #236480 !important;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px !important;
    padding: 11px 0px !important;
    margin-bottom: 5px !important;
    cursor: pointer;
    font-style: italic;
    letter-spacing: 0.07em;
    text-transform: unset !important;
    width: 302px;
    height: 53px;
}

.step6-btn-wide {
    width: 100%;
}

.step6-btn {
    /* display: block; */

    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    line-height: 20.43px;
    letter-spacing: 0.07em;
    text-align: center;

    color: #ffffff;
    background-color: #236480;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px;
    height: 3rem;
    width: 12rem;
    /* padding: 12px 56px; */
    /* margin-top: 40px;
    margin-bottom: 20px; */
    outline: 0;
    cursor: pointer;
    font-style: italic;
    letter-spacing: 0.07em;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 35px;
    margin: 0;
}

#cbp-step6-pages .cb-italic-font_medium {
    font-weight: 400;
    font-style: italic;
    font-size: 16px;
    line-height: 19.03px;
    color: #7A7A7A;
    margin-top: 1rem;

}

#cbp-step6-pages .cb-italic-font_small {
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 16.31px;
    text-align: center;
    color: #7A7A7A;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
}

#cbp-step6-pages .cb-italic-font_small span {

    color: #000000;
}

#cbp-step6-pages .cb-pick-pricing-option-middle-section-wrapper .box-layout h3.coloring-page-package-amount {

    color: #236480;

}


#cbp-step6-pages .custom-select {
    position: relative;
    display: inline-block;
    min-width: 10rem;
}

#cbp-step6-pages .select-selected {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f7f7f7;
    color: #333333;
    padding: 5px 10px;
    /* cursor: pointer; */
    width: 12rem;
    height: 1.875rem;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 12px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #236480;
    border-radius: 50px;
    color: #000;
    cursor: pointer;
}

#cbp-step6-pages .select-selected.opened {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

/* Style the dropdown items */
#cbp-step6-pages .select-items {
    position: absolute;
    display: none;
    z-index: 1;
    background-color: #ffffff;
    border: 1px solid black;
    left: 0;
    top: 30px;
    width: 100%;
    border-radius: 0px 0px 20px 20px;

}

/* Style the dropdown items */
#cbp-step6-pages .select-items div {
    padding: 5px;
    cursor: pointer;
    padding-right: 50px;
    padding-left: 25px;
    border-bottom: 1px solid #000;
}

#cbp-step6-pages .select-items div:last-child {

    border-bottom: unset;
    border-radius: 0px 0px 20px 20px;
}

/* Style the dropdown items on hover */
#cbp-step6-pages .select-items div:hover {
    background-color: #236480;
    color: white;
}

#cbp-step6-pages .custom-select .select-items {}

#cbp-step6-pages .option-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 12px;
    text-align: center;
    color: #7a7a7a;
}

#cbp-step6-pages .option-content-sub {
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: "DM Serif Display";
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 24.47px;
    text-align: left;
    color: #000;
}

#cbp-step6-pages .custom-select .option-content-sub-number {
    font-family: "DM Serif Display";
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 24.47px;
    text-align: left;
}

#cbp-step6-pages .custom-select .option-content-sub-text {

    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    line-height: 12px;
    text-align: center;
    color: #7a7a7a;

}

#cbp-step6-pages .cb-pick-pricing-option-middle-section-wrapper {
    margin-top: 2.125rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3.75rem;
    margin-bottom: 5rem;
    text-align: center;
    max-width: 50rem;
    margin-right: auto;
    margin-left: auto;
}

#cbp-step6-pages .cb-pick-pricing-option-middle-section-wrapper .box-layout {
    width: 14.5rem;
    height: 28.5rem;
    border: 1px solid #7A7A7A;
    border-radius: 20px;
    border: 1px solid #236480;
    position: relative;
}

#cbp-step6-pages .cb-pick-pricing-option-middle-section-wrapper .box-layout h2,
.cb-pick-pricing-option-middle-section-wrapper .box-layout h3 {
    font-family: "DM Serif Display";
    font-weight: 400;
    text-align: center;
}

#cbp-step6-pages .cb-pick-pricing-option-middle-section-wrapper .box-layout h2 {
    margin-top: 2rem;
    font-size: 24px;
    line-height: 23.52px;
    text-align: center;
    color: #236480;
}

#cbp-step6-pages .cb-pick-pricing-option-middle-section-wrapper .box-layout h3 {
    margin-top: 2rem;
    font-size: 64px;
    line-height: 87px;
    text-align: center;
    color: #7A7A7A;

}

#cbp-step6-pages .cb-pick-pricing-option-middle-section-wrapper .box-layout h3.coloring-page-package-amount {

    color: #236480;

}

#cbp-step6-pages .box-layout h3.coloring-page-package-amount {
    margin-top: 7px;
}

#cbp-step6-pages .box-layout .buy-save-btn {

    width: 200px;
    height: 47px;
}

#cbp-step6-pages .quick-checkout-btn {
    /* margin-top: 168px; */
}

#cbp-step6-pages .cb-subtext {
    margin-top: -15px;
    font-size: 11px;
    font-style: italic;
    font-weight: 400;
    line-height: 14.95px;
    text-align: center;
    color: #7A7A7A;
    position: absolute;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    bottom: 15px;
    margin: 0;
}

.step6-btn-secondary {

    font-size: 15px;
    font-style: italic;
    font-weight: 400;
    line-height: 20.43px;
    letter-spacing: 0.07em;
    text-align: center;
    color: #000000;
    background-color: #ffffff;
}

.box-layout.redeem-container {
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.box-layout.redeem-container .redeem-credit {

    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.03px;
    text-align: center;
    color: #7A7A7A;
    margin-top: 10px;

}

.box-layout.redeem-container .redeem-sub {

    font-size: 10px;
    font-weight: 400;
    line-height: 13.59px;
    text-align: center;
    color: #7A7A7A;
    text-decoration: underline;
    margin-top: 15px;

}


/* book */
#cbp-step6-book .main-cover-page-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0px;
}

#cbp-step6-book .main-cover-page-wrapper .title-input {
    font-size: 20px;
    font-style: italic;
    font-weight: 400;
    line-height: 27.19px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-bottom: 47px;
    margin-top: 30px;
}

#cbp-step6-book .amazing-vacation-input {
    width: 436px;
    height: 53px;
    border: 1px solid #236480;
    border-radius: 40px;
    padding-left: 22px;
    font-size: 20px;
    font-weight: 400;
    line-height: 27.19px;
}

#cbp-step6-book .amazing-vacation-input::placeholder {

    font-size: 20px;
    font-weight: 400;
    line-height: 27.19px;
    text-align: left;
    color: #7A7A7A80;
    font-style: italic;

}

#cbp-step6-book .cbp-create-your-book-middle-section-wrapper {
    display: grid;
    grid-template-columns: 100px 100px 100px 100px 100px 100px;
    gap: 3.0rem;
    /* margin-top: 2.125rem; */
    margin-bottom: 3rem;
    box-sizing: border-box;
}

#cbp-step6-book .cbp-create-your-book-middle-section-wrapper .cover-page {
    width: 120px;
    height: 155px;
    position: relative;
    border-radius: 10px;
    border: 1px solid #7A7A7A;
    overflow: hidden;
    cursor: pointer;
}

#cbp-step6-book .cbp-create-your-book-middle-section-wrapper .cover-page img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    pointer-events: none;
}



#cbp-step6-book .upload-custom-image-container p {
    margin: 0;
}

#cbp-step6-book .cb-main-container-btn-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

#cbp-step6-book .cb-pick-conversion-bottom-section-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin-top: 30px;
}

#cbp-step6-book .btn {
    display: block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.51px;
    color: #ffffff;
    background-color: #236480;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 11px 0px;
    margin-top: 40px;
    margin-bottom: 20px;
    cursor: pointer;
    font-style: italic;
    letter-spacing: 0.07em;
    text-transform: unset;
}

#cbp-step6-book .btn-wide {
    width: 18.5rem;
}

#cbp-step6-book .cover-page.selected {
    border: 3px solid #236480;
}

#modal-book-cover-pick .cbp-page-modal {
    width: 662px;
    /* background-color: lightgray; */
    height: 591px;
    padding-top: 69px;
    background: none;
    border: 0px;
}

#modal-book-cover-pick .cbp-pick-page-btn {
    margin-top: 20px !important;
    border-radius: 30px;
    width: unset !important;
}

#modal-book-cover-pick .cbp-cover-preview-container {
    display: flex;
    flex-direction: row;
    gap: 17px;
}

#modal-book-cover-pick .cbp-image-container {
    height: 398px;
    width: 308px;
    flex-direction: column;
    justify-content: unset;
    align-items: unset;
    gap: 10px;
    background: #FFFFFF;
    border-radius: 10px;
}

#cbp-step6-book .upload-custom-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: max-content;
    height: 50px;
    padding: 15px;
    background-color: white;
    gap: 8px;
    border: none;
    /* border-radius: 40px; */
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    cursor: pointer;
    line-height: 16.31px;
    text-align: left;
    color: #7A7A7A;
    font-family: 'Open Sans';
    margin-left: 55px;
}

#modal-book-cover-pick .cbp-image-container1 p {
    font-family: Open Sans;
    margin-bottom: 0;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.03px;
    text-align: center;
    margin-top: 10px;
    color: rgba(255, 255, 255, 1);
}

#modal-book-cover-pick .cbp-image-container img {
    margin: 0;
    overflow: hidden;
    background: transparent;
    border: 2px solid #000;
    border-radius: 0.625rem;
    border: none !important;
}

/* Step 6 Pages End */

/* Step 3 Error Page Start */
#cbp-step3 #cb-loading-images-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

#cbp-step3-error .cb-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

#cbp-step3-error .cb-upload-loading-box {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 44px;
    border-radius: 10px;
    width: 38.125rem;
    height: 21.25rem;
    padding-top: 5rem;
}

#cbp-step3-error .cb-upload-loading-box .cb-error-uploading-text-wrapper .cb-error-uploading-text {
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 21.75px;
    color: #000000;
}

#cbp-step3-error .cb-btn-landing-txt,
#cbp-step3-error .cb-btn-landing-txt:hover,
#cbp-step3-error .cb-btn-landing-txt:focus,
#cbp-step3-error .cb-btn-landing-txt:active {
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.51px;
    color: #000000;
    background-color: #ffffff;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 12px 56px;
    margin-top: 40px;
    margin-bottom: 20px;
    outline: 0;
    cursor: pointer;
}

.cbp-delete-page-modal .cbp-buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cbp-delete-page-modal .cb-btn-landing-txt {
    display: flex;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.51px;
    color: #fff;
    background-color: #236480;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 12px 56px;
    margin-top: 40px;
    margin-bottom: 20px;
    outline: 0;
    text-decoration: none !important;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cbp-delete-page-modal .cb-btn-landing-txt .cb-upload-again-text {
    font-style: normal;
    color: #fff;
    font-size: 14px !important;
}

.cbp-delete-page-modal img {
    margin: unset;
}

.cbp-delete-page-modal p {
    margin: 0;
}

#cbp-step3-error .cb-upload-loading-box .cb-upload-again-btn a {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.875rem;
}

#cbp-step3-error .cb-upload-loading-box .cb-upload-again-btn a img {
    filter: brightness(0) saturate(100%);
}

#cbp-step3-error .cb-upload-loading-box .cb-upload-again-btn .cb-upload-again-text {
    display: inline-block;
}

/* Step 3 Page End */
#book-modal-4 .cbp-horizontal-view-container {
    bottom: 20px;
    right: -190px;
    padding: 4px 12px;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


#book-modal-4 .cbp-horizontal-btn-book {
    cursor: pointer;
    border-radius: 6px;
    background-color: lightgray;
    padding: 8px 12px;
    border: 1px solid #000;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    font-family: Open Sans;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.03px;
    text-align: left;
    width: max-content;
}

#modal-original-book .cbp-modal-content {
    /*     width: max-content; */
}

#modal-original-book .cbp-modal-content p {
    margin-bottom: 30px;
}

#modal-original-book .cbp-modal-btn {
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.34px;
    text-align: center;
}

#cbp-step7-book .cbp-build-your-book-top-section-wrapper {
    display: flex;
    flex-direction: row;
    gap: 40px;
    justify-content: center;
    margin: 60px 0;
}

#cbp-step7-book .cbp_img_container img {
    border: 1px solid #000000;
    border-radius: 10px;
    width: 7rem;
    height: 10rem;
}

#cbp-step7-book .cbp_img_container2 p {
    font-family: Open Sans;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.03px;
    text-align: center;
    color: black;
}

#cbp-step7-book .cb-pick-conversion-bottom-section-wrapper {
    display: flex;
    justify-content: center;
}

/* Step 8 Start */
#cbp-step8-book .cbp-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

#cbp-step7-pages .cbp-section-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 200px;
}

#cbp-step8-book .cb-pick-pricing-option-middle-section-wrapper {
    margin-top: 2.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3.75rem;
    margin-bottom: 5rem;
    text-align: center;
    width: 600px;
}

#cbp-step7-pages .cb-pick-pricing-option-middle-section-wrapper {
    margin-top: 2.125rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 3.75rem;
    margin-bottom: 5rem;
    text-align: center;
    width: 600px;
}

#cbp-step8-book .btn {
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.51px;
    color: #ffffff;
    background-color: #236480;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 11px 0px;
    margin-top: 40px;
    margin-bottom: 20px;
    cursor: pointer;
    font-style: italic;
    letter-spacing: 0.07em;
}

#cbp-step7-pages .btn {
    display: inline-block;
    text-decoration: none;
    font-size: 18px;
    font-weight: 400;
    line-height: 24.51px;
    color: #ffffff;
    background-color: #236480;
    outline: none;
    border: 2px solid #000000;
    border-radius: 50px;
    padding: 11px 0px;
    margin-top: 40px;
    margin-bottom: 20px;
    cursor: pointer;
    font-style: italic;
    letter-spacing: 0.07em;
}

#cbp-step8-book .btn-wide {
    width: 100%;
}
#cbp-step7-pages .btn-wide {
    width: 100%;
}

#cbp-step8-book .popup-icon {
    display: inline-block;
    margin-top: 2px;
}

#cbp-step7-pages .popup-icon {
    display: inline-block;
    margin-top: 2px;
}

#cbp-step8-book .cb-complete-order-text {

    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 21.75px;
    text-align: center;
    color: #000000;
}
#cbp-step7-pages .cb-complete-order-text {

    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 21.75px;
    text-align: center;
    color: #000000;
}


#cbp-step8-book .coloring-book-copies-container {
    width: 65%;
    position: relative;
    padding-bottom: 25px;
}
#cbp-step7-pages .coloring-book-copies-container {
    width: 100%;
    position: relative;
    padding-bottom: 40px;
}

#cbp-step8-book .counter-and-heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

}
#cbp-step7-pages .counter-and-heading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;

}

#cbp-step8-book .price-and-title.counter {
    margin-top: 45px;
    position: relative;
}
#cbp-step7-pages .price-and-title.counter {
    margin-top: 45px;
    position: relative;
}

.cost-and-icon svg {
    min-height: 20px;
    min-width: 20px;
}

#cbp-step8-book .price-and-title.counter.after-class::after {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    content: "discounted";
    width: 110px;
    height: 25px;
    background-color: #236480;
    right: -132px;
    top: 24px;
    border: 1px solid #000000;
    border-radius: 30px;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.07px;
    letter-spacing: 0.07em;
    text-align: center;
    color: #ffffff;

}
#cbp-step7-pages .price-and-title.counter.after-class::after {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    content: "discounted";
    width: 110px;
    height: 25px;
    background-color: #236480;
    right: -146px;
    top: 9%;
    border: 1px solid #000000;
    border-radius: 30px;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.07px;
    letter-spacing: 0.07em;
    text-align: center;
    color: #ffffff;

}

#cbp-step8-book .counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}
#cbp-step7-pages .counter-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

#cbp-step8-book .counter-value {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    min-width: 28px;
    border: 0.5px solid #E5E5E5;
    border-radius: 50px;
    margin-top: -4px;
}
#cbp-step7-pages .counter-value {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 28px;
    min-width: 28px;
    border: 0.5px solid #E5E5E5;
    border-radius: 50px;
    margin-top: -4px;
}

#cbp-step8-book .coloring-book-copies-container::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    /* Adjust the height to the desired border thickness */
    background-color: #F2F2F2;
    /* Adjust the color to the desired border color */
    position: absolute;
    bottom: 0;
    left: 0;
}
#cbp-step7-pages .coloring-book-copies-container::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    /* Adjust the height to the desired border thickness */
    background-color: #F2F2F2;
    /* Adjust the color to the desired border color */
    position: absolute;
    bottom: 0;
    left: 0;
}

#cbp-step8-book .price-and-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#cbp-step7-pages .price-and-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cbp-step8-book .cost-and-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

#cbp-step7-pages .cost-and-icon {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 22px;
}

#cbp-step7-pages .cost-and-icon img {
    height: 24px;
}


#cbp-step8-book .order-sub-heading-text {
    font-family: "DM Serif Display";
    font-size: 24px;
    font-weight: 400;
    line-height: 32.63px;
    text-align: left;
    color: #000000;
    display: flex;
    /* margin-left: -9px; */
}
#cbp-step7-pages .order-sub-heading-text {
    font-family: "DM Serif Display";
    font-size: 24px;
    font-weight: 400;
    line-height: 32.63px;
    text-align: left;
    color: #000000;
    display: flex;
}

#cbp-step8-book .order-subtext {
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.03px;
    text-align: left;
    color: #7A7A7A;
    width: 50%;
}

#cbp-step7-pages .order-subtext {
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.03px;
    text-align: left;
    color: #7A7A7A;
}

#modal-4 .cbp-modal-content.cbp-page-modal,
#modal-4-cover .cbp-modal-content.cbp-page-modal,
#book-modal-4 .cbp-modal-content.cbp-page-modal {
    padding: 0;
}

.cbp-section img#cbp-book-image,
.cbp-section img#cbp-page-image {
    pointer-events: none;
}
#cbp-book-image{
    /* height: 100%; */
    max-width: 564px;
}
#modal-4 .cbp-image-container,
#modal-book-cover-pick .cbp-image-container,
#modal-4-cover .cbp-image-container,
#book-modal-4 .cbp-image-container {
    overflow: hidden;
    position: relative;
}

#modal-4 div#cbp-image-container:before,
#book-modal-4 div#cbp-image-container:before,
#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .box-layout:not(.inside-upload):before,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .box-layout:not(.inside-upload):before,
.cbp-conversion-container>div:before,
#cbp-step6-book .cbp-build-your-book-top-section-wrapper .cbp_img_container:before,
.cb-pick-pricing-option-middle-section-wrapper .box-layout#step5-box-layout:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url(../images/watermark.png);
    background-repeat: repeat;
    background-size: 300px 300px;
    transform-origin: center;
    pointer-events: none;
    z-index: 1000;
    width: 100%;
    height: 100%;
    background-position: center;
}

#cbp-step5-book .cbp-build-your-book-middle-section-wrapper .box-layout:not(.inside-upload):before,
#cbp-step6-book .cbp-create-your-book-middle-section-wrapper .cover-page:before,
#cbp-step7-book .cbp-build-your-book-middle-section-wrapper .box-layout:not(.inside-upload):before {
    background-size: 100px 100px;
}

#modal-4-cover img#cbp-4-cover-image {
    height: 100%;
    margin: 0;
    border-radius: 0.625rem;
}

/* #modal-4-cover .cbp-modal-content.cbp-page-modal {
    min-width: 375px;
    max-height: 555px;
} */

#cbp-step8-book .coloring-book-title-container {
    width: 65%;
    position: relative;
    padding-bottom: 54px;
}

#cbp-step7-pages .coloring-book-title-container {
    width: 100%;
    position: relative;
    padding-bottom: 54px;
}

#cbp-step8-book .coloring-book-title-container::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    /* Adjust the height to the desired border thickness */
    background-color: #F2F2F2;
    /* Adjust the color to the desired border color */
    position: absolute;
    bottom: 0;
    left: 0;
}

#cbp-step7-pages .coloring-book-title-container::after {
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    /* Adjust the height to the desired border thickness */
    background-color: #F2F2F2;
    /* Adjust the color to the desired border color */
    position: absolute;
    bottom: 0;
    left: 0;
}

#cbp-step8-book .faded-popup-image {
    margin-left: -5px;
}

#cbp-step8-book .total-amount {
    width: 65%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "DM Serif Display";
    font-size: 32px;
    font-weight: 400;
    line-height: 43.5px;
}
#cbp-step7-pages .total-amount {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "DM Serif Display";
    font-size: 32px;
    font-weight: 400;
    line-height: 43.5px;
}

#cbp-step8-book .complete-order-btn {
    width: 278px;
    height: 53px;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 24.51px;
    letter-spacing: 0.07em;
    text-align: center;
    text-transform: unset;
}
#cbp-step7-pages .complete-order-btn {
    width: 278px;
    height: 53px;
    font-size: 18px;
    font-style: italic;
    font-weight: 400;
    line-height: 24.51px;
    letter-spacing: 0.07em;
    text-align: center;

}



#modal-upload .cb-loading-images-container img,
#cover-upload .cb-loading-images-container img {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    margin-right: 0.5rem;
}





#cbp-step8-book .faded .order-sub-heading-text {
    color: #7A7A7A80;
    /* margin-bottom: 8px; */
}

#cbp-step7-pages .faded .order-sub-heading-text{
    color: #7A7A7A80;

}

#cbp-step7-pages .activated .order-sub-heading-text{
    color: black;

}

#cbp-step7-pages .activated .sbp_empty_checkbox {
    display: none !important;
}
    
#cbp-step7-pages .activated .sbp_filled_checkbox {
    display: inline-block !important;
}

#cbp-step8-book .activated .order-sub-heading-text {
    color: #000;
}

#cbp-step8-book .activated .sbp_empty_checkbox {
    display: none !important;
}

#cbp-step8-book .activated .sbp_filled_checkbox {
    display: inline-block !important;
}

#cbp-step8-book .activated .faded-popup-image path {
    stroke: rgb(0, 0, 0);
}

.cbp_captcha_container {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Step 8 End */

#modal-upload .cbp-close-btn,
#cover-upload .cbp-close-btn {
    top: 5px;
}

#modal-upload .cbp-modal-content,
#cover-upload .cbp-modal-content {
    padding: 1.5rem 1.5rem 2.5rem;
}

#modal-4 .cbp-close-button,
#modal-4-cover .cbp-close-button,
#modal-book-cover-pick .cbp-close-button {
    background: #236480;
    color: white;
}

#modal-book-cover-pick .cbp-image-container img {
    min-height: 400px;
}

.cbp-btn-with-line {
    /* position: absolute;
    z-index: 100;
    background: #f8fafccf; */
    border-radius: 5px;
    padding: 0 5px;
}

.cbp-btn-with-line .cbp-icons-container {
    width: max-content;
}



#modal-3 .cbp-modal-content,
#modal-2 .cbp-modal-content {
    /*     width: 100%; */
    width: 450px;
}

.cbp-btn-container {
    gap: 20px;
}

a#continue-page-btn.cnt_clr {
    background-color: #236480 !important;
    color: white !important;
}

#cbp-step6-book .main-cover-page-wrapper .title-input p {
    margin: 0;
}

.btn_container_cbp {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}

#gotouploadModalOk {
    color: #fff;
    background-color: #236480;
    margin: 0;
}

#modal-1 .cbp-modal-content {
    width: auto;
}

#modal-3 img {
    margin-top: 1.5rem;
}

#modal-3 p,
#modal-original-book p {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

#modal-3 .cbp-modal-btn,
#modal-original-book .cbp-modal-btn {
    margin: 0;
}

#modal-original-book svg {
    margin-top: 1.5rem;
}

.cbp-modal.cbp .cbp-modal-btn-primary {
    width: 120px;
    height: 39px;
    top: 278px;
    left: 78px;
    gap: 0px;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.34px;
    text-align: center;

    padding: 12px 0;
}

.cbp-modal.cbp .cbp-modal-btn-secondary {
    width: 137px;
    height: 39px;
    top: 278px;
    left: 233px;
    gap: 0px;
    font-family: Open Sans;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.34px;
    text-align: center;
    padding: 12px 0;
}

#modal-confirm-convert-book .cbp-modal-content svg {
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

#modal-confirm-convert-book .cbp-modal-content p {
    margin-bottom: 1.5rem;
}

#modal-confirm-convert-book .cbp-modal-content .cbp-modal-btn {
    margin-bottom: 0.8rem;
}

.cbp-build-your-book-top-section-wrapper .cbp_img_container img#cover_front_img,
.cbp-build-your-book-top-section-wrapper .cbp_img_container img#cover_back_img {
    width: 192px;
    height: 248px;
    pointer-events: none;
}

.overlay-text-front-image{
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 38px;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
    font-style: normal;
    font-weight: 600;
    font-family: Quicksand;
    line-height: 1.2;
    word-break: break-word;
    width: 100%;
    max-width: 78%;
}

.overlay-text-front-image-review{
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 18.88px;
    padding: 5px 10px;
    border-radius: 5px;
    z-index: 10;
    font-style: normal;
    font-weight: 600;
    font-family: Quicksand;
    line-height: 1.2;
    word-break: break-word;
    width: 90%;
}

.product-modal-input{
    box-sizing: border-box;
    border: 0.5px solid #E5E5E5 !important;
    border-radius: 20px !important;
    width: 30px !important;
    height: 30px;
    line-height: 30px;
    padding: 0 !important;
    text-align: center;
}

.cbp-build-your-book-top-section-wrapper .cbp_img_container {
    position: relative;
    cursor: pointer;
}

#modal-product-show .cbp-modal-content.cbp-page-modal {
    min-width: 375px;
    min-height: 500px;
}

/* Responsive styles */
@media (min-width: 768px) and (max-width: 960px) {  
    /* .cost-and-icon {
        flex-direction: column;
    } */

    #cbp-step5-pages .cb-section-title,
    #cbp-step5-book .cb-section-title,
    #cbp-step6-pages .cb-section-title,
    #cbp-step6-book .cb-section-title,
    #cbp-step7-book .cb-section-title,
    #cbp-step8-book .cb-section-title {
        padding-top: 2rem;

    }

    #cbp-step6-pages .cb-italic-font_medium {
        margin-bottom: 0;
    }

    #modal-upload .cbp-upload-loading-bar,
    #cover-upload .cbp-upload-loading-bar {
        width: 100%;
    }

    .cbp-btn-with-line .cbp-icons-container {
        font-size: 14px;
        justify-content: space-between;
        flex-direction: row;
        width: 100% !important;
    }

    .cbp-delete,
    .cbp-rotate {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-right: 0 !important;
    }

    .cbp-btn-with-line .cbp-icons-container img {
        max-width: 12px;
    }

    #cbp-step6-book .cbp-create-your-book-middle-section-wrapper {
        grid-template-columns: 100px 100px 100px 100px;
    }

    #cbp-step5-book .cbp-build-your-book-middle-section-wrapper,
    #cbp-step7-book .cbp-build-your-book-middle-section-wrapper {
        justify-content: center;

    }

    #cbp-step4 .cbp-btn-container {
        margin-bottom: 50px;
        margin-top: 50px;
    }

    .cbp-next-container {
        margin-top: 50px;
    }

    #cbp-step4 button#cbp-orignal-btn {
        margin-top: 0px;
    }

    .cbp-toolbar {
        /* width: 200px; */
    }

    .btn_container_cbp {
        margin-top: 50px;
        align-items: flex-end;
        justify-content: flex-end;
        flex-direction: column;
    }

    #cbp-step6-book .amazing-vacation-input {
        width: 100%;
        height: 53px;
        border: 1px solid #236480;
        border-radius: 40px;
        padding-left: 22px;
        font-size: 20px;
        font-weight: 400;
        line-height: 27.19px;
    }

    #cbp-step6-book .cb-pick-conversion-bottom-section-wrapper{
        gap: 10px;
    }

    #cbp-step8-book .cbp-section-wrapper {
        padding: 10px;
        margin: 30px;
    }

    #cbp-step8-book .faded-popup-image {
        margin-left: 0;
    }
}

.onlyBookCbp {
    max-width: 700px;
    margin: auto;
    margin-top: 25px;
}

.cbp-flex-line {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cbp-text-line {
    font-family: Open Sans;
    font-size: 14px;
    font-style: italic;
    font-weight: 400;
    line-height: 19.03px;
    text-align: center;
    color: #E5E5E5;
}

button.cbp-build-book {
    font-family: Open Sans;
    font-size: 14px !important;
    font-style: italic;
    font-weight: 400 !important;
    line-height: 19.03px;
    text-align: left;
    color: #7A7A7A !important;
    background: transparent !important;
    text-decoration: underline;
    box-shadow: none !important;
    margin-top: 15px;
    text-transform: unset !important;
}

.inside-upload {
    cursor: pointer !important;
}

@media (min-width: 768px) and (max-width: 1380px) {
    #cbp-step8-book .price-and-title.counter.after-class::after {
        right: -14px;
        top: 52px;
    }
    #cbp-step8-book .price-and-title {
        align-items: flex-start !important;
    }
    .first_item {
        align-items: flex-start !important;
    }
    .order-sub-heading-text {
        margin-top: 0px !important;
    }
    .cost-and-icon svg {
        min-width: 20px;
        min-height: 20px;
    }
    .cbp-bulk-order {
        width: 100% !important;
    }
    .digital_copy_product {
        width: 100% !important;
    }
    #cbp-step8-book .coloring-book-copies-container {
        width: 100%
    }
    #cbp-step8-book .coloring-book-title-container {
        width: 100%
    }
}

@media (max-width: 768px) {
    .cbp-bulk-order {
        width: 100% !important;
    }
    
    #cbp-step8-book .price-and-title.counter.after-class::after {
        right: -14px;
        top: 52px;
    }
    .first_item {
        align-items: flex-end !important;
    }
    .order-sub-heading-text {
        margin-top: 0px !important;
    }
    /* .cost-and-icon {
        flex-direction: column;
    } */

    #cbp-step8-book .price-and-title {
        align-items: flex-start !important;
    }
    #cbp-step4 .cbp-btn-container {
        margin-bottom: 50px;
        margin-top: 0px;
    }

    .btn_container_cbp .cbp-btn-next {
        margin-top: 0px;
    }

    .btn_container_cbp {
        flex-direction: column;
        margin-top: 40px;
    }

    .cbp-icons-container .cbp-delete {
        margin-right: 20px;
    }

    #cbp-step5-book .add-delete-pages-container {
        flex-direction: column;
    }

    .cbp-upload-loading-bar {
        max-width: 70vw;
        margin: auto;
    }

    .cbp-pick-page-container {
        position: relative;
        top: unset;
    }

    .cbp-title,
    .cb-title {
        font-size: 30px !important;
    }

    .cbp-column-left,
    .cbp-column-right {
        width: 100% !important;
        display: block;
    }

    .cbp-upload-container {
        width: 100%;
        margin: 0 auto;
    }

    .cbp-conversion-container {
        flex-direction: column;
        align-items: center;
    }

    .cbp-conversion-container>div {
        flex: none;
        width: 100%;
        max-width: 225px;
        height: 100%;
        aspect-ratio: 0.772;
    }

    .cbp-modal-btn {
        padding: 12px 30px;
    }

    .cbp-modal-content {
        width: 360px !important;
        height: auto;
    }

    #modal-4 .cbp-modal-content,
    #modal-4-cover .cbp-modal-content,
    #modal-upload .cbp-modal-content,
    #cover-upload .cbp-modal-content {
        gap: 20px;
        width: 80% !important;
    }

    #modal-4 .cbp-close-button,
    #modal-4-cover .cbp-close-button {
        right: 0;
        top: -50px;
    }

    #modal-4 .cbp-horizontal-view-btn {
        right: 50px !important;
        top: -47px;
    }

    #modal-4 #pick-page-button {
        width: auto !important;
        margin-top: 0 !important;

    }

    .cbp-btn-next {
        margin-top: 40px;
    }

    .cbp-next-container {
        margin-top: 50px;
        flex-direction: column;
    }

    .cbp-pick-page-btn {
        margin-top: 0;
        width: 80% !important;
    }

    .cbp_captcha_container {
        flex-direction: column;
        margin-top: 20px;
    }

    .cbp-next-container .cbp-toolbar {
        /* max-width: 150px; */
    }

    #cbp-step5-pages .cb-section-title,
    #cbp-step5-book .cb-section-title,
    #cbp-step6-pages .cb-section-title,
    #cbp-step6-book .cb-section-title,
    #cbp-step7-book .cb-section-title,
    #cbp-step8-book .cb-section-title {
        padding-top: 3rem;
    }

    .box-layout .preview-images-container {
        height: auto;
    }

    .preview-subtext {
        margin-top: 26px;
    }

    .cb-pick-pricing-option-middle-section-wrapper {
        flex-direction: column;
    }

    .box-layout.layout-preview-container {
        display: flex;
        align-items: center;
        flex-direction: column;
        border: none;
        height: auto;
    }

    .box-layout.awesome-container {
        height: auto;
    }

    #cbp-step6-pages .select-items div {
        gap: 15px;
    }

    #cbp-step5-book .cbp-build-your-book-middle-section-wrapper,
    #cbp-step7-book .cbp-build-your-book-middle-section-wrapper {
        justify-content: center;
        margin-bottom: 2.5rem;
    }

    #cbp-step5-book .cbp-build-your-book-middle-section-wrapper::after,
    #cbp-step7-book .cbp-build-your-book-middle-section-wrapper::after {
        display: none;
    }

    #cbp-step5-book .cb-pick-conversion-bottom-section-wrapper {
        flex-direction: column;
    }

    #cbp-step6-book .main-cover-page-wrapper .title-input {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }

    #cbp-step6-book .amazing-vacation-input {
        width: 100%;
        height: 40px;
        border: 1px solid #236480;
        border-radius: 40px;
        padding-left: 22px;
        font-size: 14px;
        font-weight: 400;
        line-height: 40px;

    }

    #cbp-step6-book .cbp-create-your-book-middle-section-wrapper {
        grid-template-columns: 100px 100px;
        gap: 2.5rem;
    }

    #modal-book-cover-pick .cbp-cover-preview-container {
        gap: 20px;
        flex-direction: column;
        overflow-y: scroll;
        min-height: 400px;
    }

    #modal-book-cover-pick .cbp-image-container img {
        height: 300px;
        min-height: auto;
    }

    #cbp-step6-book .cb-pick-conversion-bottom-section-wrapper {
        display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: antiquewhite; */
    width: 100%;
    gap: 16px;
        padding: unset;
        margin-top: unset;
    }

    #cbp-step6-book .cb-pick-conversion-bottom-section-wrapper > button {
        margin: unset
    }

    #modal-book-cover-pick .cbp-page-modal {
        width: 80% !important;
        gap: 20px;
        height: auto !important;
    }

    #cbp-step8-book .counter-and-heading-container {
        gap: 24px;
        flex-direction: row;
        align-items: center;
    }

    #book-modal-4 .cbp-horizontal-view-container {
        top: 100%;
        right: 0;
        bottom: unset;
        padding: 4px 12px;
        position: absolute;
        display: flex;
        flex-direction: row;
        gap: 20px;
        flex-wrap: wrap;
    }

    .cbp-start-over {
        top: -15px !important;
        right: 10px !important;

    }

    .cb-previous-page {

        top: -15px;
        left: 10px;
    }
}

/* MOBILE END  */
p#modalErrorUpload {
    max-width: 300px;
    margin: auto;
}

#cbp-step8-book .price-and-title.counter {
    margin-top: 25px;
    gap: 15px;
}

#cbp-step8-book .price-and-title {
    align-items: center;
}

#cbp-step8-book .cb-pick-pricing-option-middle-section-wrapper {
    gap: 1.75rem;
    width: 100%;
}

.cost-and-icon svg {
    height: 20px;
    width: 100%;
}


.cbp-page-modal .cbp-close-button {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100000;
}

#modal-4 .cbp-pick-page-container {
    margin-top: 0 !important;
}


#modal-4 .cbp-close-button,
#modal-4-cover .cbp-close-button,
#modal-book-cover-pick .cbp-close-button {

    top: -50px;
}

@media (min-width:1024px) {
    form#imageUploadFormModal {
        max-width: 90%;
        margin: auto;
    }


    .cbp-modal-content {
        min-width: 436px;
    }

    #modal-original-book .cbp-modal-content {
        width: 436px;
    }

    .cbp-modal-content .cbp-btn-container {
        padding: 0 50px;
    }

    #cbp-step4 .cbp-btn-next {
        width: 200px;
        padding: 12px 30px;
        font-family: 'Open Sans';
        font-style: italic;
    }

    #continue-page-btn {
        width: 150px !important;
        font-family: 'Open Sans';
        font-style: italic;
    }
}



.product-image-carousels {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 20px;
}

.product-details {
    max-width: 300px;
    margin: auto;
}

.product-image-carousels .slick-slider {
    margin-bottom: 0px;
}

/**
  Thumbnails carousel
*/
.thumbnails-slider {
    width: 45px;
    padding: 30px 0;
    margin-right: 5px;
    /** Previous/next buttons */
    /** Single thumbnail */
}

.thumbnails-slider button {
    height: 30px;
    width: 100%;
    padding: 0;
    margin: 0;
    font-size: 30px;
    color: rgba(0, 0, 0, 0.7);
    background-color: unset !important;
}

.thumbnails-slider button:not([disabled]):hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: black;
}

.thumbnails-slider button:focus {
    background-color: royalblue;
}

.thumbnails-slider button:focus .slick-prev-icon,
.thumbnails-slider button:focus .slick-next-icon {
    color: white !important;
}

.thumbnails-slider button.slick-prev {
    top: 15px;
    left: 0;
}

.thumbnails-slider button.slick-prev .slick-prev-icon {
    display: inline-block;
    /*   transform: rotate(90deg); */
    color: black;
}

.thumbnails-slider button.slick-next {
    bottom: -15px;
    right: 0;
    top: auto;
    background-color: unset;
}

.thumbnails-slider button.slick-next .slick-next-icon {
    display: inline-block;
    /*   transform: rotate(90deg); */
    color: black;
}

.thumbnails-slider .thumbnail-button {
    display: block;
    height: 45px !important;
    cursor: pointer;
    border: 0;
    background: none;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.1s linear;
    border-radius: 10px;
}

button.slick-prev.slick-arrow.slick-disabled {
    visibility: hidden;
}

button.slick-next.slick-arrow.slick-disabled {
    visibility: hidden;
}

.thumbnails-slider .thumbnail-button:focus img,
.thumbnails-slider .thumbnail-button:hover img,
.thumbnails-slider .thumbnail-button[aria-current=true] img {
    opacity: 1;
    filter: grayscale(0);
}

.thumbnails-slider .thumbnail-button:focus img {
    outline: 3px dashed white;
    outline-offset: -4px;
}

.thumbnails-slider .thumbnail-button img {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    -o-object-fit: cover;
    object-fit: cover;
    filter: grayscale(0.6);
    transition: all 0.1s linear;
    margin: 0;
    border-radius: 10px;
    border: 1px solid black;
}

/**
  Main image carousel
*/
.main-image-slider {
    position: relative;
    width: 215px;
    height: 215px;
    position: relative;
    margin-bottom: 1px;
    /** Previous/next buttons */
    /** Slides */
}

.main-image-slider button {
    z-index: 1;
}

.main-image-slider button.slick-prev {
    left: 10px;
}

.main-image-slider button.slick-prev .slick-prev-icon {
    opacity: 1;
}

.main-image-slider button.slick-next {
    right: 10px;
}

.main-image-slider button.slick-next .slick-next-icon {
    opacity: 1;
}

.main-image-slider .slick-slide {
    width: 215px;
}

.main-image-slider .slick-slide .image-link {
    height: 215px;
    overflow: hidden;
    transition: outline 0.1s linear;
    border: 1px solid black;
    border-radius: 10px;
}

.main-image-slider .slick-slide .image-link:focus {
    outline: 4px dashed white;
    outline-offset: -7px;
}

.main-image-slider .slick-slide .image-link img {
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    margin: 0;
}

.top_sec {
    font-family: DM Serif Display;
    font-size: 24px;
    font-weight: 400;
    line-height: 32.63px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-style: normal;
}

.top_sec h5 {
    font-family: DM Serif Display;
    font-size: 24px;
    font-weight: 400;
    line-height: 32.63px;
    text-align: left;

}
.top_sec span{
    margin-bottom: 8px;
    margin-left: 50px;
}

.quantity-selector {
    display: flex;
    align-items: start;
    gap: 5px;
}
#product-actual-price{
    display: none;
}
input.upsell-quantity-input {
    border: none;
    outline: none;
    width: 26px !important;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    height: 26px !important;
    line-height: 26px !important;
    border: 0.5px solid #E5E5E5 !important;
    border-radius: 15px !important;
}

button.decrement-btn,
button.increment-btn {
    background: transparent !important;
    outline: none !important;
    padding: 0 !important;
    border: none
}

button.decrement-btn-product-pop-up,
button.increment-btn-product-pop-up {
    background: transparent !important;
    outline: none !important;
    padding: 0 !important;
    border: none
}

.bot_sec {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}
.bot_sec button{
    border: none;
}

button.add-to-cart {
    background: rgba(35, 100, 128, 1) !important;
    border: 1px solid rgba(0, 0, 0, 1);
    font-family: Open Sans;
    font-size: 14px;
    font-style: italic;
    font-weight: 400 !important;
    line-height: 19.07px;
    letter-spacing: 0.07em !important;
    text-align: center;
    color: rgba(255, 255, 255, 1) !important;
    width: 163px;
    height: 35px;
    border-radius: 30px !important;
    text-transform: unset !important;
}



/* NEW PAGE */

.cbp-step4-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

button.cbp-btn.bg-remove-btn {
    background-color: #236480 !important;
    color: white !important;
    position: relative;
    max-width: 102%;
    font-family: 'Open Sans';
    font-style: italic;
    text-transform: unset;
}

button.cbp-btn.bg-remove-btn.bg_removed {
    background-color: white !important;
    color: black !important;
    font-family: 'Open Sans';
    font-style: italic;
}

.cbp-step4-btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 245px;
}

button.cbp-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 12px 60px;
    margin: 15px 0;
    text-decoration: none !important;
    color: #000 !important;
    background-color: #fff !important;
    border: 2px solid #000;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 400 !important;
}

.cbp-text-lgt {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-size: 12px;
    line-height: 135.9%;
    max-width: 195px;
    /* or 16px */
    display: flex;
    align-items: center;
    text-align: center;
    color: #7A7A7A;
    margin-top: 15px;
}

.cbp-2-btns .cbp-btn,
.cbp-3-btns .cbp-btn {
    padding: .5rem 1rem;
    text-transform: unset;
    letter-spacing: unset;
}

button.cbp-btn-transparent {
    border: none;
    outline: none;
    padding: 0;
    margin: 0;
    background-color: #fff !important;
}

button.cbp-btn-transparent:hover,
button.cbp-btn-transparent:focus {
    color: unset;
    background-color: unset;
}

.cbp-2-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}



.cbp-3-btns {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 250px;
    width: 100%;
}

.cbp-step4-container .cbp-next-container {
    flex-direction: column;
    max-width: 244px;
    width: 100%;
    margin-top: 0;
}

.cbp-next-container .cbp-btn-with-line .cbp-icons-container,
.cbp-next-container .cbp-btn-with-line {
    width: 100%;
}

.btn_container_cbp {
    flex-direction: column;
    width: 100%;
}

.btn-2-container {
    display: flex;
    gap: 15px;
    align-items: end;
}

#cbp-step4 .cbp-btn-next {
    width: 185px;
    margin-bottom: 0;
    font-family: 'Open Sans';
    font-style: italic;
}

#cbp-step4 .cbp-tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

#cbp-step4 .cbp-tiles button {
    margin-right: 0
}

a#continue-page-btn {
    width: 100% !important;
    font-family: 'Open Sans';
    font-style: italic;
}


.cbp-next-container .cbp-btn-with-line .cbp-icons-container .cbp-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
}

#reset-all-page-btn {
    cursor: pointer;
    font-family: 'Open Sans';
    font-style: italic;
}

button#variable-page-btn {
    pointer-events: none;
    width: 140px;
    padding: 10px;
    font-family: 'Open Sans';
    font-style: italic;
}

.delete_icon {
    position: absolute;
    right: 7px;
    top: 7px;
    z-index: 1000;
    cursor: pointer;
}

#book-modal-4 .cbp-close-btn:hover {
    background-color: transparent;
}

svg.try_me {
    position: absolute;
    top: -20px;
    right: -35px;
}

.bg_removed svg.try_me {
    display: none;
}

#modal-book-cover-pick .cbp-close-button {
    top: 19px;
    background: transparent;
    right: 25px;
}

#cover-upload .cbp-modal-content {
    width: 573px !important;
    height: 350px;
    min-width: auto;
}
.digital_copy_product{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 65%;
}

#book_bulk_pricing_label{
    font-family: 'DM Serif Display';
    font-weight: 400;
    font-size: 24px;
    line-height: 32.63px;
    align-items: center;
    font-style: normal;
}

#cover-upload .title_obj {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 135.94%;
    /* or 22px */
    text-align: center;
    margin-bottom: 20px;
    color: #000000;
}

#cover-upload .cbp-upload-container {
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    max-width: 360px;
    padding: 10px 20px;
}

#cover-upload .upload-custom-image-container {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 53px;
    /* or 22px */
    display: flex;
    align-items: center;
    gap: 10px;

    color: #7A7A7A;

    background-color: #FFFFFF;
    border: 1px solid #7A7A7A;
    border-radius: 30px !important;
    width: 238.28px;
}

.file-label {
    /* Text */
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    gap: 7px;
    display: flex;
    align-items: center;
    color: #000000;
}

.file-upload {
    position: relative;
    display: inline-block;
}
#get-pages-draft-btn.d-block, #get-books-draft-btn.d-block
{
    display: inline-block;
}

.file-upload__label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 35px;
    display: flex;
    align-items: center;
    text-align: center;
    color: #000000;

    display: block;
    /* Background */

    box-sizing: border-box;

    border: 1px solid #000000;
    border-radius: 30px !important;
    width: 137px;
    color: #000;
    background: #fff;
    border-radius: .4em;
    transition: background .3s;

    &:hover {
        cursor: pointer;
        background: #222;
        color: white;
    }
}

.file-upload__input {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    font-size: 1;
    width: 0;
    height: 100%;
    opacity: 0;
}

#cbp-upload-error {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-size: 12px;
    line-height: 135.94%;
    text-align: center;
    color: #FF1D1D;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -18px;
}

#modal-book-cover-pick a.cbp-pick-page-btn#pick-book-cover-button-again {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    line-height: 40px;
    color: #000000 !important;
    width: 148px !important;
    box-sizing: border-box;
    background: #FFFFFF !important;
    border: 1px solid #000000;
    border-radius: 30px;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

#modal-book-cover-pick a.cbp-pick-page-btn#pick-book-cover-button-continue {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400;
    font-size: 14px;
    line-height: 40px;
    color: #FFFFFF !important;
    width: 217px !important;
    box-sizing: border-box;
    background: #236480;
    border: 1px solid #000000;
    border-radius: 30px;
    padding: 0;
}

.cbp-pick-page-container.custom_one {
    gap: 20px;
}

.bulk-container {
    display: flex;
    flex-direction: column;
}

.first_item {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.bulk_order {
    font-family: 'Open Sans';
    font-style: italic;
    font-weight: 400 !important;
    font-size: 14px !important;
    line-height: 23px !important;
    display: flex;
    align-items: center;
    text-align: center;

    color: rgba(122, 122, 122, 0.5) !important;
    /* Group 244 */

    /* Background */
    box-sizing: border-box;
    background: #FFFFFF !important;
    border: 1px solid rgba(122, 122, 122, 0.5);
    border-radius: 30px !important;
    padding: 4px 20px;
    justify-content: center !important;
    line-height: 1 !important;
    text-transform: unset !important;
}
.bulk_order:hover,
.bulk_order:focus,
.bulk_order:active {
    background: #FFFFFF !important;
    color: rgba(122, 122, 122, 0.5) !important;
    border: 1px solid rgba(122, 122, 122, 0.5) !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
}


input#counter-value {
    box-sizing: border-box;
    border: 0.5px solid #E5E5E5;
    border-radius: 20px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    padding: 0;
    text-align: center;
}

/* Hide the increment/decrement buttons */
input#counter-value[type="number"]::-webkit-outer-spin-button,
input#counter-value[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input#counter-value[type="number"] {
    -moz-appearance: textfield;
    /* For Firefox */
}
p.cbp-subtitle,
p.cb-pick-conversion-text,
p.cb-italic-font_medium {
    margin-top: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

#get-pages-draft-btn, 
#get-books-draft-btn {
    display: none;
}
@media (max-width: 768px) {
    .digital_copy_product {
        width: 100%;
    }
    #cbp-step8-book .coloring-book-copies-container {
        width: 100%
    }
    #cbp-step8-book .coloring-book-title-container {
        width: 100%
    }
    .cbp-step4-container {
        flex-direction: column;
    }

    #cbp-step4 .cbp-btn-next {
        padding: 12px 30px;
        font-family: 'Open Sans';
        font-style: italic;
    }

    button.cbp-btn.bg-remove-btn {
        max-width: 100%;
    }
}
.coloring-book-title-container .cb-title{
    max-width: 450px;
    text-align: left;
    font-size: 14px !important;
    line-height: 1.5;
    color: #7A7A7A;
    font-family: 'Open Sans' !important;
    font-style: italic;
}

.cbp-bulk-tab  {
    width: 100%;
}
.cbp-bulk-page
{
    width: 45%;
    display: inline-block;
    margin: 0px 2%;
    font-size: 14px;
    font-style: italic;
    font-family: 'Open Sans';
    color: #7A7A7A;
}
.cbp-bulk-price {
    width: 45%;
    display: inline-block;
    margin: 0px 2%;
    font-size: 16px;
    line-height: 21.75px;
    font-weight: bold;
    font-family: "DM Serif Display";
}

.cbp-bulk-price-link{
    width: 45%;
    display: inline-block;
    margin: 0px 2%;
    font-size: 14px;
    font-family: 'Open Sans';
    font-style: italic;
    line-height: 19.03px;
}
.cbp-bulk-price-link a {
    color: #7A7A7A !important;
    text-decoration: none !important;
}
#more_bulk_info{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #7A7A7A;
    background-color: #F2F2F2;
    border-radius: 30px;
    width: 200px;
    height: 40px;
    margin: 40px auto 0 auto;
    gap: 15px;
}

#more_bulk_info span {
    color: #000000;
}

#more_bulk_info a {
    text-decoration: none !important;
}

#more_bulk_info_pages{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #7A7A7A;
    background-color: #F2F2F2;
    border-radius: 30px;
    width: 200px;
    height: 40px;
    gap: 15px;
}

#more_bulk_info_pages a {
    text-decoration: none !important;
}

#more_bulk_info_pages span {
    color: #7A7A7A !important;
}

#modal-bulk-content {
    width: 100%;
    overflow-y: scroll;
}

#bulk_product_id {
    max-width: 200px;
    margin: 25px auto;
    border-radius: 50px;
    font-family: 'Open Sans';
    font-size: 12px;
    line-height: 16.34px;
    padding: 13px 15px 13px 15px;
    background-color: #F2F2F2;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWNoZXZyb24tZG93bi1pY29uIGx1Y2lkZS1jaGV2cm9uLWRvd24iPjxwYXRoIGQ9Im02IDkgNiA2IDYtNiIvPjwvc3ZnPg==) 97% center no-repeat !important;
}

#bulk_product_id span{
    font-size: 14px;
    font-weight: 400;
    font-family: 'Open Sans';
    font-style: italic;
}

#more_bulk_info img{
    height: 14px;
    width: 14px;
    /* margin-top: 24px; */
}
#more_bulk_info_pages img{
    height: 14px;
    width: 14px;
    /* margin-top: 24px; */
}
.cbp-bulk-details {
    margin-bottom: 20px;
    width: 100%;
}

.pages-cbp-bulk-details{
    margin-bottom: 20px;
    margin-top: 20px;
    gap: 52px;
    display: flex;
    justify-content: center;
}

#modal-bulk-show .cbp-close-button{
    color: #7A7A7A;
}

.books_quantity, 
.price_per_unit {
    border-bottom:  solid 1px #7A7A7A;
    padding-bottom: 10px;
    font-family: 'Open Sans';
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
    line-height: 19.03px;
}

.page_bulk_heading{
    border-bottom:  solid 1px #7A7A7A;
    padding-bottom: 10px;
    font-family: 'Open Sans';
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
    line-height: 19.03px;
    color: #000000;
    width: 125px;
}

.bulk_pricing_heading{
    width: 105px;
    display: inline-block;
    margin: 2px 10%;
}

#modal-bulk-show .select2-container
{
    margin: 25px auto;
    width: 200px;
    height: 40px;
}


.cbp-bulk-order {
    width: 66%;
    position: relative;
    display: none;
    padding-bottom: 40px;
}

.cbp-bulk-order  .cbp-header {
    width: 100%;
}

.cbp-bulk-order .cbp-title {
    color: #236480;
    text-align: left;
    font-size: 24px !important;
}

#bulk-container {
    width: 100%;
    display: flex;
    gap: 24px;
    /* justify-content: space-between; */
}

body .cbp-check-pricing {
    font-size: 13px;
    color: #555;
    text-decoration: none;
    font-style: italic;
    font-family: 'Open Sans';
    margin-left: -5px;
}

.cbp-check-pricing i {
    font-size: 12px;
}

.get_bulk_order_pages{
    cursor: pointer;
}


.cbp-bulk-order  .cbp-description {
    font-size: 14px;
    color: #666;
    margin: 5px 0 15px;
    text-align: left;
    font-weight: normal !important;
}
.cbp-header-title {
    display: inline-block;
}
.cbp-header-button {
    /* width: 50%; */
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
}
.cbp-header-button svg{
   vertical-align: middle;
   margin-bottom: 5px;
}
.cbp-header-button .cbp-price{
    display: flex;
}
.cbp-cancel-btn {
    border: none;
    border-radius: 15px !important;
    font-size: 14px !important;
    color: #999 !important;
    margin-bottom: 10px !important;
    position: absolute;
    top: 0;
    font-style: italic;
    font-family: 'Open Sans';
    right: 0;
    padding: 4px 20px;
    border: 1px solid rgba(122, 122, 122, 0.5) !important;
    background-color: #fff !important;
    text-transform: unset !important;
    font-weight: normal !important;
}

.cbp-cancel-btn:hover {
    
    background-color: #ffffff;
    color: #999;
}
.cbp-order-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cbp-order-details .cbp-label {
    font-weight: bold;
    text-align: left;
}

.cbp-order-details #cbp-bulk-quantity {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 10px;
    text-align: center;
    max-width: 100px;
}

.cbp-order-details .cbp-label label {
    font-family: "DM Serif Display";
    font-size: 24px;
    font-weight: 400;
    line-height: 32.63px;
    text-align: left;
}

.cbp-order-details .cbp-price {
    font-weight: bold;
    font-size: 18px;
    width: 33%;
    text-align: right;
}

.cbp-check-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #1a3d5d;
}
.get_bulk_order {
    cursor: pointer;
}
.cbp-price .cbp-check-btn{
    width: 100%;
    font-family: "DM Serif Display";
    font-size: 24px;
    font-weight: 400;
    line-height: 32.63px;
    margin-right: 10px;
    color:#000
}

#add-variable-page-btn svg{
    transform: scale(1.2);
}
#minus-variable-page-btn svg{
    transform: scale(1.2);
}

.product-info #product-variants{
    border-radius: 30px;
    font-size: 12px;
    font-family: 'Open Sans';
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDI0IDI0IiBmaWxsPSJub25lIiBzdHJva2U9ImN1cnJlbnRDb2xvciIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGNsYXNzPSJsdWNpZGUgbHVjaWRlLWNoZXZyb24tZG93bi1pY29uIGx1Y2lkZS1jaGV2cm9uLWRvd24iPjxwYXRoIGQ9Im02IDkgNiA2IDYtNiIvPjwvc3ZnPg==) 97% center no-repeat !important;
}

#cbp-step7-pages .pages-cbp-bulk-order{
    display: flex;
    justify-content: center;
}

#cbp-step7-pages .cbp-header{
    width: 600px;
    padding-bottom: 20px;
}

.checkout-page-text{
    font-family: 'Open Sans';
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    line-height: 135%;
    color: #7A7A7A;
}
.checkout-page-text-page{
    font-family: 'Open Sans';
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    line-height: 135%;
    color: #7A7A7A;
}

#cbp-step7-pages #product-detail-container
{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#cbp-step7-pages #description-container {
    border: 1px solid rgb(122, 122, 122, 0.5);
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#cbp-step7-pages #description-container #description-content{
    width: 58%;
    color: #7A7A7A;
    text-align: left;
    font-size: 14px;
    font-style: italic;
    font-family: 'Open Sans';
}

#cbp-step7-pages #add-pages-container a{
    background: #236480;
    font-family: 'Open Sans';
    font-size: 14px !important;
    color: #fff !important;
    font-style: italic;
    line-height: 19.07px;
    border: 1px solid #000;
    margin:0;
    padding:12px 40px;
    letter-spacing: 1.4;
}

#cbp-step7-pages #add-pages-container a.add-btn-disabled {
    background: #F5F5F5 !important;
    color: #7A7A7A !important;
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

#product-detail-container .cbp-title{
    display: flex;
}
.cbp-header::after{
    content: "";
    display: block;
    width: 100%;
    height: 1px; /* Divider thickness */
    background-color: #F2F2F2; /* Divider color */
    margin-top: 55px; /* Space after the container */
}
.wc-block-components-order-summary .wc-block-components-order-summary-item__individual-prices{
    display: none !important;
}
.cbp-btn[type=button]:focus{
    background-color: initial;
}
#upsell-page-additional-text{
    display: flex;
    font-family: 'Open Sans';
    font-size: 12px;
    line-height: 16.31px;
    font-style: italic;
    color: #7A7A7A;
    margin-top: 5px;
}

#coloring_page_bulk_heading{
    font-family: 'DM Serif Display';
    font-weight: 400;
    font-size: 24px;
    line-height: 32.63px;
    align-items: center;
    font-style: normal;
}

.pages-cbp-bulk-heading{
    margin-top: 20px;
}

.pages-cbp-bulk-tab  {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#book_quantity {
    max-width: 383px;
    width: 100%;
    justify-content: unset !important;
    gap: 24px;
}
.book_quantity_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
}

@media screen and (max-width: 480px) {
    #bulk-container {
        flex-direction: column !important;
        align-items: flex-start;
    }
    #book_quantity {
        flex-direction: column !important;
    }
    #cbp-step8-book .price-and-title {
        gap: 12px;
    }
    .digital_copy_product{
        width: 100%;
    }
    #cbp-step8-book .coloring-book-title-container {
        width: 100%;
        position: relative;
        padding-bottom: 54px;
    }
    .cbp-btn {
        padding: 12px 20px;
        font-size: 16px !important;
        width: 100%;
    }
    .cbp-upload-description {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .cbp-start-over {
        text-align: end;
        position: unset;
        right: 0;
        margin-bottom: 16px;
    }
    .cb-pick-pricing-option-middle-section-wrapper .box-layout#step5-box-layout {
        width: 225px;
        height: 100%;
        aspect-ratio: 0.772;
    }

    .step5-btn {
        height: 65px;
    }

    #cbp-step5-pages .cbp-start-over,
#cbp-step5-book .cbp-start-over,
#cbp-step7-book .cbp-start-over,
#cbp-step6-book .cbp-start-over,
#cbp-step6-pages .cbp-start-over {
    top: 10px !important;
}

.cb-previous-page {

    top: 10px;
    left: 10px;
}
.complete-order-heading {
    margin-top: 20px !important;
}

#cbp-step7-pages .order-sub-heading-text {
    font-size: 18px;
    line-height: 24px;
}

.cbp-header-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
}

#cbp-step7-pages .price-and-title {
    align-items: flex-end !important;
}

.cbp-header-button .cbp-price {
    align-items: flex-end !important;
}
.cbp-header-button svg{
    vertical-align: bottom;
    margin-bottom: 0px;
 }

 #cbp-step7-pages #description-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
#cbp-step7-pages #description-container #description-content{
    width: 100%;
}

#cbp-step7-pages .order-sub-heading-text {
    margin: 0px;
}

#cbp-step7-pages .order-subtext{
    margin-top: 12px;
}

#cbp-step7-pages #price-and-title-not-free {
    align-items: center !important;
    gap: 10px;
}

.cost-and-icon svg {
    height: 20px;
    width: 100%;
    min-width: 20px;
}

#modal-product-show .cbp-modal-content.cbp-page-modal {
    min-width: 100%;
    min-height: 500px;
}
#modal-book-cover-pick .cbp-image-container{
    width: 100%;
    height: auto;
    aspect-ratio: 0.772;
}
#modal-book-cover-pick .cbp-image-container img {
    height: 100%;
    min-height: auto;
}
#cover-upload .cbp-modal-content {
    width: 100% !important;
    height: fit-content;
    min-width: auto;
}

.cbp-pick-page-container.custom_one {
    gap: 12px;
    flex-direction: column;
    align-items: center;
}

#modal-book-cover-pick .cbp-pick-page-btn {
    margin-top: 0px !important;
}

#modal-4-cover .cbp-modal-content.cbp-page-modal {
    height: 371px;
}

#cbp-step8-book .coloring-book-copies-container {
    width: 100%;
}
#cbp-step8-book .cost-and-icon {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

#cbp-step8-book .price-and-title.counter.after-class::after {
    right: -14px;
    top: 82px;
}

@keyframes spin {
        from { transform: rotate(0deg); }
        to   { transform: rotate(360deg); }
}


}