.customisation-card,
.right-row-column-main,
.bulk-customisation,
.forDesk {
    font-family: 'Arial Rounded MT Pro';
}

.common-customisation-btn {
    text-decoration: none;
    text-align: center;
    display: block;
    margin-left: auto;
    width: max-content;
    margin-right: auto;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.another-customisation-btn {
    color: #fff;
    background: #00a591;
}

.another-customisation-btn:hover {
    background: #26b3a2;
    color: #fff;
}

.step-icon-box svg {
    color: #00af9a;
}

.save-customisation-btn {
    color: #fff;
    background: #ff671d;
}

.save-customisation-btn:hover {
    background: #ff7f3f;
    color: #fff;
}

.next-btn.common-customisation-btn {
    background: transparent;
    border: 1px solid #df1683;
    color: #df1683;
    margin-top: 30px;
    padding: 7px 30px;
    font-size: 20px;
    transition: all 0.3s ease;
}

.next-btn.common-customisation-btn:not(:disabled):hover {
    background: #df1683;
    border: 1px solid #df1683;
    color: #000000;
}


.tabber-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;

}

.mb-15 {
    margin-bottom: 15px;
}

.right-row-column-main {
    border-radius: 8px;
    background: #f8f8f8;
    padding: 30px 22px;
    position: relative;
    font-family: 'Arial Rounded MT Pro';
}

.right-box-title {
    font-size: 22px;
    margin-bottom: 20px;
}

.mb-0 {
    margin-bottom: 0;
}

.text-left {
    text-align: left;
}

.option-text {
    font-size: 16px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.parent-radio-btn {
    text-align: center;
}

.step-icon-box {
    background: #fff;
    padding: 15px;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-inline: auto;
    cursor: pointer;
}

.logo-flex-main input:focus,
.focus-outline-none:focus,
.compitable-column-subinner input:focus {
    outline: none !important;
}

.logo-flex-main .box-flex-column {
    text-align: center;
    position: relative;
    padding: 10px 0;
}

.logo-flex-main .box-flex-column .logo-positioning-input {
    position: absolute;
    top: 3px;
    left: 3px;
}

.already-span-text {
    font-size: 11px;
    position: absolute;
    top: -7px;
    width: 100%;
    left: 0;
}

.icon-box-logo {
    width: 160px;
    height: 160px;
    border: 1px solid #ddd;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 8px;
    cursor: pointer;
    flex-direction: column;
    margin-inline: auto;
}

label:has(input:checked) .icon-box-logo {
    border: 1px solid #00b29b;
    background: #ccf0eb;
}

.icon-box-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    padding: 15px;
}

.customisation-btn-box {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
    justify-content: center;
    width: 100%;
    text-align: center;
    flex-direction: column;
}

.customisation-btn-box button {
    margin-inline: auto;
}

.another-btn-box,
.save-btn-box {
    flex: 0 0 calc(50% - 15px);
}

.logo-flex-main {
    justify-content: center;
}

.text-center {
    text-align: center;
}

.logo-pos-img {
    margin-block: 5px;
}


.mx-auto {
    margin-inline: auto;
}

.left-row-column {
    border: 1px solid #000000;
    padding: 8px 40px;
    color: #6c757d;
    border-radius: 50px;
    margin-bottom: 15px;
    height: 53px;
    display: flex;
    align-items: center;
    font-family: "Arial Rounded MT Pro - Bold";
    font-size: 20px;
}

.left-row-column {
    position: relative;
}

/* Default chevron-down (green) */
.left-row-column::after {
    content: '';
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300b29b'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Active chevron-down (white) */
.left-row-column.active-step::after {
    transform: translateY(-50%) rotate(180deg);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


.left-row-column.active-step .step-text {
    color: #99dbd3;
}

.step-text {
    font-size: 22px;
    color: #bfc0bf;
    padding-right: 30px;
}

.left-row-column.clickable-step {
    cursor: pointer;
    background: #ccf0eb;
    color: #00af9a;
    border: 1px solid transparent;
}

.left-row-column.active-step .fa-info-circle {
    color: #fff;
}

.step-label-box {
    text-align: center;
    margin-top: 15px;
}

.left-row-column.active-step {
    background-color: #00b29b;
    color: #fff;
    border: 1px solid transparent;
}

.radio-btn-active .step-icon-box {
    background: #ccf0eb;
}

.step-label-box input[type="radio"] {
    appearance: none;
    outline: none;
    -webkit-appearance: none;
    /* For Safari */
    -moz-appearance: none;
    /* For Firefox */
}

#upload-logo-field {
    margin-top: 25px;
    font-size: 14px;
}

.step-label-box,
.logo-flex-main .box-flex-column {
    color: #000000;
    font-family: Arial Rounded MT Pro !important;
    font-size: 16px;
}

.box-flex {
    display: flex;
    column-gap: 30px;
    row-gap: 15px;
    flex-wrap: wrap;
    justify-content: start;
}

.box-flex-column {
    flex: 1 1 calc(33.33% - 30px);
    background: #f8f8f8;
    position: relative;
    padding: 15px 20px;
    text-align: left;
}
.logo-flex-main .box-flex-column{
  flex:initial;  
}
.custom-upload-file,
.custom-upload-file:focus {
    display: block;
    width: 100%;
    padding: 10px 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #000000;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    appearance: none;
    margin-top: 5px;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
}

.logo-file-name {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
}

.logo-file-name span {
    display: flex;
    align-items: center;
    padding: 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: #000000;
    text-align: center;
    white-space: nowrap;
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-radius: 8px 0 0 8px;
    border-right: 0;
}

.logo-file-name-main {
    display: initial;
}

.custom-form-control,
.custom-form-control:focus {
    display: block;
    width: 100%;
    padding: 12px !important;
    font-size: 1rem;
    line-height: 1.5;
    color: #000000;
    background-color: #fff !important;
    background-clip: padding-box;
    border: 1px solid #ced4da !important;
    appearance: none !important;
    border-radius: 10px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    outline: none;
    box-shadow: none !important;
}

.logo-file-name .custom-form-control {
    border-radius: 0 8px 8px 0;
    border-left: 0;
}

textarea.custom-form-control {
    min-height: 60px;
    border-radius: 8px !important;
}

.notes-h4 {
    margin-top: -6px;
    margin-bottom: 20px;
}

.position-group {
    margin-top: 5px;
}

.customisations-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.customisation-card {
    flex: 0 0 calc(25% - 11.25px);
    /* 4 cards per row with gap accounted */
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    position: relative;
    box-sizing: border-box;
}

.customisation-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.customisation-card p {
    margin-bottom: 0px;
    font-size: 12px;
}

.subinner-porperty {
    font-size: 0.85em;
    color: #666;
    margin-top: 4px;
    text-transform: capitalize;
}

@media (max-width: 1024px) {
    .customisation-card {
        flex: 0 0 calc(50% - 7.5px);
    }
}

@media (max-width: 600px) {
    .customisation-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 767px) {

    .decoration-type-main .box-flex-column,
    .upload-your-logo-main .box-flex-column,
    .logo-position-main .box-flex-column {
        width: calc(50% - 15px);
    }
}


.dummy-text {
    margin-top: 30px;
}

.dummy-text-box {
    border: 1px solid #df1683;
    border-radius: 8px;
    padding: 15px;
}

.d-flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.step3-dummy-text .alert-msg {
    color: #665201;
    background: #fff5cc;
    border: 1px solid #fff0b3;
    padding: 15px;
    border-radius: 8px
}

.customisation-block {
    text-align: left;
    margin-bottom: 15px;
    font-size: 15px;
}

.customize-logo-button {
    border-radius: 50px !important;
    text-align: center !important;
    color: #fff !important;
    background: #ff671d !important;
    width: max-content;
    margin-top: -25px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.logo-url {
    color: initial !important;
}

.customisation-packaging-options {
    font-family: 'Arial Rounded MT Pro';
}

.customisation-output p {
    margin-bottom: 5px;
}

.woocommerce-cart-form__cart-item.cart_item .product-name {
    text-align: left !important;
}

.woocommerce-cart-form__cart-item.cart_item .product-name .custom-edit-qty>span {
    display: none;
}

.customisation-output span {
    font-family: "Arial Rounded MT Pro - Bold";
}

.compatible-items-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.compitable-column {
    padding: 12px 8px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.compitable-column-subinner {
    display: grid;
    grid-template-columns: 0.5fr 1fr 4fr;
    column-gap: 0;
    align-items: start;
    font-size: 14px;
}

.mt-20 {
    margin-top: 20px;
}

.variation-attrs {
    color: #666;
    text-transform: capitalize;
}

.customisation-product-card.top-card {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #ddd;
    width: 50%;
}

.compitable-column-subinner>*:nth-child(2) {
    margin-right: 15px;
    margin-left: 5px;
}

.customisation-output p,
dd.variation-PackagingOptions,
dl.variation {
    font-family: "Arial Rounded MT Pro";
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

dl.variation {
    margin-bottom: 0 !important;
}

.customisation-output p span,
dt.variation-PackagingOptions {
    font-family: "Arial Rounded MT Pro - Bold";
    font-weight: 500;
}

.customize-logo-button {
    margin-bottom: 0;
}

.desktop-customise-tr td {
    padding-top: 0 !important;
}

@media (max-width: 1024px) {
    .right-row-column {
        position: relative;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .customisation-product-card.top-card {
        width: 100%;
    }

    .right-row-column.active {
        overflow: hidden;
        padding: 30px 15px;
        margin-bottom: 15px;
    }

    .tabber-row {
        grid-template-columns: 1fr;
        gap: 0px;
    }

    .customisation-form-wrapper {
        display: flex;
        flex-direction: column;
    }

    .left-row-column-main,
    .right-row-column-main {
        display: contents;
    }

    .step-text {
        padding-right: 0;
        font-size: 20px;
    }

    .left-row-column,
    .right-row-column {
        width: 100%;
        display: block;
    }

    .right-row-column {
        order: 1;
        margin-top: 15px;
        /* padding:30px 15px; */
        background: #f9f9f9;
    }

    .left-row-column {
        padding: 8px 14px;
        margin-bottom: 0;
        font-size: 16px;
        display: flex;
        align-items: center;
        gap: 3px;
    }

    .left-row-column::after {
        right: 15px;
    }

    .left-row-column::after {
        width: 15px;
        height: 15px;
    }

    .another-btn-box,
    .save-btn-box {
        flex: 0 0 calc(100% - 15px);
    }

    .customisation-btn-box {
        position: initial;
        margin-top: 30px;
        gap: 5px;
    }

    .left-row-column:nth-of-type(1) {
        order: 2;
    }

    .right-row-column:nth-of-type(1) {
        order: 3;
    }

    .left-row-column:nth-of-type(2) {
        order: 4;
    }

    .right-row-column:nth-of-type(2) {
        order: 5;
    }

    .left-row-column:nth-of-type(3) {
        order: 6;
    }

    .right-row-column:nth-of-type(3) {
        order: 7;
    }

    .left-row-column:nth-of-type(4) {
        order: 8;
    }

    .right-row-column:nth-of-type(4) {
        order: 9;
    }

    .left-row-column:nth-of-type(5) {
        order: 10;
    }

    .right-row-column:nth-of-type(5) {
        order: 11;
    }

    .left-row-column:nth-of-type(6) {
        order: 12;
    }

    .right-row-column:nth-of-type(6) {
        order: 13;
    }

    .left-row-column:nth-of-type(7) {
        order: 14;
    }

    .right-row-column:nth-of-type(7) {
        order: 15;
    }
}

@media(max-width:1024px) {
    .compatible-items-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }

    .packaging-addons-custom .box-flex-column .icon-box-logo input[type="radio"]+span,
    .packaging-addons-custom .box-flex-column .icon-box-logo input[type="checkbox"]+span {
        font-size: 16px!important;
    }
    .packaging-addons-custom .box-flex-column .icon-box-logo{
        padding-right:15px!important;
    }
}

@media(max-width:600px) {
    .left-row-column {
        font-size: 16px;
    }

    .step-text {
        font-size: 16px;
    }

    .icon-box-logo {
        width: 133px;
        height: 133px;
    }

    .compatible-items-wrapper {
        grid-template-columns: repeat(1, 1fr);
    }

    .box-flex-column {
        padding: 0;
    }

    .box-flex {
        column-gap: 15px;
    }
}


.screen-embroidery-main .box-flex {
    flex-direction: column;
}

.screen-embroidery-main .box-flex .box-flex-column {
    padding: 0;
}

.screen-embroidery-main .box-flex .box-flex-column.radio-btn-active label {
    background: #ccf0eb;
    border: 1px solid #00b29b;
}

.screen-embroidery-main .box-flex .box-flex-column.radio-btn-active label:before {
    background: #00b29b;
}

.screen-embroidery-main .box-flex .box-flex-column label {
    cursor: pointer;
    border: 1px solid #cbcbcb;
    padding: 8px 40px;
    color: #6c757d;
    border-radius: 50px;
    height: 53px;
    display: flex;
    align-items: center;
    position: relative;
}

.screen-embroidery-main .box-flex .box-flex-column label:before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #cbcbcb;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.screen-embroidery-main .box-flex .box-flex-column label .step-label-box {
    margin-top: 0;
    font-family: "Arial Rounded MT Pro - Bold" !important;
    font-size: 19px;
    color: #6c757d;
}

.notes-textarea,
.notes-textarea:focus {
    box-shadow: none !important;
    outline: none;
    background: #fff;
    color: #000000;
    border-radius: 0px !important;
    border: 1px solid #e0e0e0 !important;
    padding: 15px !important;
    max-width: 100%;
}

@media (max-width: 1024px) {
    .screen-embroidery-main .box-flex .box-flex-column label .step-label-box {
        font-size: 16px;
    }
}

@media(min-width:1200px) {
    .screen-embroidery-main .box-flex {
        gap: 20px;
    }
}


.packaging-addons-custom .packaging-notes {
    display: none;
}

.packaging-addons-custom .packaging-notes.active {
    display: block;
}


.packaging-addons-custom .box-flex-column .icon-box-logo {
    width: 100%;
    cursor: pointer;
    border: 1px solid #cbcbcb;
    padding: 8px 40px;
    color: #6c757d;
    border-radius: 50px;
    height: 53px;
}


.packaging-addons-custom .box-flex-column .icon-box-logo {
    position: relative;
    padding-left: 45px;
    cursor: pointer;
    display: inline-flex;
    align-items: start;
}

.packaging-addons-custom .box-flex-column .icon-box-logo input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.packaging-addons-custom .box-flex-column .icon-box-logo input[type="radio"]+span::before {
    content: "";
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #cbcbcb;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.packaging-addons-custom .box-flex-column .icon-box-logo input[type="radio"]+span,
.packaging-addons-custom .box-flex-column .icon-box-logo input[type="checkbox"]+span {
    font-family: "Arial Rounded MT Pro - Bold" !important;
    font-size: 19px;
    color: #6c757d;
}

.packaging-addons-custom .box-flex-column .icon-box-logo input[type="radio"]:checked+span::before {
    background: #00b29b;
}

.packaging-addons-custom .logo-flex-main .box-flex-column input[type="checkbox"] {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
}

.kcl-cart-name-wrap dt.variation-PackagingNotes {
    margin-top: 12px !important;
    font-family: "Arial Rounded MT Pro - Bold";
    font-weight: 500;
}

.parent-radio-btn.tile-disabled,
.parent-radio-btn.tile-disabled .step-icon-box {
    opacity: 0.6;
    cursor: not-allowed;
}

.parent-radio-btn.tile-disabled input,
.parent-radio-btn.tile-disabled label {
    pointer-events: none;
}

.step-6-next-btn {
    margin-top: 0 !important;
}

.position-group label.used {
    opacity: .6;
    pointer-events: none;
}

.reload-btn {
    background: #ff671d !important;
}

.reload-btn:hover {
    background-color: #ff7f3f !important;
}

.reload-modal-main {
    display: none;
}

.reload-modal-inner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 99999;
    width: 700px;
    max-width: 90%;
    text-align: center;
    font-family: inherit;
}

.btn-reload-main {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.reload-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 99999;
}

.cancel-reload-btn,
.reload-btn {
    width: 100% !important;
}

.reload-modal-close,
.reload-modal-close:hover {
    position: absolute;
    top: 0;
    right: -30px;
    background: none;
    border: none;
    font-size: 40px;
    cursor: pointer;
    color: #333;
    line-height: 0;
}

@media(min-width:768px) {
    .btn-reload-main {
        flex-wrap: initial;
    }
}

/* Start Stitch Count Guide CSS */
.no-scroll {
    overflow: hidden;
}

.stitch-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.stitch-modal-content {
    position: relative;
    background: #fff;
    border-radius: 12px;
    width: 900px;
    max-width: 100%;
    max-height: 90vh;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    padding-bottom: 15px;
}

.stitch-image-wrapper {
    overflow-y: auto;
    padding-right: 5px;
    flex: 1;
    border-radius: 12px;
}

.stitch-close {
    font-size: 40px;
    color: #000000;
    cursor: pointer;
    line-height: 1;
}

.stitch-header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid #ddd;
}

.stitch-header-flex h2 {
    margin-bottom: 0;
    font-size: 24px;
}

.stitch-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px;
}

.example-heading {
    padding-inline: 15px;
    margin-bottom: 0;
    font-size: 18px;
}

.packaging-notes .packaging-notes-para {
    font-size: 14px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-0 {
    margin-top: 0px !important;
}

.print-area-para {
    padding-inline: 15px;
}

.stitch-image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.content-below-next-btn-box {
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-top: 30px;
    border-radius: 8px;
}

.print-area-modal-main .stitch-image-grid {
    grid-template-columns: 1fr;
    width: 400px;
    margin-inline: auto;
    max-width: 100%;
}

.another-btn-flex-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    gap: 15px;
    flex-wrap: wrap;
}

@media (max-width: 992px) {
    .stitch-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stitch-modal-content {
        min-width: 500px;
    }
}

@media (max-width: 600px) {
    .stitch-image-grid {
        grid-template-columns: 1fr;
    }

    .stitch-modal-content {
        min-width: auto;
    }
}

/* End Stitch Count Guide */