/*Woocommerce Clean Styles*/
#commercegurus-pdp-gallery-wrapper {
  z-index: 0;
}
.single-product div.product .variations_button {
  padding-top: 0 !important;
}
.single-product div.product form.cart {
  margin-bottom: 0 !important;
  padding: 0 !important;
}
#codFormModal {
  z-index: 999999;
}

.cod-woocommerce-cart-table {
  width: 100% !important;
}
input[type="text"] {
  padding-block: 0px !important;
  padding-inline: 0px !important;
}
.cod-modal-content .form-group label {
  margin-bottom: 0.4rem;
  margin-top: 0.7rem;
  text-align: left;
}
.variations_form table.variations {
  margin-bottom: 0px !important;
}
.variations_form table.variations tr {
  margin: 0px;
}
#codFormModal input[type="text"]:focus,
#codFormModal input[type="password"]:focus,
#codFormModal input[type="date"]:focus,
#codFormModal input[type="datetime"]:focus,
#codFormModal input[type="datetime-local"]:focus,
#codFormModal input[type="month"]:focus,
#codFormModal input[type="week"]:focus,
#codFormModal input[type="email"]:focus,
#codFormModal input[type="number"]:focus,
#codFormModal input[type="search"]:focus,
#codFormModal input[type="tel"]:focus,
#codFormModal input[type="time"]:focus,
#codFormModal input[type="url"]:focus {
  background-repeat: no-repeat;
  width: 100%;
}
.cod-modal-content input,
.cod-modal-content select {
  background-repeat: no-repeat;
}
/*Variation Plugins*/
.variations_form table.variations td.woo-variation-items-wrapper {
  display: flex;
}
a.reset_variations {
  margin-left: 5px;
}
/*Loader*/
.loader_container {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  left: 0;
  top: 0;
  align-items: center;
  justify-content: center;
  display: none;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 999999;
}
/* Modal styles */

/*Container*/
.cod-modal-content {
  color: #000;
  max-width: 520px;
  width: 100%;
  position: relative;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  border-radius: 9px;
  box-shadow: 0 10px 20px 0 rgb(0, 0, 0, 0.2);
  border: 0px solid rgba(0, 0, 0, 1);
}
/*Tables*/
.cod-woocommerce-cart-table {
  border-collapse: separate;
}
.cod-modal-content td.cod-product-subtotal {
  text-align: end;
}
button.remove-product {
  border: 0px;
  padding: 0;
  height: 19px;
  width: 19px;
  margin: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}
button.remove-product:hover {
  background: #fff0;
}
.cod-product-remove {
  text-align: right;
  max-width: 10px;
  padding: 0px;
}
.cod-woocommerce-cart-table {
  margin: 0 0 10px;
}
.cod_table,
.cod-woocommerce-cart-table {
  padding: 8px 12px 5px;
  background-color: #ebebeb;
  border-radius: 6px;
  font-size: 1rem;
  margin-bottom: 10px;
}
.cod_table .woocommerce-Price-amount {
  font-weight: 700;
}
.cod_td {
  display: flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  justify-content: space-between;
}
.cod_td.total {
  border-top: 1px solid #c7c7c7;
  margin-top: 6px;
  padding-top: 5px;
}
/*Cart*/
.cod-cart td {
  vertical-align: middle;
  padding: 5px;
  border: 0px;
}
td.cod-product-img {
  min-width: 50px;
}
table.cod-woocommerce-cart-table tbody > tr:nth-child(odd) > td,
table:not(.has-background) tbody tr:nth-child(2n) td {
  background-color: transparent !important;
}
.cod-product-img {
  max-width: 37px;
  position: relative;
}
.cod-product-img img {
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 5px;
}
.cod-cart-quantity {
  position: absolute;
  top: 0;
  width: 21px;
  height: 21px;
  display: flex;
  color: #fff;
  background: #000;
  line-height: 0;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  border-radius: 50%;
  padding-bottom: 2px;
}
/*Modal*/
.cod-modal h3 {
  font-weight: 600;
  margin: 10px 0px;
}
.cod-modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.cod-modal-content {
  background-color: #fefefe;
  margin: 2% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.cod-modal-close {
  position: absolute;
  color: #aaa;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
}

.cod-modal-close:hover,
.cod-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
@media (max-width: 580px) {
  .cod-modal-content {
    width: 90%;
  }
}
@media (max-width: 480px) {
  .cod-modal-content {
    width: fit-content;
  }
  .cod-cart .cod-product-name {
    font-size: 13px;
    font-weight: 400;
  }
}
/*Form*/
.cod-modal-content .form-group {
  display: flex;
  flex-direction: column;
}
.cod-modal-content input,
.cod-modal-content select {
  padding: 6px 15px !important;
  border-radius: 3px !important;
  border: 1px solid silver !important;
  background-color: #fff !important;
  color: #000 !important;
  display: block;
  margin-bottom: 0;
  height: 47px;
  font-size: 0.95em;
  box-sizing: border-box;
  width: 100%;
  background-size: 15px !important;
  background-repeat: no-repeat;
  background-position: 8px center !important;
  padding-left: calc(22px + 15px) !important;
}
.cod-modal-content .cod_terms label {
  display: flex !important;
  align-items: center !important;
}
input[type="checkbox"],
input[type="radio"] {
  width: auto !important;
  padding: 0px !important;
}
.cod-modal-content input:focus {
  outline: none;
}
.cod-modal-content input .form-group label {
  margin-top: 5px;
}
.cod-modal-content #shipping-methods label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cod-modal-content .shipping-method input {
  height: 20px;
}
.cod_terms label {
  display: inline;
}
.cod_terms {
  margin: 5px 0px;
}
.cod_terms input {
  height: 20px;
  float: left;
  margin-top: 0px;
  margin-right: 5px;
}
.cod-modal-content .shipping-method {
  margin: 4px 0px;
  padding: 2px 14px;
  border-radius: 6px;
  border: 1px solid silver;
  background-color: #fff;
}
#codFormModal #checkout_form #shipping-methods label {
  margin: 0px;
}
/*Menu Cart*/

button#cod_menu_cart {
  padding: 0;
  margin: 0;
  background: none;
  border: 0px;
  cursor: pointer;
  display: flex;
  outline: none;
}
.not_cart_items {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.not_cart_items svg {
  width: 100%;
  max-width: 100px;
  height: auto;
}
/*Button Payment*/
.cod_container_button_order {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
/*Clean Shortcode*/
.shortcode_add_to_cart p {
  margin: 0;
}
.shortcode_add_to_cart .woocommerce-variation-add-to-cart > p {
  display: none;
}
.shortcode_add_to_cart .cod_container_button_order {
  margin-top: 5px;
}

/*Button to Checkout*/
.modal_button_checkout {
  display: block;
  text-align: center;
  text-decoration: auto;
}
.cod-modal-button {
  margin-top: 10px;
}

/*Clean styles*/
button.remove-product {
  padding: 0px !important;
  margin: 0px;
  background: #fff0;
}

/*Discount*/
.discount-amount {
  color: #22a73a;
}

.qo_variable_value {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
ul.shipping-methods-list {
  list-style: none;
}

#checkout_form .form-group a {
  margin-left: 0.4em;
}
