#bundle_builder_sd_container * {
    margin: 0;
}

#bundle_builder_sd_container {
    max-width: 1130px;
    width: 100%;
    margin: 0 auto;
}

.bundle_builder_sd_header h1 {
    font-size: var(--headingFontSize);
    font-weight: var(--headingFontWeight);
    color: var(--headingFontColor);
    text-align: var(--headingAlignment);
    margin-bottom: 15px !important;
}

.bundle_builder_sd_header p {
    font-size: var(--paraFontSize);
    font-weight: var(--paraFontWeight);
    color: var(--paraFontColor);
    text-align: var(--paraAlignment);
}

span.length_circle {
    border: 1px solid var(--circleBgColor);
    width: 50px;
    height: 50px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--circleFontWeight);
    font-size: var(--circleFontSize);
    line-height: 25px;
    margin-bottom: 15px !important;
    background: var(--circleBgColor);
    position: relative;
    overflow: hidden;
    color: var(--circleFontColor);
}

.item_step_toggle.previouse_active_circle .length_circle:after {
    background: url('https://cdn.shopify.com/s/files/1/0884/8097/2984/files/Vector_9.svg?v=1747119533'), var(--circleCompleteColor);
    content: '';
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    z-index: 9;
    width: 100%;
    height: 100%;
    position: absolute;
}

.bundle_builder_sd_step_toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 65px 0 !important;
    position: relative;
    z-index: 1;
}

.item_step_toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    pointer-events: none;
}

.bundle_builder_sd_step_toggle:before {
    content: '';
    width: 95%;
    height: 1px;
    background: #000;
    position: absolute;
    left: 25px;
    z-index: -1;
    top: 25px;
}

.item_step_toggle.activeLengthCircle span.length_circle {
    background: var(--circleActiveColor);
    border: 1px solid #000;
}

.bundle_builder_sd_step_header h2 {
    font-weight: var(--stepHeadingFontWeight);
    font-size: var(--stepHeadingFontSize);
    color: var(--stepHeadingFontColor);
    text-align: var(--stepHeadingAlignment);
    line-height: 25px;
    margin-bottom: 26px !important;
}

.bundle_builder_sd_step_header {
    text-align: center;
    margin-bottom: 50px !important;
}

.bundle_builder_sd_step_header p {
    font-weight: var(--stepParaFontWeight);
    font-size: var(--stepParaFontSize);
    color: var(--stepParaFontColor);
    text-align: var(--stepParaAlignment);
    line-height: 25px;
}

.bundle_builder_sd_step_header h2 span {
    font-weight: 600;
}

.item_step_toggle span:not(.length_circle) {
    font-weight: var(--circleLabelFontWeight);
    font-size: var(--circleLabelFontSize);
    color: var(--circleLabelFontColor);
    line-height: 25px;
    text-align: center;
}

.item_step_toggle span:last-child {
    font-weight: 400;
}

.bundle_builder_sd_products {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
}

.product_item {
    max-width: 33.33%;
    width: 100%;
    padding: 0 30px 60px;
}

.product_item_image img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.product_item_image {
    display: flex;
}

.product_item_details {
    background: var(--pcBgColor);
    padding: 20px;
    border-bottom-right-radius: 13px;
    border-bottom-left-radius: 13px;
}

.product_item_title {
    font-weight: var(--pcTitleFontWeight);
    font-size: var(--pcTitleFontSize);
    color: var(--pcTitleFontColor);
    text-align: var(--pcTitleFontAlignment);
    line-height: 1.3;
    margin-bottom: 5px !important;
}

.product_item_price {
    font-weight: var(--pcPriceFontWeight);
    font-size: var(--pcPriceFontSize);
    color: var(--pcPriceFontColor);
    text-align: var(--pcPriceFontAlignment);
}

select#variant_id,
select.filter_option {
    width: 100%;
    border: 0.5px solid #000000;
    height: 29px;
    background: #fff;
    border-radius: 8px;
    text-align: center;
    padding: 0 30px 0 12px;
    font-size: 14px;
    line-height: 1.3;
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    outline: none;
    box-shadow: none;
    cursor: pointer;
}

.select_variant_id {
    margin-top: 30px !important;
    position: relative;
}

.step_wise_filter {
    position: relative;
    max-width: 200px;
}

.select_variant_id::before,
.step_wise_filter::before {
    content: '';
    background: url('https://cdn.shopify.com/s/files/1/0884/8097/2984/files/Vector_8.svg?v=1746783649');
    width: 12px;
    height: 12px;
    position: absolute;
    top: 11px;
    right: 13px;
    background-size: contain;
    z-index: 9;
    background-repeat: no-repeat;
}

.bundle_builder_sd_step {
    display: none;
}

.bundle_builder_sd_step.bundle_builder_sd_step_current {
    display: block;
}

.item_grid_actions button.add-to-bag {
    border: 0.5px solid #000000;
    font-size: var(--buttonFontSize);
    font-weight: var(--buttonFontWeight);
    background: var(--buttonBgColor);
    color: var(--buttonFontColor);
    width: 100%;
    height: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.item_grid_actions button.add-to-bag:hover {
    background: var(--buttonHoverBgColor);
    color: var(--buttonHoverFontColor);
}

.item_grid_actions .quantity-controls {
    display: flex;
    border: 0.5px solid #000000;
    background: #fff;
    width: 100%;
    max-width: 92px;
    align-items: center;
    justify-content: center;
    height: 35px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.item_grid_actions input.qty-input {
    width: 30%;
    padding: 0;
    text-align: center;
    appearance: none;
    -moz-appearance: textfield;
    background: transparent;
    box-shadow: none;
    outline: none;
    border: none;
    font-size: 14px;
    font-weight: 500;
}

.item_grid_actions button.qty-btn {
    width: 40%;
    border: none;
    background: transparent;
    font-size: 15px;
    cursor: pointer;
}

.item_grid_actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px !important;
}

.spinner {
    animation: rotator 1.4s linear infinite;
}

span.loader {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    margin: 0 auto !important;
}

.loader_hidden {
    display: none !important;
}

.spinner .path {
    /* stroke: #fff !important; */
    stroke-dasharray: 280;
    stroke-dashoffset: 0;
    transform-origin: center;
    stroke: rgb(var(--color-foreground));
    animation: dash 1.4s ease-in-out infinite;
}

@keyframes dash {
    0% {
        stroke-dashoffset: 280;
    }

    50% {
        stroke-dashoffset: 75;
        transform: rotate(135deg);
    }

    100% {
        stroke-dashoffset: 280;
        transform: rotate(450deg);
    }
}

@keyframes rotator {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(270deg);
    }
}


/* personalise style */
.personalise_wrapper {
    padding: 20px 25px 20px;
    border: 0.5px solid #000;
    border-radius: 20px;
    margin-bottom: 35px !important;
}

.personalise_fields .fields_label {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    display: block;
    line-height: 1;
    margin-bottom: 10px !important;
}

.personalise_fields input {
    border: 0.5px solid #000;
    border-radius: 20px;
    width: 100%;
    color: #A4A4A4;
    font-size: 13px;
    padding: 11px 14px;
    line-height: 1;
}

.personalise_fields {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 20px 15px;
    margin-top: 15px !important;
}

.personalise_heading {
    margin-bottom: 20px !important;
}

.to__fields,
.from__fields {
    width: 48%;
}

.msg__fields {
    width: 100%;
}

#msg__fields {
    min-height: 160px;
    width: 100%;
    border: .5px solid #000;
    border-radius: 20px;
    color: #a4a4a4;
    font-size: 13px;
    padding: 15px 14px;
    line-height: 1;
}

.uploading__fields label {
    border: 0.5px dashed #000;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.uploading__fields p {
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    margin: 5px 0 3px !important;
}

.uploading__fields span {
    font-size: 11px;
    font-weight: 400;
    margin-bottom: 10px !important;
}

.browse_btn {
    border: 0.84px solid #000;
    line-height: 1;
    font-size: 10px;
    padding: 10px 15px;
    font-weight: 500;
    color: #000;
    background: #fff;
}

.change_product_btn .browse_btn {
    font-size: 15px;
}

.change_product_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 30px !important;
}

.uploading__fields {
    width: 100%;
    margin-bottom: 20px !important;
}

.personalise_heading p {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    line-height: 1;
    margin: 0;
}

.personalise_heading label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

label#toggle_personalise_label>span {
    width: 18px;
    height: 18px;
    border: 1px solid #000;
    border-radius: 5px;
    transition: 0.5s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    cursor: pointer;
}

input#upload_file {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

input#upload_file.has-file+small {
    display: block !important;
}

.card_note_container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    gap: 40px;
}

.card_select_product,
.personalise_container {
    width: 100%;
}

.card_image {
    display: flex;
}

button {
    cursor: pointer;
}

@media only screen and (max-width:768px) {

    .to__fields,
    .from__fields {
        width: 100%;
    }

    .personalise_wrapper {
        padding: 20px 15px;
        border-radius: 10px;
    }

    #msg__fields,
    .uploading__fields label {
        border-radius: 10px;
    }
}


/* personalise style */

.checkout_image {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 230px;
    margin: 0 auto !important;
}

.checkout_heading {
    font-weight: 600;
    font-size: 24px;
    line-height: 25px;
    text-align: center;
    margin: 50px 0 45px !important;
}

.checkout_actions {
    text-align: center;
}

button.bundle_addtocart {
    border: 0.63px solid #000000;
    height: 35px;
    font-weight: 400;
    font-size: 17.5px;
    line-height: 100%;
    text-align: center;
    border-radius: 10px;
    background: #000;
    outline: none;
    box-shadow: none;
    padding: 0 20px;
    min-width: 250px;
    color: #fff;
    transition: 0.3s;
}

.bundle_addtocart .loader {
    width: 100%;
}

.bundle_builder_sd_products.checkout_step {
    flex-direction: column;
    align-items: center;
}

.sticky_product_box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 15px;
}

.stickyProductItem {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-right: 20px !important;
}

.stickyProductItem img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

span.item_close_btn {
    position: absolute;
    top: -5px;
    right: -5px;
    display: flex;
    cursor: pointer;
}

span.item_qty {
    position: absolute;
    top: -5px;
    left: -5px;
    cursor: pointer;
    display: flex;
    line-height: 1;
    background: #d9d9d9;
    border-radius: 50px;
    font-size: 10px;
    width: 13px;
    height: 13px;
    align-items: center;
    justify-content: center;
}

.stickyProductItemImage {
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    justify-content: center;
    align-items: center;
}

.sticky_bottom_bar {
    width: 100%;
    background: rgb(255, 255, 255);
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 9;
    height: auto;
    /* padding: 15px 20px; */
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

.sticky_action_button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-left: auto !important;
}

.sticky_bottom_bar_warpper {
    margin: 0 auto !important;
    max-width: 1200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 20px;
}

button#previous_btn {
    border: 0.63px solid #000000;
    height: 35px;
    font-weight: var(--buttonFontWeight);
    font-size: var(--buttonFontSize);
    line-height: 100%;
    text-align: center;
    border-radius: 10px;
    background: var(--buttonFontColor);
    color: var(--buttonBgColor);
    outline: none;
    box-shadow: none;
    padding: 0 20px;
    min-width: 250px;
    transition: 0.3s;
}

button.swal2-cancel {
    border: 0.63px solid #000000;
    height: 35px;
    font-weight: 400;
    font-size: 17px;
    line-height: 100%;
    text-align: center;
    border-radius: 10px;
    background: #fff;
    color: #000;
    outline: none;
    box-shadow: none;
    padding: 0 20px;
    min-width: 250px;
    transition: 0.3s;
}

button#previous_btn:hover {
    background: var(--buttonHoverFontColor);
    color: var(--buttonHoverBgColor);
}

button.swal2-cancel:hover {
    background: #000;
    color: #fff;
}

button#next_btn {
    border: 0.63px solid #000000;
    height: 35px;
    font-weight: var(--buttonFontWeight);
    font-size: var(--buttonFontSize);
    line-height: 100%;
    text-align: center;
    border-radius: 10px;
    background: var(--buttonBgColor);
    outline: none;
    box-shadow: none;
    padding: 0 20px;
    min-width: 250px;
    color: var(--buttonFontColor);
    transition: 0.3s;
}

button.swal2-confirm {
    border: 0.63px solid #000000;
    height: 35px;
    font-weight: 400;
    font-size: 17px;
    line-height: 100%;
    text-align: center;
    border-radius: 10px;
    background: #000000;
    outline: none;
    box-shadow: none;
    padding: 0 20px;
    min-width: 250px;
    color: #fff;
    transition: 0.3s;
}

button#next_btn:hover {
    background: #fff;
    color: #000;
}

button.swal2-confirm:hover {
    background: var(--buttonHoverBgColor);
    color: var(--buttonHoverFontColor);
}

button#next_btn[disabled],
button.swal2-confirm[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

button#previous_btn[disabled],
button.swal2-cancel[disabled] {
    opacity: 0.7;
    pointer-events: none;
}

#bundle_builder_sd_container {
    margin-top: 50px;
}

.product_item.product_is_not .item_grid_actions {
    pointer-events: none;
    opacity: 0.5;
}

.bundle_builder_note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    max-width: 500px;
    margin-bottom: 20px !important;
}

.bundle_builder_note label {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    color: #000;
    margin-bottom: 5px !important;
}

textarea#order_notes {
    width: 100%;
    border: 0.5px solid #000000;
    border-radius: 10px;
    outline: none !important;
    box-shadow: none !important;
    padding: 10px;
}

.bundle_builder_sd_products.checkout_step {
    margin-bottom: 60px !important;
}

.progress_bar {
    width: 100%;
    /* height: 4px; */
    position: relative;
    top: 0;
    left: 0;
    background: #80808038;
}

.progress_bar>span {
    display: block;
    background: var(--barColor);
    height: 22px;
    transition: width 1s ease;
    width: 0%;
}

.progress_bar>span>span {
    font-size: 12px;
    width: 100%;
    display: block;
    position: absolute;
    color: #fff;
    text-align: center;
}

p.upgradeMessage {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
}

.progress_bar:has(> span > span:empty) {
    display: none;
}

span.money.compareAtPrice {
    color: #d90808;
}

@media only screen and (max-width:1023px) {
    .product_item {
        max-width: 50%;
    }

    .sticky_bottom_bar_warpper {
        flex-direction: column;
    }

    .sticky_action_button {
        margin-left: unset !important;
    }
}

@media only screen and (max-width:768px) {
    .product_item {
        padding: 0 8px 20px;
    }

    .product_item_details {
        padding: 8px 8px 15px;
        border-bottom-right-radius: 6.35px;
        border-bottom-left-radius: 6.35px;
    }

    .item_grid_actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px !important;
    }

    .item_grid_actions .quantity-controls {
        max-width: 100%;
    }

    .item_grid_actions button.add-to-bag {
        font-size: var(--buttonFontSizeMb);
        height: 30px;
    }

    .product_item_title {
        font-size: var(--pcTitleFontSizeMb);
    }

    .product_item_price {
        line-height: 1;
        font-size: var(--pcPriceFontSizeMb);
    }

    .sticky_action_button {
        gap: 6px;
        flex-wrap: wrap;
    }

    button#previous_btn,
    button#next_btn {
        font-size: var(--buttonFontSizeMb);
        height: 30px;
    }

    .sticky_product_box {
        row-gap: 10px;
    }

    .stickyProductItem {
        width: 48px;
        height: 48px;
    }

    span.item_close_btn {
        width: 10px;
        height: 10px;
    }

    .item_qty {
        font-size: 8px;
        width: 10px;
        height: 10px;
    }

    .bundle_builder_sd_header h1 {
        font-size: var(--headingFontSizeMb);
    }

    .bundle_builder_sd_header p {
        font-size: var(--paraFontSizeMb);
    }

    .item_step_toggle span:last-child {
        display: none;
    }

    span.length_circle {
        width: 40px;
        height: 40px;
        margin-bottom: 10px !important;
        font-size: var(--circleFontSizeMb);
        line-height: 16px;
    }

    .item_step_toggle span:not(.length_circle) {
        font-size: var(--circleLabelFontSizeMb);
        line-height: 15px;
    }

    .bundle_builder_sd_step_toggle:before {
        left: 15px;
        top: 21px;
    }

    .bundle_builder_sd_step_header h2 {
        font-size: var(--stepHeadingFontSizeMb);
    }

    .bundle_builder_sd_step_header {
        margin-bottom: 15px !important;
    }

    .bundle_builder_sd_step_header p {
        font-size: var(--stepParaFontSizeMb);
        line-height: 20px;
    }

    #bundle_builder_sd_container {
        margin-top: 20px;
    }

    .card_note_container {
        grid-template-columns: repeat(1, 1fr);
    }

    .item_step_toggle.previouse_active_circle .length_circle:after {
        background-size: 18px;
    }

    .step_wise_filter {
        position: relative;
        max-width: 170px;
        margin: 0 auto !important;
        margin-bottom: 25px !important;
    }
}