
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2'),
    url('../fonts/Montserrat-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-ExtraBold.woff2') format('woff2'),
    url('../fonts/Montserrat-ExtraBold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2'),
    url('../fonts/Montserrat-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-SemiBold.woff2') format('woff2'),
    url('../fonts/Montserrat-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

#cross_lay_tray_builder::after {
    content: " ";
    clear: both;
    float: none;
    display: block;
}

#cross_lay_tray_builder .disabled {
    pointer-events: none;
}


#cross_lay_tray_builder_form .processing {
    color: #c00101;
    animation: text-pulsate 10s ease-out infinite;
    -webkit-animation: text-pulsate 1s ease-out infinite;
    opacity: .2;
    display: none;
    padding: 5px;;
}
@keyframes text-pulsate {
    0% {
        opacity: .2;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: .2;
    }
}
@-webkit-keyframes text-pulsate {
    0% {
        opacity: .2;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: .2;
    }
}

#cross_lay_tray_messages, #cross_lay_tray_warning {
    background: #e6435f;
    padding: 15px;
    margin-bottom: 10px;
    text-align: center;
    color: white;
    font-size: 13px;
    font-weight: bold;
    display: none;
}

#cross_lay_tray_warning {
    background: #a2772b;
}

#cross_lay_tray_builder{
    font-family: 'Montserrat';
}

#cross_lay_tray_builder table tr td:last-child{border-right:none;}

#cross_lay_tray_messages.show, #cross_lay_tray_warning.show {
    display: block;
}

#cross_lay_tray_builder .cross_lay_tray_preview_wrapper{
    width: 40%;
    border-right:1px solid #ccc;
}

#cross_lay_tray_builder .cross_lay_tray_settings_wrapper{width: 60%;padding-bottom: 18px;}
#cross_lay_tray_builder{
    border:1px solid #ccc;
    display: flex;
    margin-bottom: 40px;
}

#cross_lay_tray_builder_form table td:first-child{
    border-left: none !important;
}


.cross_lay_tray_settings[data-step="1"] tr td:first-child{
    width:42%;
    vertical-align: middle;
}
.cross_lay_tray_settings td{vertical-align: middle;}
.cross_lay_tray_settings td.ch strong{font-size: 14px !important;text-align: center;font-family: 'Montserrat',sans-serif;}
.cross_lay_tray_settings[data-step="1"] td{text-align: center;}

.cross_lay_tray_settings .quantity {
    border: solid 1px #ccc;
}
.cross_lay_tray_settings .s-title{
    font-weight:bold;
    font-size: 14px;
    display: block;
}


.cross_lay_tray_settings table td{font-size: 10px;}
.cross_lay_tray_settings[data-step="1"] tr td:first-child strong{display: inline-block;}
.cross_lay_tray_settings[data-step="1"] tr td strong{display: block;font-size: 18px;}
.cross_lay_tray_settings[data-step="1"] tr:first-child td{background: #f7f7f7}
.cross_lay_tray_settings[data-step="1"] td{background:#fff; }
.cross_lay_tray_settings table td strong{font-weight: 800;}
.cross_lay_tray_settings table td.number{
    width: 12% !important;
    vertical-align: middle;
}
.cross_lay_tray_settings table td.number span{
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
    line-height: 40px;
    background:#c00101;
    color:#fff;
    font-family: 'Montserrat',sans-serif;
    border-radius: 50%;
    font-weight: 600;
    font-size: 18px;
}
.cross_lay_tray_settings input[type="radio"]{
    width: 12px;
    height: 12px;
}
.cross_lay_tray_settings .inputs{
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding-top: 7px;
}
.cross_lay_tray_settings .inputs input{
    border-color:#ccc;
    border-radius: 0;
    color:#c00101;
    font-weight: 600;
    padding:0.5rem;
}
.cross_lay_tray_settings .review-heading{
    background:#f7f7f7;
    font-size: 18px;
    font-weight: 800;
    padding:15px;
    border-color:#ccc;
    border-style: solid;
    border-width: 1px 1px 0 1px;
}
.cross_lay_tray_settings .lbs{
    background:#c00101;
    color:#fff;
    font-weight: 800;
    padding:10px 20px 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cross_lay_tray_settings .total-weights{
    float: right;
    background:#fff;
    font-weight: 600;
    text-align: center;
    color:#c00101;
    padding:7px 20px;
    min-width: 150px;
    margin-left: 10px;
}
.cross_lay_tray_settings .total{
    background:#efefef;
    justify-content: center;
    display: flex;
    padding:0 15px;
    border-style: solid;
    border-color: #ccc;
    border-width: 0 1px 1px 1px;
}

.cross_lay_tray_settings .total div.price{
    border:solid #ccc;
    border-width: 0 1px;
}

.cross_lay_tray_settings .total > div{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
    width: 33.10%;
}
.cross_lay_tray_settings em.limit{font-style: normal;}
.cross_lay_tray_settings .total .qty{margin-right: 24px;}
.cross_lay_tray_settings .total label{
    font-size: 12px;
    font-weight: bold;
    margin:0 14px 0 0;
}
.cross_lay_tray_settings .total select{border-radius: 0;font-weight: 600;}
.cross_lay_tray_settings .total .hold{
    background: #fff;
    font-weight: 600;
    padding: 7px 35px;
    margin: 0 25px;
    font-size: 15px;
}
.cross_lay_tray_settings .total .add-cart button{
    background: #c10606;
    font-weight: 800;
    color: #fff;
    margin: 0 25px 0 46px;
    border-radius: 0;
    font-size: 15px;
    padding: 9px 25px;
    width: 100%;
}
.cross_lay_tray_settings .total .add-cart button[disabled] {
    background: lightgray;
    border: darkgray;
}
.cross_lay_tray_settings #cross_lay_tray_pre_discount {
    color: darkgray;
    text-decoration: line-through;
}

#cross_lay_tray_builder table tr td.eng-text{border-top:none;padding-left: 45px;border-bottom:none;}

.cross_lay_tray_settings[data-step="1"] .nice-number{
    position: relative;
}

.cross_lay_tray_settings[data-step="1"] .nice-number button{
    width: 20px;
    height: 20px;
    position: absolute;
    right:0;
    top:20px;
    padding:0;
    border-radius:0;
}
.cross_lay_tray_settings[data-step="1"] .nice-number input ~ button{
    top:0;
}

.cross_lay_tray_settings strong.m-title{
    font-size: 18px;
    font-weight: 800;
}
.cross_lay_tray_settings input#eng-number{
    border:none;
    border-bottom:1px solid #ccc;
    font-size: 14px;
    font-weight: 600;
    border-radius: 0;
    background: none;
    padding-left: 0;
    padding-right: 104px;
    color:#000;
    margin-bottom: 10px;
}
.cross_lay_tray_settings td.eng-text{position: relative;padding-bottom: 0;}
.cross_lay_tray_settings td.eng-text span{
    position: absolute;
    right:15px;
    top:28px;
    font-size: 10px;
    color:#c00101;
}


.cross_lay_tray_settings .quantity {
    position: relative;
    float: right;
}

.cross_lay_tray_settings input[type=number]::-webkit-inner-spin-button,
.cross_lay_tray_settings input[type=number]::-webkit-outer-spin-button
{
    -webkit-appearance: none;
    margin: 0;
}

.cross_lay_tray_settings input[type=number]{
    -moz-appearance: textfield;
}


.cross_lay_tray_settings .quantity input {
    width: 100px;
    color:#c00101;
    text-align: center;
    float: left;
    display: block;
    margin: 0;
    font-weight: 600;
    border:none;
    border-radius: 0;
    font-size: 1.6rem;
    padding: 0;
}

.cross_lay_tray_settings .quantity input:focus {
    outline: 0;
}

.cross_lay_tray_settings .quantity-nav {
    float: right;
    position: relative;
    height: 40px;
    width: 20px;
    border:1px solid #a8a8a8;
    overflow: hidden;
    margin: -1px -1px -1px 0;
}

.cross_lay_tray_settings .quantity-button {
    position: relative;
    cursor: pointer;
    border-left: 1px solid #eee;
    width: 20px;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-family: "Trebuchet MS", Helvetica, sans-serif !important;
    line-height: 1.7;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.cross_lay_tray_settings .quantity-button.quantity-up {
    position: absolute;
    height: 50%;
    top: 0;
    border-bottom: 1px solid #a8a8a8;
    background: url(../img/g-arrow-t.png) no-repeat 5px 7px;
    background-size:8px auto;
    text-indent: -9999px;
}

.cross_lay_tray_settings .quantity-button.quantity-down {
    position: absolute;
    background: url(../img/g-arrow-b.png) no-repeat 5px 4px;
    bottom: -1px;
    height: 50%;
    background-size:8px auto;
    text-indent: -9999px;
}
.cross_lay_tray_settings span.sign{
    font-size: 16px;
    font-weight: 600;
    float: left;
    color:#c00101;
    margin:6px 0 0 -26px;
}
.cross_lay_tray_settings_prevnext{padding:0 15px;}
.cross_lay_tray_settings_prevnext button{
    border-color:#c00101;
    color:#c00101;
}
.cross_lay_tray_settings_prevnext button:hover,
.cross_lay_tray_settings_prevnext button:focus {background:#c00101; }

.cross_lay_tray_bottom_messages {
    margin-bottom: 20px;
    border-color: #ccc;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    min-height: 30px;
}
.cross_lay_tray_settings:not(:nth-child(1)) h3 {
  border-top: 1px solid #ccc;
}
.cross_lay_tray_settings h3 {
    padding: 10px;
    border-bottom: 1px solid #ccc;
    background: #f7f7f7;
    margin: 0 !important;
}
.cross_lay_tray_settings p {
  padding: 10px;
  margin: 0 !important;
}
.woocommerce div.product .cross_lay_tray_preview div.woocommerce-product-gallery {
    width: 100%;
}

@media screen and (max-width:1200px){
    .cross_lay_tray_settings span.sign{margin-left: -15px}
    .cross_lay_tray_settings .quantity input{width: 75px;}
    .cross_lay_tray_settings[data-step="1"] tr td strong{font-size: 16px}
}

@media screen and (max-width:991px){
    #cross_lay_tray_builder .cross_lay_tray_preview_wrapper{
        width: 100%;
        border-right:none;
    }
    #cross_lay_tray_builder{
        display: block;
    }
    #cross_lay_tray_builder .cross_lay_tray_settings_wrapper{width: 100%;}
}

@media screen and (max-width:500px){
    table td, table th{padding:8px !important;}
    .cross_lay_tray_settings .quantity input{width: 65px;}
    .cross_lay_tray_settings span.sign{margin-left: -9px;}
    .cross_lay_tray_settings td.eng-text span{top:18px;}
    .cross_lay_tray_settings .total .hold{padding-left: 15px;padding-right: 15px;}
    .cross_lay_tray_settings .total .add-cart button{margin:0 0 0 15px;padding:9px 13px;font-size: 12px;}
    .cross_lay_tray_settings[data-step="1"] tr td:first-child {width: 35%;}
    .cross_lay_tray_settings table {width: 100% !important;}
}

@media screen and (max-width:379px){
    table {
        width: 375px !important;
    }
    #cross_lay_tray_builder_form .cross_lay_tray_settings.current-step{overflow-x:auto; }
    .cross_lay_tray_settings .total{
        display: block;
    }
    .cross_lay_tray_settings .total > div{width: 100%;}
    .cross_lay_tray_settings .total div.price{border:none;}
    .cross_lay_tray_settings .total .hold{
        width: 100%;
        margin:0;
    }
    .cross_lay_tray_settings .total .add-cart button{margin-left: 0;}
    .cross_lay_tray_settings .total-weights{
        min-width: 130px
    }
}
.steps.done .step_number {
    background: #c00101;
    border-color: #c00101;
    color: #fff;
}
.steps.done .step_title {
    color: #c00101;
}
.steps.done {
    background: #c00101;
}
.steps.done .step_title{
color:#fff !important;
}
#cross_lay_tray_builder .steps.done a.step_number
{
border: unset !important;
}
.steps {
    padding: 40px 20px;
}
#cross_lay_tray_builder .cross_lay_tray_settings_pagination {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    justify-content: space-between;
    /* gap: 5px; */
}

#cross_lay_tray_builder .steps {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-shrink: 0;
    width: 115px;
    width:33.10%;
}
#cross_lay_tray_builder .steps .step_number {
    background: lightgrey;
    font-size: 24px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
label:has(input[type="radio"]:checked) {
    background-color: transparent !important;
}

#cross_lay_tray_builder .steps .step_title {
    font-size: 14px;
    font-weight: bold;
    padding-top: 10px;
}

#cross_lay_tray_builder .steps.done .step_title {
    color: purple;
}

#cross_lay_tray_builder .steps .step_number{position: relative;z-index: 20;border:2px solid #747474;background: #fff;color:#747474;font-weight: 600}
#cross_lay_tray_builder .steps .step_title{font-family: 'Montserrat',sans-serif;color:#000; }

#cross_lay_tray_builder .steps a.step_number{
    border:2px solid #747474;
    background: #c00101;
    color:#fff;
    font-weight: 600;
    font-family: 'Montserrat',sans-serif; 
}
#cross_lay_tray_builder .steps.done .step_title{color:#c00101;}

#cross_lay_tray_builder .cross_lay_tray_settings_prevnext:after {
    content: "";
    display: block;
    float: none;
    clear: both;
}

#cross_lay_tray_builder .cross_lay_tray_settings_prevnext .prev::before {
    content: "Previous";
}

#cross_lay_tray_builder .cross_lay_tray_settings_prevnext .prev[disabled]::before {
    color: lightgrey;
}

#cross_lay_tray_builder .cross_lay_tray_settings_prevnext .next::before {
    content: "Next";
}

#cross_lay_tray_builder .cross_lay_tray_settings_prevnext .next[disabled]::before {
    color: lightgrey;
}

#cross_lay_tray_builder .cross_lay_tray_settings_prevnext .prev[disabled],
#cross_lay_tray_builder .cross_lay_tray_settings_prevnext .next[disabled] {
    pointer-events: none;
    border-color: gainsboro;
}

#cross_lay_tray_builder .cross_lay_tray_settings_prevnext.last-step .next {
    display: none;
}

#cross_lay_tray_builder .cross_lay_tray_settings_prevnext .processing {
    float: right;
    padding-top: 10px;
    color: #c00101;
    animation: text-pulsate 10s ease-out infinite;
    -webkit-animation: text-pulsate 1s ease-out infinite;
    opacity: .2;
    display: none;
}

.cross_lay_tray_settings_prevnext{padding:0 15px;}
.cross_lay_tray_settings_prevnext button{
    border-color:#c00101;
    color:#c00101;
    border-radius: 0px;
} 
.cross_lay_tray_settings_prevnext button:hover,
.cross_lay_tray_settings_prevnext button:focus {background:#c00101; }

.cross_lay_tray_settings_prevnext button::before, 
.cross_lay_tray_settings_prevnext button::after {
    content: none !important; /* Ensure no content is added */
    display: none !important; /* Ensure they don't appear */
}

.cross_lay_tray_settings[data-step="2"] td label input, .cross_lay_tray_settings[data-step="3"] td label input {
    margin-right: 5px;
}

.cross_lay_tray_settings {
    display: none; 
}

.cross_lay_tray_settings[data-step="1"] {
    display: block;
}

.cross_lay_tray_settings[data-step="2"] input[type="radio"]:disabled + label {
    color: #ccc;
}
.features-added {
    font-size: 16px;
    padding: 13px 15px 9px;
    font-weight: 600;
    color: #c00101;
    line-height: 20px;
}
.features-added div {
    font-size: 14px;
    display: flex;
    align-items: center;
    line-height: 15px;
    margin: 7px 0;
    color: #212529;
}
.features-added div label {
    display: inline-flex;
    margin-right: 7px;
    font-weight: 600;
}
.features-added div label:after {
    content: ':';
}
.features-added div span {
    font-weight: 400;
    display: inline-flex;
}
.features-added div span:first-letter {
    text-transform: uppercase;
}
.features-added em {
 padding-right: 9px;
    padding-left: 3px;
    font-weight: 400;
    font-style: normal;
}

.cross_lay_tray_settings[data-step="2"] td:first-child {
    text-align: center;
    width: 37%;
}

.cross_lay_tray_settings[data-step="2"] tr:first-child td > div:last-child label {
    float: none;
}
.cross_lay_tray_settings[data-step="2"] tr:first-child td > div:last-child {
                            border-left: solid 1px #ccc;
                            padding: 0px 2rem !important;
                        }
.add-divider-section {
    position: relative;
}

.add-divider-section .m-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.add-divider-section .radio-group {
    display: inline-block;
    margin-bottom: 5px;
}

.add-divider-section .parallel {
    position: absolute;
    top: 28px;
    left: 2px;
}
#agreement {
    font-size: 14px;
}
.modal-overlay {
                position: fixed;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(0, 0, 0, 0.5);
                display: flex;
                justify-content: center;
                align-items: center;
                z-index: 1000;
            }
            .modal-content {
                background: white;
                padding: 20px;
                border-radius: 8px;
                max-width: 400px;
                text-align: center;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            }
            .modal-buttons {
                display: flex;
                justify-content: space-between;
                margin-top: 20px;
            }
            .button-primary {
                background: #c10606;
                color: white;
                padding: 10px 20px;
                border: none;
                font-weight: 800;
                cursor: pointer;
            }
            .button-primary:hover {
                background: #c10606;
            }
            .button-secondary {
                background: #6c757d;
                color: white;
                padding: 10px 20px;
                border: none;
                font-weight: 800;
                cursor: pointer;
            }
            .button-secondary:hover {
                background: #6c757d;
            }