/*--28-11--*/
.wrap-modal-slider button.slick-next.slick-arrow {
  position: absolute;
  right: 0px;
  top: 0px;
  text-indent: -5000px;
  outline: none;
  border: 0px;
}

button.slick-next.slick-arrow:focus,
button.slick-prev.slick-arrow:focus {
  outline: none !important;
}
.error {
  color: #b81930;
  font-size: 15px;
}
.wrap-modal-slider button.slick-prev.slick-arrow {
  border: 0px;
  text-indent: -4000px;
}
.wrap-modal-slider
  .ui-datepicker-inline.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all {
  margin: 20px auto;
  width: 100%;
}
main.main.product-details-wrap .row.single_variation_wrap button.closdiv_ide {
  background: transparent;
  border: 0pc;
  font-size: 30px;
  outline: none;
  border: 0px;
}
main.main.product-details-wrap
  .row.single_variation_wrap
  button.closdiv_ide:focus {
  outline: none;
}
.date-listing-wrap {
  text-align: left;
  /* border: 1px #cecece solid; */
  margin: 0px 10px 10px 0px;
  padding: 0px 0px 0px 0px;
  border-radius: 4px;
  position: relative;
  background: #fff;
  overflow: visible;
}

.date-listing-wrap .at-item{
  border: 1px solid #EBEBEB;
}

.date-listing-wrap i.price-tag {
  /* position: absolute;
    right: 0px;
    top: 33px;
    vertical-align: middle;
    transform: translate(0px, -50%); */
  background: #b81930;
  color: #fff;
  line-height: normal;
  padding: 5px 10px;
  font-size: 14px;
  font-style: inherit;
  font-weight: 600;
  width: auto;
  height: auto;
  text-align: center !important;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  margin-left: 5px;
}
.date-listing-wrap p {
  margin: 0px;
  line-height: normal;
  font-size: 14px;
}
.date-listing-wrap label {
  margin-bottom: 0px;
  margin-left: 0px;
  display: block;
  padding: 15px 10px 15px 50px;
  cursor: pointer;
  font-weight: 600;
  position: relative;
}
.date-listing-wrap label p {
  font-weight: normal !important;
  margin-top: 5px;
}
div#delivery_date2 {
  text-align: left;
  /*height: 300px;
    overflow-y: scroll;*/
}
div#delivery_date1 {
  overflow-y: auto;
  height: auto;
}
div#delivery_date1::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

div#delivery_date1::-webkit-scrollbar {
  width: 8px;
}

.inline-lt-box .listing-checks label {
    /* margin: 0px 15px 0px 0px; */
    border: 1px solid #DBDBDB;
    padding: 8px 0px 4px 45px;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #222; /* ensure text visible by default */
}

.inline-lt-box .listing-checks label:hover {
  background-color: #b81930;
  color:#fff;
}

.inline-lt-box .listing-checks.active label {
  background-color: #b81930;
  color:#fff;
}

.date-listing-wrap .at-item.active{
  border: 1px solid #F0F0F0;
  background: #F0F0F0;
}

.at-tab {
  display: none;
  border-top: none;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}

/* .at-title.active {
  background: #f9f9f9;
} */

.at-title {
  cursor: pointer;
  position: relative;
  transition: background-color 0.3s ease;
}

/* .at-title:hover {
  background-color: #fff;
} */

.at-title:after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  right: 5px;
  top: 5px;
  background-image: url(img/chevron-down.png);
  /* position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  transition: all 0.3s ease;
  font-size: 24px; */
}

.at-title.active:after {
  content: "";
  width: 24px;
  height: 24px;
  position: absolute;
  right: 5px;
  top: 5px;
  background-image: url(img/chevron-up.png);
}

/* .at-item {
  border-radius: 5px;
  margin-bottom: 15px;
} */

.at-title h2 {
  font-size: 22px;
  font-weight: 600;
  padding: 10px 15px;
  margin: 0;
}
/*.wrap-modal-slider.open {
    height: 440px;
}*/

/*div#delivery_date2::-webkit-scrollbar-track
{
 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
 border-radius: 0px;
}

div#delivery_date2::-webkit-scrollbar
{
 width: 5px;
}

div#delivery_date2::-webkit-scrollbar-thumb
{
 border-radius: 0px;
 -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
 background-color: #B81930;
}*/
.backtocalendar-link {
  margin-top: 25px;
}
.wrap-modal-slider.open {
  height: 495px;
}
h5#exampleModalLabel {
  text-align: center !important;
  display: block !important;
  width: 100%;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.9px;
}

/*--09-12--*/

span.selected-shipping_deliveryDate {
  font-size: 48px;
  display: none; /* Hidden by default, shown when value is set */
  position: absolute;
  left: 10px;
  top: 15px;
  color: #222 !important;
  font-weight: 600;
  line-height: 1;
}

.delivery-options-wrapper:not(.blank) .selected-shipping_deliveryDate {
  display: inline-block !important;
}

span.selected-shipping_deliveryMonth {
  display: none; /* Hidden by default, shown when value is set */
  margin-left: 70px;
  margin-top: 8px;
  font-size: 14px;
  color: #222;
  line-height: 1.4;
  font-weight: normal;
}

.delivery-options-wrapper:not(.blank) .selected-shipping_deliveryMonth {
  display: block !important;
}

.delivery-options-wrapper:not(.blank) .selected-shipping_placeholder {
  display: block;
  position: absolute;
  right: -62px;
  top: 0;
}

.delivery-options-wrapper:not(.blank) .selected-shipping_placeholder .ch-date {
  display: none !important;
}

.delivery-options-wrapper:not(.blank)
  .selected-shipping_placeholder
  .fa-pencil {
  display: block !important;
}

.delivery-options-wrapper:not(.blank) .filed-dates-panel {
  padding-left: 15px;
  padding-top: 8px;
  padding-bottom: 8px;
  min-height: 60px;
  position: relative;
}

.delivery-options-wrapper:not(.blank) .ttslote {
  margin-left: 70px;
  margin-top: 2px;
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

.delivery-options-wrapper:not(.blank) .selected-shipping_deliveryWeekday {
  display: inline !important;
  margin-right: 5px;
}

.delivery-options-wrapper:not(.blank) .selected-shipping_timeSlot {
  display: inline !important;
}

/* Hide by default */
.selected-shipping_deliveryWeekday,
.selected-shipping_timeSlot {
  display: none;
}

.delivery-options-wrapper {
  position: relative;
  padding-left: 56px !important;
  padding-right: 70px !important; /* Space for edit button on the right */
  min-height: 60px;
  border-radius: 5px;
  width: 100%;
  max-width: 83%;
}

.delivery-options-wrapper:not(.blank) {
  padding-right: 70px !important; /* Ensure space for edit button when values are shown */
}
.delivery-options-wrapper.blank
  span.selected-shipping_placeholder
  > span
  > i.fa.fa-calendar {
  position: absolute;
  right: 15px;
  top: 13px;
  color: #b81930;
  font-size: 20px;
}
.delivery-options-wrapper span.selected-shipping_placeholder > i.fa.fa-pencil {
  background: #b81930;
  width: 50px;
  display: block;
  text-align: center;
  height: 59px;
  line-height: 59px;
  position: absolute;
  top: 0px;
  right: -62px;
  font-size: 30px;
  color: #fff;
  border-radius: 5px;
}

.delivery-options-wrapper:not(.blank)
  span.selected-shipping_placeholder
  > i.fa.fa-pencil {
  display: block;
  top: 0px;
  right: -62px;
}

.delivery-options-wrapper:not(.blank)
  span.selected-shipping_placeholder
  > span.ch-date {
  display: none;
}
/*.delivery-options-wrapper span.selected-shipping_placeholder span {
    position: absolute;
    top: 6px;
    left: 7px;
    font-size: 15px;
        padding-left:0;
        padding-right:0;
}*/
.calender-model .modal-content .modal-header a#backarrow {
  color: #fff;
  width: 30px;
  height: 30px;
  border: 1px #fff solid;
  line-height: 29px;
  font-size: 20px;
  border-radius: 50%;
  display: block;
}
.calender-model .modal-footer {
  justify-content: start !important;
  border-top: 0px;
}
.calender-model .backtocalendar-link > a {
  text-decoration: underline;
}
.calender-model .backtocalendar-link > a:hover {
  text-decoration: none;
}
.outer-check-box .listing-checks {
  border: 1px #ddd solid;
  margin: 0px 10px 15px;
  padding: 0px;
  line-height: 37px;
  height: 50px;
  border-radius: 30px;
  width: 100%;
  max-width: 300px;
  left: 0px;
  right: 0px;
  margin: 0px auto 15px;
  position: relative;
}
.outer-check-box {
  text-align: center;
}
.lt-box {
  height: 312px;
  overflow-y: auto;
}
.lt-box::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}

.lt-box::-webkit-scrollbar {
  width: 8px;
}

.lt-box::-webkit-scrollbar-thumb {
  border-radius: 6px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #b81930;
}
.outer-check-box h2 {
  color: #000;
  margin-bottom: 20px;
  margin-top: 20px;
  font-size: 24px;
  font-weight: 600;
}
.calender-model .ui-widget-header .ui-datepicker-prev .ui-icon {
  background-image: url(img/Left-Arrow-Icon.png);
  background-position: 0px 0px;
  margin-top: -5px;
}
.calender-model .ui-widget-header .ui-datepicker-next .ui-icon {
  background-image: url(img/Right-Arrow-Icon.png);
  background-position: 0px 0px;
  margin-top: -5px;
}
button.single_add_to_cart_button.button.alt.wp-element-button.disabled.wc-variation-selection-needed {
  opacity: 1;
}
.radio-col {
  display: block;
  position: relative;
  padding-left: 0px;
  margin-bottom: 0px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  width: 24px;
  height: 24px;
}
.radio-col input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  left: 0;
  top: 0;
  z-index: 999;
  width: 24px;
  height: 24px;
}
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
  border-radius: 50%;
  border: solid 1px #c9c9c9;
}
.radio-col:hover input ~ .checkmark {
  background-color: #ccc;
}
.radio-col input:checked ~ .checkmark {
  background-color: #b81930;
}
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}
.radio-col input:checked ~ .checkmark:after {
  display: block;
}
.hiddenproducts .tab-content .tab.active{
    height: auto !important;
}
.radio-col .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
.ot-radio {
  position: absolute;
  top: 21px;
  left: 12px;
}
.outer-check-box .listing-checks .ot-radio {
  position: absolute;
  top: 11px;
  left: 65px;
}
.filed-dates-panel {
  padding-left: 15px;
}

.wrap-modal-slider {
  padding: 0 30px;
  opacity: 0;
  transition: all 0.3s;
}

.wrap-modal-slider.open {
  opacity: 1;
}

.slick-prev:before,
.slick-next:before {
  color: red;
}
.ui-datepicker-today a {
  background: #f6f6f6 !important;
  border: 1px solid #ccc !important;
  color: #1c94c4 !important;
}
.delivery-options-wrapper.error {
  border: 1px solid red !important;
}
#validation-msgs span.error {
  color: #f90404;
  font-size: 15px;
}
main.main.product-details-wrap .row.single_variation_wrap .MyDatemyfield1 {
  margin-bottom: 35px !important;
  border-bottom: 0px !important;
}

.calender-model .modal-content {
  border-radius: 0px;
  max-height: 90vh;
  overflow: hidden;
}

.calender-model .modal-content .modal-header {
  background: #b81930;
  text-align: center !important;
}

.calender-model .modal-content .modal-header h5.modal-title {
  color: #fff;
  text-align: center;
  width: 100%;
  font-size: 22px;
}
.calender-model
  .wrap-modal-slider
  .ui-datepicker-inline.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all {
  margin: 0px auto;
  width: 100%;
  background: #fff !important;
  border: 0px !important;
}

.calender-model
  .wrap-modal-slider
  .ui-datepicker-inline.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all
  table.ui-datepicker-calendar
  thead
  tr
  > th {
  background: #ebebeb;
  border: 6px #fff solid;
}

/* .calender-model .wrap-modal-slider table.ui-datepicker-calendar {
  margin-top: 20px;
} */
.calender-model .wrap-modal-slider .ui-state-default,
.calender-model .wrap-modal-slider .ui-widget-content .ui-state-default,
.calender-model
  .wrap-modal-slider
  .ui-widget-header
  .ui-state-default
  .ui-widget {
  font-size: 16px !important;
  font-weight: 400 !important;
}
.calender-model
  .wrap-modal-slider
  table.ui-datepicker-calendar
  .ui-state-default,
.calender-model
  .wrap-modal-slider
  table.ui-datepicker-calendar
  .ui-widget-content
  .ui-state-default,
.calender-model
  .wrap-modal-slider
  table.ui-datepicker-calendar
  .ui-widget-header
  .ui-state-default {
  border: 0px;
  font-weight: bold;
  color: #555;
  text-align: center !important;
  border-top-width: 0px;
}
.calender-model .wrap-modal-slider .ui-datepicker td span,
.calender-model .wrap-modal-slider .ui-datepicker td a {
  display: block;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  margin: 4px;
}
.calender-model button.closdiv_ide {
  background: transparent;
  font-size: 30px;
  outline: none;
  border: 1px #fff solid !important;
  color: #fff;
  border-radius: 50%;
  line-height: 30px;
  height: 30px;
  width: 30px;
  padding: 0px !important;
  cursor: pointer;
  position: relative;
}
.calender-model button.closdiv_ide:before {
  content: "\f00d";
  font-family: "FontAwesome";
  font-size: 20px;
  position: absolute;
  font-weight: normal;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.product_shipping_date .red {
  color: #fb0202;
}
.product_shipping_date .red {
  color: #24cb24;
}
/*.calender-model .ui-datepicker-today a {
    background: #B81930 !important;
    border: 1px solid #B81930 !important;
    color: #fff !important;
}*/
.calender-model .ui-widget-header {
  border: 1px solid #fff !important;
  background: #fff !important;
  color: #000;
  font-weight: 700;
  width: 100%;
  max-width: 215px;
  margin: 0px auto;
}
.calender-model .wrap-modal-slider {
  padding: 0px 0px !important;
}
span.selected-shipping_shippingCost {
  color: #b81930;
  font-weight: 600;
}
.popup-bottom-btn {
  display: flex;
  justify-content: center;
  padding-top: 0;
  height: auto;
  align-items: center;
}
#backtocalendar {
  z-index: 99;
}
.backtlocation-btn {
  z-index: 99;
  background: #b81930;
  color: #fff;
  padding: 5px 20px;
  position: relative;
  border-radius: 4px;
  height: 35px;
  position: relative;
  left: -128px;
}
.backtlocation-btn:hover {
  color: #fff;
}

#shippingOptionsModal {
  overflow-y: hidden;
}
.delivery-options-wrapper.blank {
  max-width: 95%;
  min-height: 48px;
  padding-left: 0px !important;
}
.delivery-options-wrapper.blank span.selected-shipping_placeholder span {
  line-height: 0px;
  margin-top: 17px;
  display: block;
}
.outer-check-box .listing-checks label {
  display: block;
  padding: 6px 0px 6px 30px;
  cursor: pointer;
}
.calender-model td.ui-datepicker-current-day > a {
  background: #b81930 !important;
  border: 1px #b81930 solid !important;
  color: #fff !important;
}
span.selected-shipping_placeholder > span.ch-date {
  position: absolute;
  top: -38px;
  right: -58px;
  font-weight: 600;
  color: #b81930;
}

label[for="delivery_date"] {
  position: relative;
  display: block;
  margin-bottom: 5px;
}

label[for="delivery_date"] .change-date-link {
  position: absolute;
  right: 0;
  top: 0;
  color: #b81930;
  text-decoration: none;
  font-weight: normal;
  font-size: 14px;
}

label[for="delivery_date"] .change-date-link:hover {
  text-decoration: underline;
}

/*-- 24-08--*/
select#delivery_locations,
#delivery-address {
  padding: 9px 35px 9px 15px;
  color: #333;
  font-size: 16px;
  width: 90%;
  position: relative;
  -webkit-appearance: none;
  appearance: none;
  background: url(/wp-content/themes/yummycake/assets/images/Arrow-Icon.png)
    no-repeat no-repeat right 0.75rem center;
  background-size: 15px;
}
.full-field.full-field-wrap {
  text-align: left;
  width: 100%;
  padding-left: 15px;
  padding-top: 30px;
}

.full-field.full-field-wrap > span.form-label {
  font-weight: bold;
  margin-bottom: 8px;
  display: inline-block;
}
.full-field.full-field-wrap input#delivery-address {
  width: calc(100% - 130px);
  border: 1px #cecece solid;
  margin-bottom: 15px;
  border-right: 0px;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.full-field.full-field-wrap button.selectdeliverydate {
  padding: 10px 20px;
  border: 0px;
  background: #b81930;
  color: #fff;
  font-weight: 400;
  cursor: pointer;
  font-family: nunito_sansregular, sans-serif;
  margin-left: -5px;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pac-container {
  z-index: 99999999999 !important;
}

ul.or-conditon-link {
  padding: 0px;
  margin: 0px;
  list-style: none;
  text-align: center;
}
ul.or-conditon-link li p {
  margin: 0px 0px 7px;
  font-size: 20px;
  color: #000;
  font-weight: 600;
  text-transform: uppercase;
}

ul.or-conditon-link li {
  display: block;
}

ul.or-conditon-link li > a {
  color: #fff;
  background: #b81930;
  position: relative;
  font-size: 18px;
  display: block;
  padding: 12px 25px 12px 8px;
  border-radius: 4px;
  text-align: center;
  width: 100%;
  max-width: 190px;
  margin: 12px auto;
}
a.show_currnt_loc.locate-btn:hover {
  background: #000;
}
ul.or-conditon-link li > a i.locate-icon {
  display: inline;
  position: absolute;
  width: 24px;
  margin-left: 10px;
}
/*--24-08--*/

@media only screen and (max-width: 1200px) {
  span.selected-shipping_deliveryDate {
    font-size: 36px;
  }
  .delivery-options-wrapper {
    padding-left: 52px !important;
    padding-right: 0px !important;
  }
  .filed-dates-panel {
    padding-left: 7px;
    font-size: 14px;
  }
}
@media only screen and (max-width: 767px) {
  select#delivery_locations,
  #delivery-address,
  .full-field.full-field-wrap button.selectdeliverydate {
    font-size: 16px;
    width: 100%;
    margin-left: 0px;
    border-radius: 4px;
    margin-bottom: 10px;
  }
  div#delivery_date_selectlocation .full-field.full-field-wrap {
    padding-left: 0;
  }
  .full-field.full-field-wrap input#delivery-address {
    width: 99%;
    border: 1px #cecece solid;
    margin-bottom: 15px;
  }
  ul.or-conditon-link li > a {
    font-size: 16px;
    padding: 9px 25px 9px 8px;
    width: 100%;
    max-width: 100%;
    margin: 6px auto;
  }
  #shippingOptionsModal {
    background: #fff !important;
  }
  div#delivery_date1 {
    height: calc(100vh - 20vh);
  }
  .lt-box {
    height: calc(100vh - 40vh);
    overflow-y: auto;
  }
  span.selected-shipping_placeholder > span.ch-date {
    top: -30px;
  }
  .outer-check-box .listing-checks .ot-radio {
    top: 16px;
  }
  .inline-listing-checks .ot-radio{
    top: 8px !important;
  }
  .date-listing-wrap label {
    padding: 10px 30px 15px 40px;
    font-weight: 600;
  }
  .date-listing-wrap label p {
    font-weight: normal !important;
    line-height: 18px;
  }
  .radio-col {
    font-size: 18px;
    width: 18px;
    height: 18px;
  }
  .radio-col input {
    width: 18px;
    height: 18px;
  }
  .checkmark {
    height: 18px;
    width: 18px;
  }
  .radio-col .checkmark:after {
    left: 6px;
    top: 2px;
  }
  .delivery-options-wrapper.blank {
    max-width: 100%;
  }
  .calender-model .modal-content {
    border-radius: 0px;
    border: 0px;
    height: 100vh; /* full screen on mobile */
  }
  .modal.calender-model .modal-dialog {
    margin: 0 !important;
    height: 100vh !important;
    max-height: 100vh !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .calender-model .modal-content .modal-head- + er h5.modal-title {
    font-size: 18px;
  }
  .calender-model .modal-footer {
    border-top: 0px;
  }
  .outer-check-box h2 {
    margin-bottom: 15px;
    margin-top: 15px;
    font-size: 18px;
  }
  span.selected-shipping_deliveryDate {
    font-size: 30px;
    top: 18px;
  }
  .delivery-options-wrapper {
    position: relative;
    padding-left: 40px !important;
  }
  .filed-dates-panel {
    padding-left: 11px;
    font-size: 14px;
    line-height: 23px;
  }
  .backtocalendar-link {
    margin-top: 55px;
  }
}
@media only screen and (min-width: 576px) {
  .calender-model .modal-dialog {
    max-width: 700px;
    height: auto;
    max-height: 72vh; /* smaller popup on desktop */
    margin: 40px auto 0px;
  }
}
@media only screen and (max-width: 400px) {
  .calender-model .wrap-modal-slider .ui-datepicker td span,
  .calender-model .wrap-modal-slider .ui-datepicker td a {
    padding: 5px;
    margin: 1px;
  }
}
@media only screen and (max-width: 480px) {
  .date-listing-wrap:after {
    content: "";
    width: 88px;
    background: #b81930;
    position: absolute;
    right: 0px;
    top: 0px;
    height: 100%;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    display: none;
  }
  .date-listing-wrap i.price-tag {
    z-index: 99;
  }
}

/* Inline time slots styling */

.inline-time-slots {
  margin-top: 0px;
  margin-left: 0px;
  margin-right: 0px;
  clear: both;
  width: 100%;
  box-sizing: border-box;
}

.inline-time-slots-inner {
  border-top: 1px solid #DBDBDB;
  border-radius: 3px;
  padding: 10px 15px 10px;
  background: #ffffff;
}
.inline-time-slots-inner > p.inline-time-slots-title {
  margin-bottom: 10px;
  padding: 0px 15px;
}

.inline-time-slots-title {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 14px;
  color: #000;
  margin-top: 0;
}

.popup-container {
    position: relative;
}
.popup-container .popup-bottom-fixed {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #fff;
    padding: 12px;
}

#tab-content {
    position: relative;
}

.popup-bottom-fixed {
    position: sticky;
    bottom: 0;
    background-color: #fff;
    padding-top: 20px;
    z-index: 999;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.15); /* Shadow on top side */
}

.inline-lt-box {
  max-height: 145px;
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.listing-checks.inline-listing-checks {
    width: 32% !important;
}

/* .inline-listing-checks {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
} */

.inline-listing-checks .ot-radio {
  position: absolute;
  top: 6px;
  left: 1px;
  padding-left: 10px;
}

/* Ensure time-slot radio buttons have the same styling as shipping methods when selected */
/* Only the radio circle should be styled, not the container */
.inline-listing-checks .radio-col input:checked ~ .checkmark {
  background-color: #b81930;
}

.inline-listing-checks .radio-col input:checked ~ .checkmark:after {
  display: block;
}

.inline-listing-checks .radio-col:hover input ~ .checkmark {
  background-color: #ccc;
}

/* Also apply to regular listing-checks (for old time slot structure) */
.listing-checks .radio-col input:checked ~ .checkmark {
  background-color: #b81930;
}

.listing-checks .radio-col input:checked ~ .checkmark:after {
  display: block;
}

.listing-checks .radio-col:hover input ~ .checkmark {
  background-color: #ccc;
}

@media only screen and (max-width: 767px) {
  .hiddenproducts .sumbit-hcart {
    width: 43% !important;
  }
  /* .inline-time-slots {
    margin-left: 5px;
    margin-right: 5px;
  } */
  .inline-lt-box {
    max-height: 125px;
  }
  .date-listing-wrap{
    margin: 0px 0px 10px 0px;
  }
  .inline-listing-checks label {
    padding: 6px 8px 6px 37px;
    font-weight: 600;
  }
  .inline-lt-box .listing-checks label {
    padding: 6px 10px 4px 35px !important;
    font-weight: 600;
  }
  .listing-checks.inline-listing-checks {
    width: calc(50% - 6px) !important; /* 2 per row on mobile */
  }
  /* .addon-category-section{
    margin-top: 70px;
  } */
}

/* Add-on Products Styling */
.addon-products-wrapper {
  padding: 0px;
  max-height: 500px;
  overflow-y: auto;
}

/* Override legacy addon wrapper scrolling: only product list should scroll */
#delivery_addon_products .addon-products-wrapper {
  max-height: none !important;
  overflow: hidden !important;
}

.extra-special-header {
  background: #b81930;
  margin: -20px -20px 20px -20px;
  padding: 15px;
  text-align: center;
}

.extra-special-header h2 {
  color: #fff;
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.hiddenproducts .tabs .tab-links {
  list-style-type: none;
  padding: 5px;
  display: inline-block;
  width: 100%;
  background-color: transparent;
  border-radius: 0px;
  text-align: center;
  margin-bottom: 0px;
}
.hiddenproducts span.price span.woocommerce-Price-amount.amount {
  font-size: 16px !important;
}
.hiddenproducts .tab-content .tab.active {
  margin-bottom: 0px !important;
}

.hiddenproducts .tabs .tab-links li {
  display: inline-block;
  margin: 0 5px;
}

.hiddenproducts .tabs .tab-links li a {
  padding: 8px 15px;
  background: #f0f0f0;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  display: block;
  border: 1px solid #ddd;
}

.hiddenproducts .tabs .tab-links li.activeLi a,
.hiddenproducts .tabs .tab-links li.activeLi {
  background-color: #b81930;
  color: #fff;
  border: 1px solid #b81930;
}

.hiddenproducts .tab-content .tab {
  display: none;
}

.hiddenproducts .tab-content .tab.active {
  display: block;
}

.hiddenproducts .product {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hiddenproducts .product li {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
  position: relative;
}

.hiddenproducts .product li label {
  cursor: pointer;
  display: block;
}

.hiddenproducts .product li input[type="checkbox"] {
  position: absolute;
  top: auto;
  bottom: 10px;
  right: 10px;
  width: 18px;
  height: 18px;
  z-index: 10;
  cursor: pointer;
}

.hiddenproducts .product li img {
  width: 100%;
  height: auto;
  /* border-radius: 4px; */
}

.popupftr {
  margin-top: 10px;
  padding-left: 10px;
}

.addon-products-wrapper .tab-content .popupftr span.price {
  text-align: left !important;
}

.popupftr h2 {
  font-size: 14px;
  margin: 5px 0;
  font-weight: 600;
  color: #333;
}

.popupftr .price {
  font-size: 16px;
  font-weight: 600;
  color: #b81930;
}

.formftr {
  /* margin-top: 10px; */
  text-align: center;
  /* padding-top: 10px; */
  /* border-top: 1px solid #ddd; */
}
.popup-bottom-btn {
  display: flex;
  justify-content: center;
  position: relative;
    top: -5px;
}
#tab-content .popupftr h2.woocommerce-loop-product__title {
  height: 40px;
  font-size: 15px;
  margin-bottom: 5px;
  color: #000;
  font-weight: normal;
  width: 82%;
  line-height: 17px;
  padding-top: 8px;
  text-align: left;
}
.sumbit-hcart-btn {
  background: #adadad;
  color: #fff;
  padding: 5px 30px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: normal;
  cursor: pointer;
  margin-right: 10px;
}
.sumbit-hcart-btn.active{
    background: #b81930;
}
.hiddenproducts .skip-btn {
  background: #333;
  border: none;
  font-weight: normal;
  padding: 7px 15px;
  color: #fff;
  font-size: 16px;
}

.sumbit-hcart:hover {
  background: #a01628;
}

.btn-skip {
  background: #f0f0f0;
  color: #333;
  padding: 10px 30px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: 600;
}

.btn-skip:hover {
  background: #e0e0e0;
  color: #333;
  text-decoration: none;
}

.modal-footer .backtlocation-btn {
  position: relative;
  top: -2px;
  left: 15px;
}

@media only screen and (max-width: 1024px) {
    .backtlocation-btn{
        left: -134px;
    }
}

@media only screen and (max-width: 991px) {
  .modal-footer .backtlocation-btn {
    top: -11px;
  }
}

@media only screen and (max-width: 767px) {
  .hiddenproducts .product li {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
  .addon-products-wrapper {
    max-height: calc(100vh - 87px);
  }
  .wrap-modal-slider.open {
    height: 580px;
  }
  #tab-content .popupftr h2.woocommerce-loop-product__title {
    height: 30px;
    font-size: 14px;
  }
  .modal-footer .backtlocation-btn {
    left: 15px;
  }
  .backtlocation-btn{
        left: 0px;
        padding: 10px 20px !important;
        font-size: 16px !important;
        display: flex;
        align-items: center;
        margin-right: 10px;
    }
    .sumbit-hcart-btn{
        padding: 5px 8px;
    }
    #tab-content {
      height: 76vh;
    }
    .popup-bottom-fixed{
        position: sticky;
        top: auto;
        bottom: 0px;
        background-color: #fff;
        padding-top: 15px;
        z-index: 999;
        box-shadow: 0 -3px 10px rgb(0 0 0 / 15%);
        padding-bottom: 5px;
        max-width: 100%;
        padding-bottom: 40px;
    }
    .formftr{
      display: flex;
    }
}

/* ============================================
   DISABLED TIME SLOT STYLING
   ============================================ */
.listing-checks.disabled-slot {
  display: none !important; /* hide disabled slots everywhere */
}

/* (disabled-slot children styles no longer needed because it's hidden) */

/* Shipping method disabled (no valid slots) - keep visible, but clearly disabled */
.date-listing-wrap.disabled-method {
  opacity: 0.55;
}

.date-listing-wrap.disabled-method .at-title {
  pointer-events: none;
}

/* Hide fully-unavailable methods for TODAY (all slots disabled) */
.date-listing-wrap.hidden-method {
  display: none !important;
}

/* ============================================
   UI IMPROVEMENTS - SHIPPING METHOD CARDS
   ============================================ */

/* Better spacing between shipping method cards */
#delivery_option_delhincr .date-listing-wrap,
#delivery_option_vendorcity .date-listing-wrap,
#delivery_option_othercity .date-listing-wrap {
  margin-bottom: 15px;
}

/* Improved card styling */
.date-listing-wrap .at-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.date-listing-wrap .at-item.active {
  border-color: #d0d0d0;
  background: #f8f8f8;
}

/* Method title and price on same line */
.at-title label > span {
  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
}

.at-title label > span > span:first-child {
  font-size: 16px;
  font-weight: 700;
  color: #222;
}

/* Ensure price tag stays inline */
.at-title label > span > i.price-tag {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}

/* ============================================
   UI IMPROVEMENTS - TIME SLOTS
   ============================================ */

/* Time slots container - cleaner look */
.at-tab .inline-time-slots-inner {
  border-top: 1px solid #eee;
  padding: 15px;
  background: #f9f9f9;
}

/* Time slot buttons - pill style */
.inline-lt-box .listing-checks.inline-listing-checks {
  border-radius: 25px;
  overflow: hidden;
}

.inline-lt-box .listing-checks.inline-listing-checks label {
  border-radius: 25px;
  padding: 8px 15px 8px 45px;
  font-size: 13px;
  background: #fff;
}

.inline-lt-box .listing-checks.inline-listing-checks label:hover {
  background-color: #b81930;
  color: #fff;
  border-color: #b81930;
}

/* Selected time slot styling */
.inline-lt-box .listing-checks.inline-listing-checks label:has(input:checked) {
  background-color: #b81930;
  color: #fff;
  border-color: #b81930;
}

/* Hide redundant subtitle in time slots panel */
.inline-time-slots-inner > p.inline-time-slots-title {
  display: none;
}

/* ============================================
   ADDON PRODUCTS - REDESIGNED LAYOUT
   ============================================ */

/* Fix modal overflow for addon products */
.calender-model .modal-body {
  overflow: hidden !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
}

.calender-model .modal-dialog {
  overflow: hidden !important;
  height: 72vh !important; /* give children a real height for scrolling */
  max-height: 72vh !important;
}

.calender-model .modal-content {
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.calender-model .wrap-modal-slider {
  overflow: hidden !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: 100% !important;
}

/* Fix slick slider overflow */
.calender-model .slick-track,
.calender-model .slick-list,
.calender-model .slick-slide {
  overflow: hidden !important;
}

.calender-model .slick-slide > div {
  overflow: hidden !important;
}

/* Critical: give slick a real height so inner scroll works */
.calender-model .shipping-class,
.calender-model .shipping-class .slick-list,
.calender-model .shipping-class .slick-track,
.calender-model .shipping-class .slick-slide,
.calender-model .shipping-class .slick-slide > div {
  height: 100% !important;
}

.calender-model .shipping-class .slick-slide,
.calender-model .shipping-class .slick-slide > div {
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
}

/* Main wrapper */
#delivery_addon_products {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

#delivery_addon_products .addon-products-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: none; /* use flex sizing from modal instead of viewport math */
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  min-height: 0; /* allow children to shrink so footer remains visible */
  position: relative;
  flex: 1 1 auto;
}

/* Category Tabs Container */
.addon-category-tabs {
  display: flex;
  align-items: center;
  padding: 6px 5px;
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 10;
  flex: 0 0 auto;
}

.addon-category-tabs .tab-scroll-btn {
  width: 28px;
  height: 28px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  transition: all 0.2s ease;
}

.addon-category-tabs .tab-scroll-btn:hover {
  background: #f5f5f5;
  border-color: #b81930;
  color: #b81930;
}

.addon-category-tabs .tabs-wrapper {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 8px;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.addon-category-tabs .tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.addon-category-tabs .cat-tab {
  padding: 6px 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.addon-category-tabs .cat-tab:hover {
  background: #ffe5e9;
  border-color: #b81930;
  color: #b81930;
}

.addon-category-tabs .cat-tab.active {
  background: #b81930;
  border-color: #b81930;
  color: #fff;
}

/* Categories Container - Scrollable */
.addon-categories-container {
  flex: 1 1 auto;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  padding: 10px;
  padding-bottom: 10px;
  background: #f9f9f9;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-height: 0; /* critical in flex layouts to prevent footer being pushed out */
}

/* Ensure form inside doesn't expand */
.addon-categories-container form {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

/* Category Section */
.addon-category-section {
  margin-bottom: 18px;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

.addon-category-section .category-title {
  font-size: 15px;
  font-weight: 700;
  color: #222;
  margin: 0 0 8px 0;
  padding-left: 5px;
  text-align: center;
}

/* Products Row - Horizontal Scroll */
.addon-category-section .products-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 12px;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  padding: 5px 5px 15px 5px;
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box !important;
}

.addon-category-section .products-row::-webkit-scrollbar {
  display: none;
}

/* Row scroll arrows */
.products-row-wrap {
  position: relative;
  overflow: visible;
}

.products-row-wrap .row-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 2px solid #b81930;
  background: #b81930 !important;
  background-color: #b81930 !important;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
  opacity: 1 !important;
}

.products-row-wrap .row-scroll-btn:active {
  transform: translateY(-50%) scale(0.98);
}

.products-row-wrap .row-scroll-btn.prev {
  left: -8px;
}

.products-row-wrap .row-scroll-btn.next {
  right: -8px;
}

.products-row-wrap .row-scroll-btn.is-disabled {
  opacity: 0.55;
  pointer-events: auto; /* keep visible and tappable even if we think it can't scroll */
}

/* Add side padding so arrows don't cover cards */
.products-row-wrap .products-row {
  padding-left: 56px;
  padding-right: 56px;
}

@media (max-width: 767px) {
  .products-row-wrap .row-scroll-btn {
    width: 38px;
    height: 38px;
    font-size: 26px;
  }
  .products-row-wrap .products-row {
    padding-left: 52px;
    padding-right: 52px;
  }
}

/* Product Card */
.addon-product-card {
  flex: 0 0 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  background: #fff;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  scroll-snap-align: start;
  box-sizing: border-box;
}

.addon-product-card:hover {
  border-color: #ddd;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.addon-product-card.selected {
  border-color: #b81930;
  box-shadow: 0 2px 12px rgba(184, 25, 48, 0.2);
}

.addon-product-card .product-image {
  width: 100%;
  height: 84px;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 8px;
}

.addon-product-card .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.addon-product-card .product-name {
  font-size: 12px;
  font-weight: 500;
  color: #333;
  margin: 0 0 4px 0;
  line-height: 1.2;
  height: 28px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.addon-product-card .product-price {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #b81930;
  margin-bottom: 8px;
}

.addon-product-card .add-btn {
  width: 100%;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid #b81930;
  border-radius: 6px;
  color: #b81930;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.addon-product-card .add-btn:hover {
  background: #ffe5e9;
}

.addon-product-card.selected .add-btn {
  background: #b81930;
  color: #fff;
}

/* Footer with Continue Button */
.addon-footer {
  padding: 10px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  position: relative;
  z-index: 50;
}

.addon-footer .continue-btn {
  width: 100%;
  max-width: 560px;
  padding: 14px 20px;
  background: #8B0000;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

/* Loading state for continue button */
.addon-footer .continue-btn.is-loading {
  opacity: 0.75;
  pointer-events: none;
}

.addon-footer .continue-btn .ycake-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: #fff;
  border-radius: 50%;
  vertical-align: -2px;
  animation: ycakeSpin 0.8s linear infinite;
}

@keyframes ycakeSpin {
  to { transform: rotate(360deg); }
}

.addon-footer .continue-btn:hover {
  background: #a01010;
}

.addon-footer .continue-btn.has-addons {
  background: #b81930;
}

/* Override any conflicting styles from other rules */
#delivery_addon_products .addon-category-section {
  width: 100% !important;
  overflow: hidden !important;
}

#delivery_addon_products .addon-category-section .products-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  overflow-x: scroll !important;
  overflow-y: hidden !important;
  -webkit-overflow-scrolling: touch !important;
}

#delivery_addon_products .addon-category-section .products-row .addon-product-card {
  flex: 0 0 150px !important;
  min-width: 150px !important;
  max-width: 150px !important;
  width: 150px !important;
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  margin: 0 !important;
}

/* Reset any grid/float styles that may interfere */
#delivery_addon_products .products-row::before,
#delivery_addon_products .products-row::after {
  display: none !important;
  content: none !important;
}

/* Ensure old product list styles don't interfere */
#delivery_addon_products ul.product,
#delivery_addon_products .hiddenproducts ul,
#delivery_addon_products .tab-content,
#delivery_addon_products .tabs {
  display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #delivery_addon_products .addon-category-section .products-row .addon-product-card {
    flex: 0 0 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    width: 130px !important;
  }
  
  .addon-product-card .product-image {
    height: 90px;
  }
  
  .addon-product-card .product-name {
    font-size: 11px;
    height: 28px;
  }
  
  .addon-product-card .product-price {
    font-size: 13px;
  }
  
  .addon-category-tabs .cat-tab {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .addon-footer .continue-btn {
    padding: 12px 16px;
    font-size: 13px;
  }
}


