input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: inner-spin-button !important;
}

.gridCart input.minus,
.gridCart input.plus {
    display: none;
}

.gridCart input[type="number"] {
    padding: 0 5px;
}

input#zipcode {
    text-transform: uppercase;
}

/* Sunsense Order CSS starts */
.wizard-process {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    margin: 0 0 24px 0;
}

.wizard-process li {
    background-color: #e4e3e8;
    width: 100%;
    display: grid;
    align-items: center;
    grid-template-columns: 50px 1fr;
}

.wizard-process li.active {
    background-color: #f8981c;
    color: #fff;
}

.wizard-process li:first-child {
	border-radius: 25px 0 0 25px ;
}

.wizard-process li:first-child .form-wizard-icon {
    margin: 0;
}

.wizard-process li:last-child {
	border-radius: 0 25px 25px 0;
    position: relative;
}

.wizard-process li:last-child::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    height: 48px;
    width: 48px;
    background: url('../images/check-solid.svg') no-repeat;
    content: "";
    border-radius: 100%;
    box-shadow: 0 0 24px rgb(0 0 0 / 10%);
    background-size: 14px;
    background-position: center;
    background-color: #fff;
}

.wizard-process li:last-child.active::after {
    background-color: #022a43 !important;
    background: url('../images/check-solid-active.svg') no-repeat;
    background-size: 14px;
    background-position: center;
}

.order-sunsense .wizard-process li strong {
    font-size: 16px;
    font-weight: normal;
    color: #95959e;
    text-align: center;
    margin: 0 0 0 -20px;
}

.order-sunsense .wizard-process li.active strong {
    color: #fff;
}

.form-wizard-icon {
    background-color: #fff;
    border-radius: 100%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 24px rgb(0 0 0 / 10%);
    margin: 0 0 0 -20px;
    font-weight: bold;
}

.order-sunsense .wizard-process li.active .form-wizard-icon {
    background-color: #022a43;
}

.order-sunsense .add-notes .form-3 .form-group {
    float: none;
}

.new-form-class .text-danger {
    color: #db3c36;
    font-size: 12px;
    margin: 5px 0 0 0;
    display: inline-block;
    line-height: 1.4;
}

.order-sunsense .form .new-form-class .form-group,
.order-sunsense .form-3 .form-group {
    width: 100%;
    padding: 0;
}

.order-sunsense .step-1,
.order-sunsense .step-2,
.order-sunsense .step-3 {
    box-shadow: 0 1px 6px 1px rgb(69 65 78 / 10%);
    padding:20px;
}

.order-sunsense .new-form-class .form-group .form-control {
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    min-height: 48px;
}

.order-sunsense .new-form-class .form-group label {
    font-size: 14px;
    color: #022438;
    font-weight: 400;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.step-1 form.new-form-class,
.step-3 form.new-form-class {
    display: inline-block;
    width: 100%;
}
/* Sunsence order CSS Ends */

ul.prgres {
    padding: 0;
    display: grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 0 50px 0;
    gap: 20px;
    list-style:none;
}

.prgres li {
    width: 100%;
    background-color: #e4e3e8;
    padding: 10px 15px;
    position: relative;
    z-index: 9;
}

.prgres li:nth-child(2)::after {
	content: " ";
    position: absolute;
    display: block;
    width: 50px;
    height: 100%;
    top: 0;
    left: -15px;
    z-index: -1;
    background: #e4e3e8;
    transform-origin: bottom left;
    -ms-transform: skew(-15deg, 0deg);
    -webkit-transform: skew(-15deg, 0deg);
    transform: skew(-15deg, 0deg);
}

.prgres li::before {
    content: " ";
    position: absolute;
    display: block;
    width: 50px;
    height: 100%;
    top: 0;
    right: 0;
    z-index: -1;
    background: #e4e3e8;
    transform-origin: bottom left;
    -ms-transform: skew(-15deg, 0deg);
    -webkit-transform: skew(-15deg, 0deg);
    transform: skew(-15deg, 0deg);
}

.prgres li.active::before,
.prgres li.active:nth-child(2)::after{
	background: #f8981c;
}

.prgres li.active {
    background-color: #f8981c;
}

.prgres li:last-child::before {
    left: -15px;
}

span.h3 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 600;
    color: #95959e;
    margin: 0;
}

.prgres li.active span.h3 {
    color: #003658;
}

.lin-inr {
    display: grid;
    align-items: center;
    grid-template-columns: 30px 1fr;
    gap: 10px;
}

span.num-text {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ccc;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
}

.prgres li.active span.num-text {
    background-color: #022a43;
    color: #fff;
}

.thankyou .home a.btn-primery {
    width: auto;
    padding: 10px 25px;
}

.step-1 form span.required.red {
    position: relative;
    background: #bd0303;
    color: #fff;
    padding: 4px 6px;
    font-size: 12px;
    line-height: 12px;
    margin: 5px 0;
}

p.successMsg {
    padding: 10px 0 0;
    font-size: 14px;
    text-align: center;
    margin: 0;
    color: green;
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .8) url(../images/rolling.gif)no-repeat;
    background-position: center center;
}

.sunsense-orders h2 {
    color: #022a43;
    text-align: center;
}

.sunsense-orders h2:after {
    display: none;
}

.sunsense-orders .step-2 h3 {
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    padding-left: 8px;
    text-align: left;
    color: #021e2f;
    background: #ececec;
    margin-bottom: 30px;
    border-left: #f8981c solid 4px;
}

.sunsense-orders .step-2 {
    background: white;
    box-shadow: -1px 8px 5.34px 0.66px rgba(0, 0, 0, 0.11);
    padding: 10px;
    margin: 50px 0;
}

.sunsense-orders .step-2 .posters,
.sunsense-orders .step-2 .publications,
.sunsense-orders .step-2 .items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.sunsense-orders .step-2 .item {
    width: 280px;
    border-top: #022a43 solid 4px;
    margin-bottom: 25px;
    margin-right: 5px;
    margin-left: 5px;
    padding: 20px 14px !important;
    border-radius: 5px;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.13);
}

.sunsense-orders .step-2 .item .left {
    width: 30%;
    float: left;
}

.sunsense-orders .step-2 .item .quantity {
    clear: both;
    display: block;
    float: left;
    padding-top: 10px;
}

.sunsense-orders .step-2 .item .quantity h5 {
    color: #f8981c;
    font-weight: bold;
    text-transform: capitalize;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 10px !important;
}

.sunsense-orders .step-2 .item .left img {
    width: 60px;
    min-height: 60px;
}

.sunsense-orders .step-2 .item .right {
    width: 70%;
    float: left;
    /* padding-top: 14px; */
}

.sunsense-orders .step-2 .item label {
    text-align: left;
    float: left;
    font-size: 15px !important;
    margin-right: 5px;
    text-transform: capitalize;
}

.sunsense-orders .step-2 .item input[type="number"] {
    width: 60px !important;
    float: left;
    margin-right: 10px !important;
    height: 28px;
    border: #c6c6c6 solid 1px;
    background: #f7f7f7;
    padding-left: 0;
    text-align: center;
}

.sunsense-orders .step-2 .item h4 {
    font-size: 18px;
    margin-top: 10px;
    font-weight: bold;
    padding: 5px 0;
    clear: both;
}

.sunsense-orders .process .order-detail:before {
    content: '';
    position: absolute;
    top: 30%;
    right: 63px;
    height: 2px;
    width: 284px;
    background: #e4e4e4;
}

.sunsense-orders .process .order-detail.active:before {
    content: '';
    position: absolute;
    top: 30%;
    right: 53px;
    height: 2px;
    width: 285px;
    background: #f8981c;
}

.sunsense-orders .process .checkout:before {
    content: '';
    position: absolute;
    top: 19px;
    left: 517px;
    height: 2px;
    width: 258px;
    background: #e4e4e4;
}

.sunsense-orders .process .checkout.active:before {
    content: '';
    top: 19px;
    left: 517px;
    height: 2px;
    width: 258px;
    background: #f8981c;
}

.sunsense-orders .buttons {
    display: block;
    text-align: center;
}

.sunsense-orders button {
    background-color: #f8981c;
    font-size: 17px;
    font-family: roboto;
    color: #022438;
    border: #f8981c solid 1px;
    text-align: left;
    width: 186px;
    margin: 15px;
    text-align: center;
    outline: 0;
    box-shadow: none !important;
}

.sunsense-orders button:active,
.sunsense-orders button:hover {
    background-color: transparent !important;
    color: #022438 !important;
    border: #f8981c solid 1px !important;
}

.sunsense-orders .form {
    padding: 40px 106px;
}

.sunsense-orders .form-3 {
    width: 100%;
    background: #fff;
    margin: 0 auto;
    padding: 40px;
}

.sunsense-orders .form-3 #datepicker {
    width: 286px;
    margin: 0 90px 20px 0;
}

.sunsense-orders .form-3 label {
    font-size: 18px;
    color: #022a43;
    font-family: 'SFUIDisplay-Bold';
    margin-left: 2px;
    margin-right: 10px;
    margin-bottom: 15px;
}

.sunsense-orders .form-3 h5 {
    font-weight: bold;
    color: #022a43;
    max-width: 320px;
}

.sunsense-orders .form-3 input[type="radio"] {
    margin-right: 7px;
    margin-bottom: 10px;
}

.sunsense-orders .form-3 .form-group.right {
    padding-left: 50px;
    padding-top: 20px;
}

.publication-single .product-detail .quantity input[type=number]::-webkit-inner-spin-button,
.publication-single .product-detail .quantity input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0;
}

.m0 p, .m0 tr td p {
    margin:0 !important;
}

.sunsense-thank-info {
    background: white;
    padding: 20px;
    max-width: 295px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 3px 4px 5px 0px rgba(0, 0, 0, 0.15);
}

@media(max-width:992px) {
    .sunsense-orders .form-3 #datepicker {
        width: 245px;
    }

    .sunsense-orders .form-3 label {
        font-size: 15px;
    }

    .sunsense-orders .form-3 h5 {
        font-size: 17px;
    }

    .sunsense-orders .step-2 .item label {
        font-size: 14px;
    }

    .sunsense-orders .step-2 .item {
        width: 250px;
    }

    .sunsense-orders .step-2 {
        padding: 25px;
    }

    .sunsense-orders .form {
        padding: 40px;
    }

    .sunsense-orders .process .order-detail:before {
        width: 168px;
    }

    .sunsense-orders .process .checkout:before {
        width: 140px;
        left: 344px;
    }

    .sunsense-orders .process .order-detail.active:before {
        width: 168px;
    }

    .sunsense-orders .process .checkout.active:before {
        width: 140px;
        left: 344px;
    }
}

@media(max-width:1199px) and (orientation:landscape) {
    .sunsense-orders .process .order-detail:before {
        right: 40px;
    }

    .sunsense-orders .process .checkout:before {
        left: 410px;
    }

    .sunsense-orders .process .order-detail.active:before {
        right: 40px;
    }

    .sunsense-orders .process .checkout.active:before {
        left: 400px;
    }
}

@media(max-width:767px) {
    .breadcrumbs {
        visibility: hidden;
    }

    .sunsense-orders .form {
        padding: 40px 20px;
    }

    .sunsense-orders form button {
        width: 186px;
    }

    .sunsense-orders .process .order-detail:before {
        width: 113px;
        right: 49px;
    }

    .sunsense-orders .process .checkout:before {
        width: 63px;
        left: 200px;
    }

    .sunsense-orders .process .order-detail.active:before {
        width: 113px;
        right: 49px;
    }

    .sunsense-orders .process .checkout.active:before {
        width: 63px;
        left: 200px;
    }

    .sunsense-orders .step-2 .item {
        width: 100%;
    }

    .sunsense-orders .form-3 .form-group {
        float: none;
        width: 100%;
    }

    .sunsense-orders .form-3 .form-group.right {
        padding-left: 0;
    }

    .order-sunsense .form-3 h3 {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .order-sunsense form button {
        margin-top: 7px;
    }
}

/* Container: Keeps everything contained */
.sunsense-orders .step-2 .item .quantity {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center; /* Ensures labels and inputs align vertically */
    width: 100%;
    /* Removed gap: relying on precise margins to prevent math overflow */
}

/* 1. Force 'Quantity Needed' to its own line */
/* DIAGNOSIS FIX: Changed 'b' to 'h5' to match actual DOM */
.sunsense-orders .step-2 .item .quantity h5 {
    flex-basis: 100%;
    margin-bottom: 10px !important;
    margin-top: 5px; 
}

/* 2. For items WITH labels (English/Spanish) */
/* DIAGNOSIS FIX: Removed inline-flex and 50% basis because inputs are flat siblings. */
.sunsense-orders .step-2 .item .quantity label {
    margin-right: 5px;
    font-size: 14px !important; /* Slightly reduced from 15px to ensure both fit in 247px */
    float: none; /* Strip baseline float */
}

/* 3. For items WITHOUT labels (Lip Balm, etc.) */
/* If the input is a direct child of .quantity, this keeps it neat */
.sunsense-orders .step-2 .item .quantity > input {
    /* flex-basis: 60px; (Removed to prevent conflict with absolute width below) */
}

/* 4. Keep input box sizes consistent */
.sunsense-orders .step-2 .item .quantity input {
    width: 55px !important; /* DIAGNOSIS FIX: Shaved 5px off to guarantee horizontal fit */
    margin-right: 10px !important;
    float: none; /* Strip baseline float */
}