/*-------------------------------------------------------------
1. Mixin
--------------------------------------------------------------*/
:root {
  --vuqw-primary-color: #172a68;
  --vuqw-secondary-color: #f25a87;
  --vuqw-border-color: #cccccc;
  --vuqw-shadow-color: #36b97e;
}

.vuqw_hidden {
  display: none !important;
}

.vuqw-flex {
  display: flex;
}

.vuqw_flex_row_reverse {
  display: flex;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.vuqw_flex_align_items_center {
  align-items: center;
}

.vuqw_flex_align_items_start {
  align-items: flex-start;
}

.vuqw_flex_align_items_end {
  align-items: flex-end;
}

.vuqw_flex_justify_content_center {
  justify-content: center;
}

.vuqw_flex_justify_content_start {
  justify-content: flex-start;
}

.vuqw_flex_justify_content_end {
  justify-content: flex-end;
}

.mt {
  margin-top: 30px;
}

.mb {
  margin-bottom: 30px;
}

.mt-0 {
  margin-top: 0;
}

.mb-0 {
  margin-bottom: 0;
}

.vuqw_hidden_line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vuqw_toggle {
  cursor: pointer;
  display: inline-flex;
  margin: 5px 0;
  align-items: center;
}
.vuqw_toggle .vuqw_toggle_input {
  position: absolute;
  visibility: hidden;
  box-shadow: none !important;
  outline: none !important;
}
.vuqw_toggle .vuqw_toggle_input:checked + .vuqw_toggle_switch {
  background: var(--vuqw-primary-color);
}
.vuqw_toggle .vuqw_toggle_input:checked + .vuqw_toggle_switch::before {
  left: 23px;
}
.vuqw_toggle .vuqw_toggle_switch {
  display: inline-block;
  background: rgba(10, 9, 89, 0.08);
  border-radius: 16px;
  width: 46px;
  height: 26px;
  position: relative;
  vertical-align: middle;
  transition: background 0.25s;
  margin-right: 15px;
}
.vuqw_toggle .vuqw_toggle_switch::before {
  display: block;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 3px;
  transition: all 0.25s ease;
  content: "";
}

/*-------------------------------------------------------------
2. Frontend Render
--------------------------------------------------------------*/
.vuqw-buymore-savemore .vuqw-badge img {
  margin-right: 10px;
}
.vuqw-buymore-savemore .vuqw-badge-text {
  flex: 1;
}
.vuqw-buymore-savemore .vuqw-badge-inner {
  border: 2px dashed var(--vuqw-primary-color);
  border-radius: 10px;
  padding: 15px;
}

.vuqw_wraper_qty {
  min-width: 130px;
  margin-right: 10px;
}
.vuqw_wraper_qty.standard_show .vuqw-tier-qty {
  display: none;
}
.vuqw_wraper_qty.standard_show div.quantity {
  display: inline-flex !important;
}
.vuqw_wraper_qty:not(.standard_show) .quantity_wrap, .vuqw_wraper_qty:not(.standard_show) div.quantity {
  display: none !important;
}
.vuqw_wraper_qty .wrapper-tier-action {
  position: relative;
}
.vuqw_wraper_qty .tier-value {
  padding: 5px 0;
  border: 0;
  border-bottom: 2px solid var(--e-global-color-border);
  width: 100%;
  border-radius: 0;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
}
.vuqw_wraper_qty .tier-value::after {
  content: "";
  width: 0px;
  height: 0px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--vuqw-primary-color);
}
.vuqw_wraper_qty .show_qty_input {
  color: var(--vuqw-primary-color);
  font-size: 14px;
  display: block;
  margin-top: 10px;
  cursor: pointer;
}
.vuqw_wraper_qty .tier-table {
  position: absolute;
  z-index: 99;
  top: 100%;
  left: 0;
  width: 600px;
  margin-top: 0;
}

.tier-table {
  /*! width: 100%; */
  background-color: #fff;
  box-shadow: 0 0 5px 2px rgba(21, 22, 23, 0.2);
  border-radius: 5px;
  width: 100%;
  max-width: 100vw;
  word-break: initial;
  margin-bottom: 30px;
  margin-top: 30px;
}
.tier-table .vuqw-row {
  display: flex;
  padding: 15px 20px;
  grid-gap: 10px;
}
.tier-table .vuqw-row:not(:last-child) {
  border-bottom: 1px solid #ebebeb;
}
@media only screen and (max-width: 1024px) {
  .tier-table .vuqw-row {
    display: block;
  }
  .tier-table .vuqw-row .vuqw-row-price {
    display: none;
  }
}
.tier-table .vuqw-row > div {
  flex: 1 1 0;
}
.tier-table .vuqw-row .vuqw-row-qty, .tier-table .vuqw-row .vuqw-item-qty {
  flex: 0 0 50%;
}
.tier-table .vuqw-row.vuqw-item {
  cursor: pointer;
  transition: all 0.15s linear;
}
.tier-table .vuqw-row.vuqw-item.actived, .tier-table .vuqw-row.vuqw-item:hover {
  background-color: var(--vuqw-shadow-color);
  color: #fff;
}
.tier-table .vuqw-row.vuqw-head, .tier-table .vuqw-row.vuqw-foot {
  font-weight: 600;
  color: #222;
}

.tier-line {
  margin-top: 30px;
}
.tier-line .vuqw-range-discount {
  list-style: none;
  margin: 0 0 30px 0;
  font-weight: 600;
  font-size: 14px;
}
.tier-line .vuqw-range-discount .vuqw-percent-discount {
  margin-right: 10px;
  display: inline-block;
}
@media only screen and (max-width: 1024px) {
  .tier-line .vuqw-range-discount .vuqw-percent-discount {
    display: block;
    margin: 0 0 5px 0;
  }
}
.tier-line .vuqw-range-discount .vuqw-percent-discount span {
  padding: 5px 10px;
  background-color: var(--vuqw-shadow-color);
  color: #fff;
  display: inline-block;
}
.tier-line .vuqw-range-discount .vuqw-tier-discount {
  display: block;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ebebeb;
  cursor: pointer;
}
.tier-line .vuqw-range-discount .vuqw-tier-discount.actived .vuqw-percent-discount span {
  background-color: var(--vuqw-primary-color);
}
.tier-line .vuqw-range-discount .vuqw-discount-text {
  color: var(--vuqw-secondary-color);
  margin-right: 5px;
}

.woocommerce-grouped-product-list-item .vuqw_wraper_qty .tier-table {
  left: unset;
  right: 0;
}

/*-------------------------------------------------------------
3. Quantity Breaks - Modern Style
--------------------------------------------------------------*/
.quantity-breaks {
  /* Badge */
  --qb-badge-font-size: 13px;
  --qb-badge-line-height: 1.6;
  --qb-badge-border-radius: 3px;

  /* Label / Caption / Price */
  --qb-label-font-size: 16px;
  --qb-caption-font-size: 14px;
  --qb-price-font-size: 16px;
  --qb-compare-price-font-size: 14px;

  /* Layout */
  --qb-border-width: 2px;
  --qb-border-radius: 10px;
  --qb-column-gap: 8px;
  --qb-row-gap: 10px;

  /* Colors */
  --qb-accent-color: 28, 32, 29;
  --qb-background-color: 255, 255, 255;
  --qb-text-color: 28, 32, 29;
  --qb-badge-bg-color: 28, 32, 29;
  --qb-badge-text-color: 255, 255, 255;

  margin: 20px 0;
}

/* Container */
.quantity-breaks-container {
  position: relative;
  display: grid;
  align-items: flex-start;
  grid-template-columns: repeat(1, 1fr);
  column-gap: var(--qb-column-gap);
  row-gap: var(--qb-row-gap);
}

.quantity-breaks-container input[type="radio"] {
  opacity: 0;
  width: 0;
  height: 0;
  cursor: pointer;
  position: absolute;
  margin: 0;
  padding: 0;
}

/* Item */
.quantity-break {
  padding: 11px;
  cursor: pointer;
  border-radius: var(--qb-border-radius);
  background: rgba(var(--qb-accent-color), 0.02);
  border: solid var(--qb-border-width) rgba(var(--qb-accent-color), 0.3);
  position: relative;
  transition: all 0.2s ease;
  display: block;
  box-sizing: border-box;
}

.quantity-breaks--normal.quantity-breaks--show-indicator .quantity-break {
  padding-left: 45px;
}

.quantity-breaks-container input[type="radio"]:checked + .quantity-break {
  background: rgba(var(--qb-accent-color), 0.1);
  border: solid var(--qb-border-width) rgb(var(--qb-accent-color));
}

@media (hover: hover) {
  .quantity-break:hover {
    background: rgba(var(--qb-accent-color), 0.15);
    border: solid var(--qb-border-width) rgb(var(--qb-accent-color));
  }
}

/* Radio indicator dot */
.quantity-breaks--show-indicator .quantity-break::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: solid 2px rgba(var(--qb-accent-color), 0.3);
  box-sizing: border-box;
  background: transparent;
}

.quantity-breaks--show-indicator .quantity-breaks-container input[type="radio"]:checked + .quantity-break::before {
  border: solid 2px rgb(var(--qb-background-color));
  background: rgb(var(--qb-accent-color));
  box-shadow: 0 0 0 1px rgb(var(--qb-accent-color));
}

.quantity-breaks-container label:first-of-type{
    display:none;
}

/* Badge */
.quantity-break__badge {
  position: absolute;
  top: -16px;
  right: -10px;
  transform: rotate(3deg);
  margin: 0;
  padding: 2px 10px;
  font-weight: 700;
  font-size: var(--qb-badge-font-size);
  line-height: var(--qb-badge-line-height);
  border-radius: var(--qb-badge-border-radius);
  white-space: nowrap;
}

.quantity-break__badge.color-accent-1 {
  color: rgb(var(--qb-badge-text-color));
  background-color: rgb(var(--qb-badge-bg-color));
}

/* Layout */
.quantity-break__image-and-content {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.quantity-break__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
  width: 100%;
}

.quantity-break__left > span,
.quantity-break__right > span {
  display: block;
}

/* Left */
.quantity-break__left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 6px;
  text-align: left;
}

.quantity-break__left .quantity-break__label {
  display: flex;
  align-items: center;
  column-gap: 6px;
  row-gap: 6px;
  font-size: var(--qb-label-font-size);
  font-weight: 700;
  line-height: 1;
}

.quantity-break__label-text {
  line-height: 1;
}

.quantity-break__caption {
  font-size: var(--qb-caption-font-size);
  line-height: 1;
  color: rgba(var(--qb-text-color), 0.7);
}

.quantity-break__caption span {
  display: inline;
}

/* Right */
.quantity-break__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  row-gap: 6px;
  column-gap: 6px;
  text-align: right;
}

.quantity-break__price {
  font-size: var(--qb-price-font-size);
  font-weight: 700;
  line-height: 1;
  color: rgb(var(--qb-accent-color));
}

.quantity-break__compare-price {
  font-size: var(--qb-compare-price-font-size);
  line-height: 1;
  text-decoration: line-through;
  color: rgba(var(--qb-text-color), 0.5);
}

/* WooCommerce price styling overrides */
.quantity-break__price .woocommerce-Price-amount,
.quantity-break__compare-price .woocommerce-Price-amount {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

.quantity-break__price .woocommerce-Price-amount bdi,
.quantity-break__compare-price .woocommerce-Price-amount bdi {
  font-size: inherit !important;
  font-weight: inherit !important;
  color: inherit !important;
}

/* Responsive */
@media only screen and (max-width: 480px) {
  .quantity-break {
    padding: 14px;
  }
  
  .quantity-breaks--normal.quantity-breaks--show-indicator .quantity-break {
    padding-left: 40px;
  }
  
  .quantity-breaks--show-indicator .quantity-break::before {
    left: 20px;
  }
}