/* 
    ***********************************************************
    ds-frontend.php - function dev_css_lead 
    ***********************************************************
*/
#ds-fe__order-form{
    margin-bottom: 1.0rem;
}
#ds-fe__order-form #ds-fe__lead-wrapper{
    display: flex;
    justify-content: center;
}
#ds-fe__order-form .ds-fe__display-none{
    display: none;
}
#ds-fe__zipcode-lead {
    grid-area: input
}
#ds-fe__zipcode{
    text-align: center;
}
.ds-fe__error-msg{
    grid-area: error;
}
#ds-fe__zip-btn{
    grid-area: button;
    padding: 0;
}
.ds-fe__zipcode-container{
    display: grid;
    grid-template-columns: 10rem 10rem;
    grid-template-rows: 1fr .65fr;
    grid-template-areas:
        "input button"
        "error error";
    grid-gap: .5rem;
}
.ds-fe__screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* 
    ***********************************************************
    ds-frontend.php - function dev_css_main 
    ***********************************************************
*/
#ds-fe__products_wrapper #ds-fe__loading{
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid red; /* red */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1.5s linear infinite;
    -webkit-animation: spin 1.5s linear infinite; /* Safari */
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
/* Safari */
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
#ds-fe__checkout-wrapper label{
    display: block;
}
#ds-fe__checkout-wrapper #place_order{
    color: white;
    background-color: #025caa;
}
#ds-fe__checkout-wrapper #place_order:hover{
    color: white;
    background-color: green;
    border-color: green;
}
#ds-fe__checkout-wrapper #place_order:disabled{
    color: white;
    background-color: red;
    border-color: red;
}
#ds-fe__checkout-wrapper #place_order.ds-fe__success:disabled{
    color: white;
    background-color: green;
    border-color: green;
}
#ds-fe__checkout-wrapper .ds-fe__error-message{
    text-align: center;
    color: red;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
#ds-fe__checkout-wrapper .ds-fe__color-transparent{
    color: transparent;
}
#ds-fe__checkout-wrapper label abbr.required{
    color: red;
    border-color: transparent;
    border-bottom: 0;
    text-decoration: none;
}
#ds-fe__checkout-wrapper .ds-fe__flex-wrap {
    display: flex;
    align-content: stretch;
    flex-direction: column;
    gap: 1rem 1rem;
    justify-content: center;
    margin-bottom: 1.25rem;
}
#ds-fe__checkout-wrapper .ds-fe__flex-wrap span {
    flex-grow: 1;
}
@media (min-width: 981px){
    #ds-fe__checkout-wrapper .ds-fe__flex-wrap {
        flex-direction: row;
    }
}
#ds-fe__checkout-wrapper input,
#ds-fe__checkout-wrapper select{
    width: 100%;
    border: 2px solid transparent;
    padding: 0.6rem;
    background-color: #f5f5f5;
    color: #000000;
    box-shadow: none;
}
#ds-fe__checkout-wrapper select{
   padding: 0.65rem 0.6rem 0.65rem;
   padding-right: 1.5rem;
}
#ds-fe__checkout-wrapper .ds-fe__input--error{
    border-color: red;
}
#ds-fe__checkout-wrapper label.checkbox{
    text-align: left;
    margin-bottom: 1.25rem;
    margin-left: 1.0rem;
}
#ds-fe__checkout-wrapper label.checkbox input{
    width: auto;
}
#ds-fe__checkout-wrapper #billing_address_2 {
    margin: .5rem 0 1.0rem;
}
#ds-fe__checkout-wrapper label[for="affiliate"] {
    display: inline;
    margin: 0;
}
#ds-fe__checkout-wrapper #affiliate {
    margin: 0 0 1rem;
    background: transparent !important;
    border-width: 0 !important;
    color: inherit;
    padding: 0 !important;
    display: inline !important;
    width: auto !important;
}
#ds-fe__checkout-wrapper #ds-fe__order-disclaimer{
    text-align: center;
    font-size: 1.25rem;
    color: #fff;
    background-color: red;
    padding: 1.0rem;
    margin: 1.5rem 0 1.0rem;
}
#ds-fe__checkout-wrapper #ds-fe__order-disclaimer p{
    margin: 0;
}
#ds-fe__checkout-wrapper #ds-fe__order-cta {
    background-color: #f5f5f5;
    text-align: center;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
#ds-fe__checkout-wrapper #ds-fe__order-cta-errors {
    margin-top: 1.0rem;
    color: red;
}
#ds-fe__checkout-wrapper #ds-fe__order-cta-errors.ds-fe__success {
    color: unset;
    color: inherit;
}

#ds-fe__checkout-wrapper textarea{
    border-color: transparent;
}
.ds-fe__date-picker-input-wrap{
    text-align: center;
}
.ds-fe__date-picker-input-wrap [aria-expanded="true"] {
    visibility: hidden;
}
#ds-fe__wrapper .ds-fe__title,
#ds-fe__checkout-wrapper .ds-fe__title{
    text-align: center;
    font-size: 2.0rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}
#ds-fe__wrapper .ds-fe__sub-title,
#ds-fe__checkout-wrapper .ds-fe__sub-title{
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
    margin-bottom: .25rem;
}
#ds-fe__date-selected{
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
#ds-fe__products {
    display: grid;
    gap: 1rem;
    grid-auto-rows: 1fr;
}
#ds-fe__products button p{
    color: black;
    font-size: 1.0rem;
    line-height: 1.35;
}
#ds-fe__products img{
    width: 150px;
    margin-bottom: 0.75rem;
}
#ds-fe__products .ds-fe__product {
    background-color: #f5f5f5;
    border: 2px solid #f5f5f5;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
@media (min-width: 768px){
    #ds-fe__products {
        all: unset;
        display: flex;
        gap: 2rem 2rem;
        margin-bottom: 2rem;
        justify-content: center;
        flex-wrap: wrap; 
    }

    #ds-fe__products img{
        width: inherit
    }

    .ds-fe__product{
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }
}
#ds-fe__products .ds-fe__product:hover {
    border: 2px solid green;
}
#ds-fe__products .ds-fe__product.ds-fe__product-active{
    border-color: green;
}
#ds-fe__products .ds-fe__product:after{
    display: block;
    content: "-";
    color: transparent;
    background-color: transparent;
    width: 100%;
    margin-top: 0.5rem;
}
#ds-fe__products .ds-fe__product.ds-fe__product-active:after{
    content: "Selected";
    color: #ffffff;
    background-color: green;
}
#ds-fe__date-picker-root table{
    border-collapse: unset
}
.ds-fe__date-picker-calendar table.calendar tr.year,
.ds-fe__date-picker-calendar table.calendar tr.month{
    color: #565656
}
.ds-fe__date-picker-calendar tbody tr th,
.ds-fe__date-picker-calendar td{
    text-align: center;
}
.ds-fe__date-picker-calendar table.calendar{
border-spacing: .25rem;
}
.ds-fe__date-picker-calendar table.calendar tr.yearSelector td,
.ds-fe__date-picker-calendar table.calendar tr.monthSelector td,
.ds-fe__date-picker-calendar table.calendar tbody tr th.week{
    padding: .25rem 0;
}
.ds-fe__date-picker-calendar table.calendar tbody th.week{
    background-color: #565656;
    color: #fff;
    font-weight: 400;
    width: 3.0rem;
}
.ds-fe__date-picker-calendar table.calendar tbody tr th.week span{
    display: block;
    text-align: center;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td{
    border: 2px solid transparent;
    padding: 0.5rem 0;
    cursor: not-allowed;
    white-space: nowrap;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.nav:not(.disabled){
    background-color: green;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.nav{
    background-color: #565656;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.nav span{
    color: #fff;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.nav:not(.disabled):hover{
    cursor: pointer;
    opacity: 0.85;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.nav.disabled{
    opacity: 0.5;
    cursor: not-allowed;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.month span{
    text-transform: uppercase;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.day span{
    color: #000;
    display: inline-block;
    height: 50%;
    width: 50%;
    border-radius: 50%;
    border: 2px solid transparent;
    line-height: revert
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.disabled span{
    opacity: 0.5;
    text-decoration:line-through
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.ds-selected:not(.disabled) span{
    border-color: #fff
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.dayToday{
    border-color: #565656;
    opacity: 1;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.dayToday span{
    opacity: 1;
    text-decoration:none;
    cursor: not-allowed;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.dayMarked{
    background-color: green;
    color: #fff;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.dayMarked:hover{
    cursor: pointer;
    border-color: #565656;
    opacity: 0.85;
}
.ds-fe__date-picker-calendar table.calendar tbody tr td.dayMarked span{
    color: #fff;
}
.ds-fe__display-none{
    display: none;
}

/* shortcode: psp pickup confirm */
.sc-psp-pickup-confirm {
    display: flex;
    flex-direction: column;
}

.sc-psp-pickup-confirm .sc-psp-pickup-confirm__button {
    margin: 1rem auto;
    background-color: #005dab;
    color: #fff;
    width: auto;
    border-radius: 0;
    font-size: 1em;
    line-height: 1.618;
    border: 0;
    cursor: pointer;
    padding: .6180469716em 1.41575em;
    text-decoration: none !important;
    font-weight: 600;
    text-shadow: none;
    display: inline-block;
    -webkit-appearance: none;
    
}

.sc-psp-pickup-confirm .sc-psp-pickup-confirm__button:hover {
    background-color: #000;
    color: #fff;
}
