/* CSS for the  and popup - Tailwind CSS is used for styling. */
/* The styles below are for a better user experience */

:root {
  --wd-primary-color-faint: rgba(var(--wd-primary-color-rgb), 0.05);
}

body.overflow-h {
  overflow: hidden;
  height: 100vh;
}

#selected-day-title {
  margin-top: 20px;
}

.flatpickr-calendar.inline {
  margin: 0 auto;
  direction: rtl;
}
.flatpickr-day.selected:hover,
.flatpickr-day.selected {
  background-color: var(--wd-primary-color);
  border-color: var(--wd-primary-color);
}

.pop-up-content-wrap:before {
  --wd-anim-state: running;
  position: absolute;
  top: calc(50% - 9px);
  inset-inline-start: calc(50% - 9px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.25s ease;
  content: "";
  display: inline-block;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(0, 0, 0, 0);
  border-left-color: currentColor;
  border-radius: 50%;
  vertical-align: middle;
  animation: wd-rotate 450ms infinite linear var(--wd-anim-state, paused);
}

.pop-up-content-wrap:after{
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,0.5);
  opacity: 0;
  z-index: -2;
}

.pop-up-content-wrap.loading:before,
.pop-up-content-wrap.loading:after{
  opacity: 1;
  z-index: 2;
}

.pop-up-content-wrap.loading:after{
  z-index: 1;
}
/* .delivery-card.loading .delivery-content {
  transition: opacity 0.25s ease;
  opacity: 0;
  z-index: -1;
} */

#time-slots-grid.done:before {
  opacity: 0;
  z-index: -1;
}

#time-slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  min-height: 200px;
  position: relative;
}

@media (min-width: 1024px) {
  #time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step-city .woo-billing-fields {
  display: grid;
  grid-template-columns: 1;
  gap: 16px; /* spacing between items */
}

 .btn-wrap {
  bottom: 0;
  background: #fff;
  width: 100%;
  right: 0;
  padding: 15px 20px;
  border-top: 1px solid var(--brdcolor-gray-300);

}

.delivery-dropdown-wrap .btn-wrap{
  background-color: transparent;
}

.woocommerce-checkout .btn-wrap{
  padding: 20px 0 0;
  border-top: 0;
}
/* @media (min-width: 1024px) { */
  /* #time-slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .step-city .woo-billing-fields {
    grid-template-columns: repeat(2, 1fr);
  } */
/* } */

/* Time slot card */
.time-slot {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}

.time-slot:hover:not(.full) {
  border-color: #d1d5db;
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.1);
}

.time-slot.full {
  background-color: #f3f4f6;
  border-color: #d1d5db;
  cursor: not-allowed;
}

.slot-text {
  font-weight: bold;
  color: var(--wd-widget-title-color);
}

.slot-message,
.slot-available {
  font-size: 0.875rem; /* 14px */
  color: var(--wd-text-color);
}

.slot-available.available-text {
  color: #16a34a; /* green */
}

#time-slots-grid .time-slot.is-selected {
  border-color: var(--wd-primary-color);
  background-color: var(--wd-primary-color-faint);
}

.delivery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 768px;
  margin: 0 auto;
}

.city-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 10px;
}

.city-content .message {
  font-weight: 500;
}

.delivery-cost {
  display: inline-flex;
  border-radius: 0;
  padding: 4px 12px;
  background-color: #166534;
  border-radius: 30px;
  color: white;
  font-weight: 600;
}

.delivery-price {
  padding-inline-start: 5px;
}

button.delivery-card {
  align-items: flex-start;
  background: #f9f9f9;
  border: 1px solid #e5e7eb;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.delivery-text h3 {
  font-size: 16px;
  font-weight: 700;
}

.delivery-text p {
  font-size: 14px;
  color: #4b5563; /* gray-600 */
  font-weight: 500;
}


button.delivery-card:hover {
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  background-color: var(--wd-primary-color);
    border-color: var(--wd-primary-color);

}

button.delivery-card:hover .delivery-icon
{
  color: #fff;
}

.delivery-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.step-city label {
  text-align: start;
}

.delivery-icon {
  width: 80px;
  height: 80px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  font-weight: 400;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.details-box {
  padding: 10px;
  border-radius: 8px;
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  border: 1px solid var(--wd-primary-color);
}

.details-box h4 {
  margin-bottom: 0;
  font-size: 14px;
}

.details-box.green,
.details-box.blue,
.details-box.purple {
  border: 1px solid #e5e7eb;
}

.details-box .icon-box {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--wd-primary-color);
  background-color: #f9f7f4;
  flex-shrink: 0;
}

.details-box .icon-box svg,
.details-box .icon-box [class^="icon-"],
.details-box .icon-box [class*=" icon-"] {
  width: 20px;
  height: 20px;
  font-size: 20px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}


.delivery-card:hover .delivery-text h3,
.delivery-card:hover .icon-box,
.delivery-card.active .delivery-text h3,
.delivery-card.active .delivery-text p,
.delivery-card:hover .delivery-text p{
  color: #fff;
}

.delivery-home .delivery-icon:before {
  font-family: "icomoon";
  content: "\e910";
}

.delivery-pickup .delivery-icon:before {
  font-family: "icomoon";
  content: "\e90b";
}

.wa-ic {
  margin: 20px 0;
  border: 0 !important;
}

.wa-ic:before {
  font-family: "woodmart-font";
  content: "\F175";
}

.btn-wrap {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
}

.btn-wrap .save-btn,
.btn-wrap .close-popup-btn:not(.btn-style-link),
.btn-wrap .step-btn{
  width: 100%;
  flex: 1;
  border-radius: 42px;
  height: 50px;
  min-height: 50px;
  font-size: 16px;
  background-color: var(--wd-primary-color);
  color: #fff;
}

.btn-wrap .save-btn:hover,
 .btn-wrap .step-btn:hover{
  background-color: rgb(30,14,8);
    color: #fff;

 }

.btn-wrap .step-btn.back-btn{
  background-color: inherit;
  color: var(--wd-primary-color);
  border: 1px solid var(--wd-primary-color);
  max-width: 50%;
}

.step-btn.back-btn:hover{
  background-color: #f6f6f5;
}

.btn.restart-steps-btn{
  background-color: transparent;
  min-height: 0;
  border-bottom: 2px solid;
  padding: 0;
  font-size: 14px;
  margin-top: 20px;
}

.btn.restart-steps-btn:hover{
  background-color: transparent;
}

.alert-box {
  position: relative;
  width: 100%;
  border: 1px solid #e5e7eb;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  color: var(--wd-text-color);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.alert-box svg,
.alert-box [class^="icon-"],
.alert-box [class*=" icon-"] {
  width: 20px;
  height: 20px;
  font-size: 20px;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.alert-box.success {
  border-color: #166534;
  background-color: #dcfce7;
  color: #166534;
}

.alert-box.info {
  border-color: #1e40af;
  background-color: #dbeafe;
  color: #1e40af;
}

.fc .fc-button-primary:hover,
.fc .fc-button-primary:disabled{
  background-color: #000 !important;
  border-color: #000 !important;
}

.alert-box.error {
  border-color: #991b1b;
  background-color: #fee2e2;
  color: #991b1b;
}

.alert-box.success :is(svg, [class^="icon-"], [class*=" icon-"]) { color: #166534; }
.alert-box.info :is(svg, [class^="icon-"], [class*=" icon-"]) { color: #1e40af; }
.alert-box.error :is(svg, [class^="icon-"], [class*=" icon-"]) { color: #991b1b; }

.alert-icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-inline-end: 8px;
  margin-top: 3px;
  color: var(--wd-primary-color);
}

.alert-text {
  line-height: 1.6;
}

.slot-message {
  display: inline-flex;
  align-items: center;
  border: 1px solid #fde68a; /* light amber border */
  background-color: #fff8e1; /* very light amber background */
  color: #92400e; /* dark amber text */
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
}

.slot-available {
  display: flex;
  align-items: center;
  gap: 8px; /* space between dot and text */
  font-size: 14px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #22c55e; /* green-500 */
}

.slot-available.full-text .status-dot {
  background-color: #ef4444; /* red */
}

.slot-available.semi-available-text .status-dot {
  background-color: #f59e0b; /* amber-500 */
}

.availability-text {
  color: #4b5563; /* gray-600 */
}

.delivery-alert {
  position: relative;
  margin-top: 10px;
  width: 100%;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background-color: #f9f9f9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.875rem; /* text-sm */
  color: var(--wd-text-color);
}

.delivery-alert.success {
  border-color: #166534;
  background-color: #dcfce7;
  color: #166534;
}

.delivery-alert.info {
  border-color: #1e40af;
  background-color: #dbeafe;
  color: #1e40af;
}

.delivery-alert.error {
  border-color: #991b1b;
  background-color: #fee2e2;
  color: #991b1b;
}

.delivery-alert.error a {
  color: #991b1b;
  text-decoration: underline;

}

.delivery-alert.success :is(svg, [class^="icon-"], [class*=" icon-"]) { color: #166534; }
.delivery-alert.info :is(svg, [class^="icon-"], [class*=" icon-"]) { color: #1e40af; }
.delivery-alert.error :is(svg, [class^="icon-"], [class*=" icon-"]) { color: #991b1b; }

.delivery-alert svg,
.delivery-alert [class^="icon-"],
.delivery-alert [class*=" icon-"] {
  width: 20px;
  height: 20px;
  font-size: 20px;
  flex-shrink: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

.step-city #order_comments_field {
  grid-column: 1 / -1; /* span all columns */
}

.step-city textarea {
  min-height: 100px !important;
}

.custom-model-main .box-wrap {
  margin-top: 20px;
  padding: 24px;
  border: 1px solid #e5e7eb;
  border-radius: 0;
}

.custom-model-main .btn:not(.btn-style-link) {
  border-radius: 0;
}

.delivery-fields-wrap input.error {
  border-color: #ca1919;
}

.fc .fc-toolbar-title{
  font-size: 20px;
}

.selected-details {
  text-align: start;
  display: grid;
  gap: 10px;
  align-items: center;
  margin-bottom: 20px;
  flex-direction: column;
}


.custom-model-main {

}

.model-open {
  z-index: 999;
  opacity: 1;
  overflow: hidden;
}

.custom-model-inner .close-btn {
  position: absolute;
  right: 0;
  top: -30px;
  cursor: pointer;
  z-index: 99;
  font-size: 18px;
}

.custom-model-inner .close-btn a {
  color: #fff;
}

.pop-up-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  position: relative;
}

.pop-up-content-wrap .step{
  height: 100%;
  display: flex;
  flex-direction: column;
}

.step-inner{
  flex: 1;
  padding: 0 0 20px;
  max-height: 100%;
  overflow: scroll;
}

.woocommerce-checkout .step-inner{
  padding: 0;
}

.pop-up-content-wrap .address-field {
  width: 100%;
  margin-bottom: 10px;
  float: none;
}

.woocommerce-account .pop-up-content-wrap .form-row {
  width: 100%;
}

.pop-up-content-wrap.loading button {
  pointer-events: none;
}

.pop-up-content-wrap .step-title {
  margin-bottom: 20px;
  text-align: start;
  padding-inline: 0;
  justify-content: flex-start;
}
.pop-up-content-wrap .step-title .wd-action-btn{margin-inline-start: auto;}
.pop-up-content-wrap .step-title .wd-action-btn a:after{display: none;}

.woocommerce-checkout .pop-up-content-wrap .step-title .wd-action-btn{display: none;}
.woocommerce-checkout .pop-up-content-wrap .step-title {
  padding: 0 0 5px 0;
}

.step-title h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}


.step-title h4 {
  font-size: 16px;
}

/* .woocommerce-checkout .step-title h3 {
  font-size: 18px;
} */

.message-wrap {
  font-size: 14px;
  margin-top: 10px;
}

.pop-up-content-wrap h3 {
  margin-bottom: 0;
}

.pop-up-content-wrap p {
  margin-bottom: 0;
}
.custom-model-wrap{
  height: 100%;
}

.custom-model-wrap .select2-container {
  z-index: 99999999999;
}

.fc-disabled {
  background-color: #f3f4f6;
  color: #000;
  pointer-events: none;
}


.fc-direction-rtl .fc-toolbar-ltr {
  flex-direction: row;
}

.fc-today-button.fc-button {
  display: none;
}

.fc .fc-daygrid-day-number {
  font-weight: bold;
}

.fc .fc-daygrid-day-top {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.fc .fc-daygrid-event {
  pointer-events: none;
  background-color: transparent;
  border: 0;
  font-size: 12px;
}

.fc .fc-col-header-cell-cushion {
  font-size: 14px;
}

/* @media screen and (max-width: 799px) { */
  .fc .fc-daygrid-day-top {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 3px;
    gap: 0;
  }

  .fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: auto;
  }

  .fc .fc-daygrid-day-number {
    padding-inline: 0;
  }

  .fc .fc-col-header-cell-cushion {
    font-size: 12px;
  }

  .fc .fc-daygrid-event {
    font-size: 10px;
  }
/* } */

.fc-col-header {
  pointer-events: none;
}

.fc-h-event .fc-event-main {
  color: inherit;
}

.fc-day:not(.fc-disabled):not(.fc-day-other):not(.fc-day-disabled) {
  cursor: pointer;
}

.fc-day:not(.fc-disabled):not(.fc-day-other):not(.fc-day-disabled):hover {
  background-color: #fff8e1;
}

.fc .fc-scrollgrid,
.fc .fc-scrollgrid-section table {
  margin: 0;
}

.delivery-dropdown-wrap{
  padding: 15px;
  background-color: #f9f7f4;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
}

.selected-dates-wrap {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: space-between;
  color: var(--wd-primary-color);
  font-weight: 700;
  cursor: pointer;
  padding: 10px 0;
}

.selected-dates-wrap .selected-date-text {
  font-size: 14px;
}

.selected-dates-wrap .selected-time-text {
  font-size: 14px;
  opacity: 0.8;
}

/* Product Line Grid Styles */
.product-line-grid {
  margin-bottom: 30px;
}

.product-line-card .delivery-icon svg {
  width: 50px;
  height: 50px;
  transition: all 0.3s ease;
}

.product-line-card.active .delivery-icon svg,
.product-line-card:hover .delivery-icon svg {
  color: #fff;
}

@media (max-width: 767px) {
  .product-line-card .delivery-icon svg {
    width: 40px;
    height: 40px;
  }
}

.login-buttons-wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.login-buttons-wrap .btn {
    width: 100%;
    flex: 1;
    border-radius: 42px;
    height: 50px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
}

.login-buttons-wrap .login-club-btn {
    background-color: var(--wd-primary-color) !important;
    color: #fff !important;
    border: none !important;
}

.selected-dates-wrap .btn:hover,
.login-buttons-wrap .login-club-btn:hover {
    background-color: rgb(30,14,8) !important;
    color: #fff !important;
}

.login-buttons-wrap .register-club-btn {
    background-color: transparent !important;
    color: var(--wd-primary-color) !important;
    border: 1px solid var(--wd-primary-color) !important;
}

.login-buttons-wrap .register-club-btn:hover {
    background-color: var(--wd-primary-color) !important;
    color: #fff !important;
}

.login-buttons-wrap .guest-continue-btn {
    background-color: transparent !important;
    color: #666 !important;
    border: none !important;
    text-decoration: underline !important;
    font-weight: normal !important;
    box-shadow: none !important;
}

.login-buttons-wrap .guest-continue-btn:hover {
    color: var(--wd-primary-color) !important;
    background-color: transparent !important;
}

.auth-form-label {
    display: block;
    margin-bottom: 5px;
    text-align: right;
}

.auth-form-input {
    width: 100%;
    text-align: left;
    direction: ltr;
    margin-bottom: 10px;
}

.auth-form-input.code-input {
    text-align: center;
    letter-spacing: 4px;
}


.auth-form-wrap .btn-submit {
    width: 100%;
    background-color: var(--wd-primary-color);
    color: #fff;
    border: none;
    border-radius: 42px;
    height: 50px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 769px) {
    .otp-step-1, .otp-step-2 {
        display: flex;
        flex-wrap: nowrap;
        align-items: flex-end;
        justify-content: space-between;
        gap: 12px;
    }
    .auth-input-group {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .otp-step-1 .auth-form-input, .otp-step-2 .auth-form-input {
        margin-bottom: 0 !important;
    }
    .otp-step-1 .btn-submit, .otp-step-2 .btn-submit {
        width: auto;
        height: auto;
        font-size: 14px;
    }
}


.auth-form-wrap .btn-submit:hover {
    background-color: rgb(30,14,8);
    color: #fff;
}

.auth-message {
    margin-top: 10px;
    font-size: 14px;
    text-align: center;
}

.auth-message:empty {
    display: none;
}

.auth-back-btn {
    background: none !important;
    border: none;
    color: #666;
    width: 100%;
    margin-top: 10px;
    text-decoration: underline;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    
}

.auth-back-btn:hover {
    color: var(--wd-primary-color);
}

@media screen and (max-width: 768px) {
  .selected-dates-wrap {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .selected-dates-wrap button {
    width: 100%;
  }
}

.customer-details .dropdown-wrap {
  margin: 0 !important;
  background: #fff;
  padding: 20px;
  border-radius: 0;
  border: 1px solid #e5e7eb;
}

.dropdown-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dropdown-body h3 .title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--wd-primary-color);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  flex-shrink: 0;
}

.dropdown-header #selected-slot-details {
  font-size: 16px;
  font-weight: 300;
}

.dropdown-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: start;
  cursor: pointer;
}

.dropdown-wrap:not(.disabled) .dropdown-header::after {
  font-size: var(--wd-arrow-icon-size, 24px);
  font-family: "woodmart-font";
  content: "\f129";
  transition: all 0.15s ease;
  transform-origin: center;
}
.dropdown-wrap:not(.disabled).open .dropdown-header::after {
  transform: rotate(180deg);
}

.dropdown-body {
  text-align: start;
  overflow: hidden;
  /* keep good rendering when revealed */
  will-change: opacity, transform;
}

/* City selection step styling */
.city-select-wrapper {
  margin: 20px 0;
  width: 100%;
}

.city-select-wrapper .select2-container {
  width: 100% !important;
}

/* .city-select-wrapper .select2-selection--single {
  height: 45px !important;
  display: flex !important;
  align-items: center !important;
  border-radius: 8px !important;
  border: 1px solid #e5e7eb !important;
} */

/* .city-select-wrapper .select2-selection__arrow {
  height: 43px !important;
} */

#pickup-branches-container .select2-selection__rendered {
  border-radius: 8px !important;

}

.city-next-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.delivery-alert {
    margin-top: 15px;
}

/* Welcome Page Styles */
.welcome-page-container {
    max-width: 660px;
    margin: 40px auto;
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.welcome-page-content.pop-up-content-wrap {
    height: auto;
    min-height: 500px;
}

.welcome-page-content .step-inner {
    padding: 0;
    overflow: visible;
}

.welcome-page-content .step-title {
    border-bottom:0;
    padding-bottom: 0;
    margin-bottom: 20px;
    padding-top: 0;
    justify-content: center;
}

.welcome-page-content .step-title h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--wd-primary-color);
}

.welcome-page-content .btn-wrap {
    position: static;
    padding: 15px 0 0;
    border-top: 2px solid #f0f0f0;
    margin-top: 15px;
}

.welcome-page-content .calendar-carousel-wrap {
    margin-bottom: 20px;
}

@media (max-width: 768px) {

    .alert-box{
      font-size: 12px;
    }
    .welcome-page-container {
        padding: 20px;
        border-radius: 12px;
        margin-top: 0;
    }
    
    .welcome-page-content .step-title h3 {
        font-size: 20px;
    }

}

.selected-dates-wrap .btn,
.btn:not(.btn-style-link).close-popup-btn {
  border-radius: var(--btn-accented-brd-radius);
  color: var(--btn-accented-color);
  box-shadow: var(--btn-accented-box-shadow);
  background-color: var(--btn-accented-bgcolor);
}

.fc .fc-button-primary {
  color: var(--btn-accented-color);
  box-shadow: var(--btn-accented-box-shadow);
  background-color: var(--btn-accented-bgcolor);
}

.subsection-title {
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}

.woocommerce-additional-fields {
  padding-top: 10px;
  border-top: 1px solid #ccc;
}

.form-row label {
  font-size: 13px;
  font-weight: 500;
}

div.woocommerce-shipping-fields:not(:has(> #ship-to-different-address)) {
  display: block;
}

form.woocommerce-checkout h3{
  margin-bottom: 5px;
}
.shipping-address-wrap {
  margin-bottom: 15px;
}

.woocommerce-form-login.hidden-form,
.woocommerce-form-coupon,
.woocommerce-thankyou-order-received {
  background-color: #fff;
}

html .wd-buy-now-btn {
  border: 1px solid;
}

.bundle_form div.bundle_price:before {
  content: "סה״כ:";
}

.bundle_form div.bundle_price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  margin-bottom: 20px !important;
}

.bundle_form div.bundle_price p.price,
.single-product .bundle_form div.bundle_price p.price {
  margin-bottom: 0;
}

body.woocommerce-cart .wd-button-wrapper:has(.delivery-btn) {
  display: none;
}


:is(div.woocommerce-error, ul.woocommerce-error){
  border: 1px solid #fca5a5; /* light red border */
  background-color: #fee2e2; /* very light red background */
  color: #b91c1c; /* dark red text */
  font-weight: 500;
}



.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info {
  border: 0 !important;
}

.woocommerce-message {
  font-weight: 500;
  border: 1px solid var(--green-300) !important;
}

.pickup-address.hide {
  display: none !important;
}

.show-password-input{
  display: none !important;
}

.delivery-fields-toggle.box-wrap{
  text-align: center;
}

#place-picker-container {
  margin-top: 20px;
}

#gm-address-input {
  width: 100%;
  padding: 12px 35px 12px 15px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  position: relative;
  transition: border-color 0.2s;
  border: var(--wd-form-brd-width) solid var(--wd-form-brd-color);
  border-radius: var(--wd-form-brd-radius);
  background-color: var(--wd-form-bg);
  transition: border-color .4s ease;
}

.address-flex{
  position: relative;
}

.address-flex:before{
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  content: "\e913";
  font-family: "icomoon";
  z-index: 2;
}

#gm-address-input:focus {
  border-color: var(--wd-primary-color);
}

.pac-container {
  border-radius: 0;
  margin-top: 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  border: 1px solid #eee;
  z-index: 99999 !important; /* Ensure it shows above the popup */
  font-family: inherit;
}

.pac-item {
  padding: 8px 12px;
  cursor: pointer;
  font-family: inherit;
}

.pac-item:hover {
  background-color: #f9f9f9;
}

.delivery-card.active {
  border-color: var(--wd-primary-color);
  color: #fff;
  background: var(--wd-primary-color);
}

.page-template-page-welcome .wd-page-content,
.page-template-page-welcome .wd-page-wrapper{
  background-color: transparent;
}

.page-template-page-welcome .wd-page-wrapper{min-height: 100vh;}


.step-success .btn-wrap{
  flex-direction: column;
}

/* Selected details summary in checkout */
.selected-details-summary {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.selected-details-summary .details-item {
  display: flex;
  align-items: flex-start;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.woocommerce-billing-fields{
  margin-top: 20px;
}


/* Registration Form Grid */
.reg-step-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 15px;
    row-gap: 0;
    margin-bottom: 20px;
}

.reg-step-1 .reg-terms-wrap,
.reg-step-1 .submit-register-btn {
    grid-column: 1 / -1;
}

@media (max-width: 768px) {
    .reg-step-1 {
        grid-template-columns: 1fr;
    }
}

/* Welcome Page 50/50 Layout */
.welcome-page-layout {
    display: flex;
    width: 100%;
    min-height: 100vh;
    background: #fff;
}

.welcome-page-image-col {
    width: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f5f5f5;
}

.welcome-page-content-col {
    width: 50%;
    padding-block: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-page-layout .welcome-page-container {
    max-width: 660px;
    width: 100%;
    margin: 0 auto;
    box-shadow: none;
    border-radius: 0;

}

@media (max-width: 768px) {
    .welcome-page-layout {
        flex-direction: column;
    }
    
    .welcome-page-image-col {
        width: 100%;
        height: 150px;
        order: -1;
    }
    
    .welcome-page-content-col {
        width: 100%;
        padding-block: 20px
    }
}

.auth-form-group *:is(select,input){
  text-align: right;
}

/* Delivery Button Summary Display */
.delivery-btn-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    border: 1px solid rgba(100, 100, 100, 0.3);
    border-radius: 8px;
    padding: 6px 12px;
}

.delivery-btn-type {
    font-size: 0.8em;
    opacity: 0.9;
    margin-bottom: 2px;
}

.delivery-btn-datetime {
    font-size: 1.05em;
    font-weight: bold;
}

/* Custom Date Pills */
.date-pills-container {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding: 10px 0;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.date-pills-container::-webkit-scrollbar {
  display: none;
}

.calendar-carousel-wrap .calendar-nav-btn {
  transition: opacity 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calendar-carousel-wrap .calendar-nav-btn:hover {
  opacity: 0.7;
  transform: scale(1.1);
}

.calendar-carousel-wrap .calendar-nav-btn:active {
  transform: scale(0.9);
}

button:is(.date-pill) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 calc(25% - 7.5px);
  padding: 20px 10px 10px 10px;
  background-color: #fff;
  border: 1px solid var(--wd-primary-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

button:is(.date-pill):hover:not(.disabled) {
  background-color: #f9f9f9;
  border: 1px solid var(--wd-primary-color);

}

button:is(.date-pill).active {
  background-color: var(--wd-primary-color);
  border-color: var(--wd-primary-color);
  color: #fff;
}

button:is(.date-pill).active:hover{
  background-color: var(--wd-primary-color);
}

button:is(.date-pill).disabled {
  opacity: 0.5;
  background-color: #f3f4f6;
  cursor: not-allowed;
  pointer-events: none;
}

button:is(.date-pill) .pill-date {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

button:is(.date-pill) .pill-day {
  font-size: 12px;
}

.pil-data {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

button:is(.date-pill) .pill-holiday {
  font-size: 10px;
  color: #666;
  font-weight: 500;
  white-space: nowrap;
}

button:is(.date-pill).active .pill-holiday {
  color: #eee;
}

@media (max-width: 768px) {
  button:is(.date-pill) {
    flex: 0 0 calc(33.333% - 6.66px);
  }
}