.at-a-glance {
    background: #efefef;
    padding: 1em 1em 0.25em 1em;
    margin: 0 0 1em 0;
}

.woocommerce-tabs.wc-tabs-wrapper .wd-nav-wrapper.wd-nav-tabs-wrapper.text-center {
    text-align: left;
    margin-bottom: 20px;
}
.wd-nav[class*="wd-style-underline-reverse"]>li:is(:hover,.current-menu-item,.wd-active,.active)>a.wd-nav-link:after {
    width: 100%;
}
.wd-nav[class*="wd-style-underline-reverse"] .wd-nav-link:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--wd-primary-color);
    transition: width 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

@media (max-width: 1024px) {
    .tabs-layout-tabs {
        display: block !important;
    }
}

.cart-addon-option-update {
    font-weight: 600;
    font-size: 0.7rem;
    margin: 0.5em 0 1em 0;
    cursor: pointer;
}
.cart-addon-option-update:hover {
    color: #333333;
}

.single-product .wd-accordion-title {
    padding: 15px 0px;
    text-transform:uppercase;
}

.single-product .wd-accordion-title h4, .wd-accordion-title p {
    margin: 0px !important;
    padding: 0 !important;
}


.single-product .wd-accordion-item p:empty {
  display: none;
}



div.quantity input[type="button"]:hover {
    background-color: var(--btn-accented-bgcolor) !important;
    border-color: var(--btn-accented-bgcolor) !important;
}
.ajax_result_messages {
  margin-top: 1em;
}
#make_enquiry span.elementor-button-text {
    text-transform: uppercase;
    font-size: 0.75rem;
    line-height: 1;
    font-weight: 700;
}

/* a.single_add_to_cart_button.button {
    margin-top: 20px;
} */

#product_hire_cart,
#make_an_enquiry,
#product_buy,
#product_hire,
#hire_or_buy_area,
.button.addon-details,
.product_popup.button,
button.single_add_to_cart_button.button,
.confirm_purchase {
    border-radius: 25px;
}
.lds-facebook {
    display: block;
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
  }
  .lds-facebook div {
    display: inline-block;
    position: absolute;
    left: 8px;
    width: 16px;
    background: #ddd;
    animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
  }
  .lds-facebook div:nth-child(1) {
    left: 8px;
    animation-delay: -0.24s;
  }
  .lds-facebook div:nth-child(2) {
    left: 32px;
    animation-delay: -0.12s;
  }
  .lds-facebook div:nth-child(3) {
    left: 56px;
    animation-delay: 0;
  }
  @keyframes lds-facebook {
    0% {
      top: 8px;
      height: 64px;
    }
    50%, 100% {
      top: 24px;
      height: 32px;
    }
  }
  
.addon_options_wrapper {
    position: relative;
    z-index: 490;
}
.product-addons-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    overflow-x: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(255,255,255,.98);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    perspective: 800px;
    -webkit-perspective: 800px;
    transform: translateY(100%) translateZ(0);
    -webkit-transform: translateY(100%) translateZ(0);
    -webkit-transition: transform .4s ease,opacity .4s ease,visibility .4s ease;
    transition: transform .4s ease,opacity .4s ease,visibility .4s ease;
    padding: min(15%, 100px);
}
.product-modal-open {
    opacity: 1;
    visibility: visible;
    pointer-events: visible;
    transform: none;
    -webkit-transform: none;
}

.product-addons-modal-close {
    position: absolute;
    top: auto;
    right: 0;
    font-size: 0;
    height: 100px;
    width: 100px;
    z-index: 4;
    cursor: pointer;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -webkit-transition: transform .25s ease .4s;
    transition: transform .25s ease .4s;
}
.product-modal-open .product-addons-modal-close {
    transform: none;
    -webkit-transform: none;
}

.product-addons-modal-close:after, .product-addons-modal-close:before {
    content: "";
    width: 40px;
    height: 3px;
    position: absolute;
    right: 50%;
    top: 50%;
    margin-top: -2px;
    margin-right: -20px;
    display: inline-block;
    background-color: #2d2a2a;
    -webkit-transition: all .25s ease;
    transition: all .25s ease;
}
.product-addons-modal-close:before {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.product-addons-modal-close:after {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.product-addons-modal-wrapper {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.addon-tab ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1em;
    line-height: 1.4em;
    font-size: 1rem;
    margin: 0 0 1em 0;
}
.checkbox_label {
  display: flex;
  align-items: center;
  gap: 1em;
}
.addon-tab ul li label {
    margin: 0px;
}
.qtyfield {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
    column-gap: 8px;
    max-width: 180px;
}
.product_popup.activebtn {
  border: 1px solid #383e50;
}
.addon-buttons {
  gap: 20px !important;
}
p.addon-description {
  color: #888888;
  margin-bottom: 0px;
}

span.addon_item_title {
  font-weight: 600;
}
.addon_options_wrapper .amount {
  color: var(--wd-title-color);
}

/* Hide the default checkbox */
.addon_checkbox {
  appearance: none; /* Removes default checkbox styling */
  -webkit-appearance: none; /* Ensures compatibility with Safari */
  -moz-appearance: none; /* Ensures compatibility with Firefox */
  width: 24px;
  min-width: 24px;
  height: 24px;
  border: 2px solid #ccc; /* Border color */
  background-color: #fff; /* Background color */
  border-radius: 0px; /* Optional: rounded corners */
  cursor: pointer;
  display: inline-block;
  position: relative;
  transition: all 0.3s ease; /* Smooth transition */
}

/* Checked state */
.addon_checkbox:checked {
  background-color: var( --btn-accented-bgcolor ); /* Change background color when checked */
  border-color: var( --btn-accented-bgcolor ); /* Change border color when checked */
}

/* Add a checkmark for the checked state */
.addon_checkbox:checked::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 8px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Optional: Add hover and focus effects */
.addon_checkbox:hover {
  border-color: var( --btn-accented-bgcolor );
}

.addon_checkbox:focus {
  outline: 0px;
  outline-offset: 0px;
}


/* button.addon_confirm:hover {
  color: #fff;
  background-color: var(--wd-primary-color);
  border-color: var(--wd-primary-color);
} */

.wd-products.wd-products {
    align-items: stretch;
}
.wd-products.wd-products .wd-product {
    display: flex;
}
@media (max-width: 992px) {
    .addon-tab ul li {
      align-items: flex-start;
    }
    .product-addons-modal-wrapper {
      position: relative;
      width: 98%;
      margin: 0 auto;
      padding-top: 70px;
    }
    .addon-tab ul li label {
      margin-top: -4px;
    }
    .product-addons-modal {
      padding: min(15%, 25px);
    }
    button.single_add_to_cart_button.button.addon_confirm {
      margin-bottom: 20px;
    }
 }