body.single-post {
    background-color: #f7f7f7 !important;
}

.asm--main-wrapper {
    padding-top: 20px;
}


body.page .asm--main-wrapper {
    padding-top: 100px;
}

.asm--setqty-form {
    width: 800px;
    padding: 50px 0;
    margin: 0 auto;
    /* height: 500px; */
}

.alarnd--limit-tooltip {
    width: 200px;
}

.alarnd--form-buttons {
  text-align: center;
  padding-top: 30px;
  margin-bottom: 25px;
}

.alarnd--select-options-cart-wrap {
    padding: 50px 50px 30px 50px;
    background-color: #fff;
    margin: 0 auto;
    display: block;
}

.alarnd--setqty-heading {
    display: block;
    text-align: center;
    padding-bottom: 20px;
}

.alarnd--total-stock-wrap {
    max-width: 200px;
    margin: 0 auto;
}


.alarnd--submit-btn.loading,
.ml_add_loading.ml_loading {
  position: relative;
  cursor: default;
  text-shadow: none !important;
  color: transparent !important;
  opacity: 1;
  pointer-events: auto;
  -webkit-transition: all 0s linear, opacity 0.1s ease;
  transition: all 0s linear, opacity 0.1s ease;
  -moz-transition: all 0s linear, opacity 0.1s ease;
  -ms-transition: all 0s linear, opacity 0.1s ease;
  -o-transition: all 0s linear, opacity 0.1s ease;
}

.alarnd--submit-btn.loading:before,
.ml_add_loading.ml_loading:before {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  margin: -0.64285714em 0 0 -0.64285714em;
  width: 1.28571429em;
  height: 1.28571429em;
  border-radius: 500rem;
  border: 0.2em solid rgba(0, 0, 0, 0.15);
}

.alarnd--submit-btn.loading:after,
.ml_add_loading.ml_loading:after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  margin: -0.64285714em 0 0 -0.64285714em;
  width: 1.28571429em;
  height: 1.28571429em;
  -webkit-animation: button-spin 0.6s linear;
  animation: button-spin 0.6s linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  border-radius: 500rem;
  border-color: #fff transparent transparent;
  border-style: solid;
  border-width: 0.2em;
  -webkit-box-shadow: 0 0 0 1px transparent;
  box-shadow: 0 0 0 1px transparent;
}


@-webkit-keyframes button-spin {
    from {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
  
    to {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }
  
  @keyframes button-spin {
    from {
      -webkit-transform: rotate(0deg);
      transform: rotate(0deg);
    }
  
    to {
      -webkit-transform: rotate(360deg);
      transform: rotate(360deg);
    }
  }


.asm--history-list {
    background-color: transparent;
    padding: 10px 15px;
    border: 1px solid #e6e8ea;
    border-radius: 3px;
    display: flex;
    flex-flow: wrap;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    -ms-border-radius: 3px;
    -o-border-radius: 3px;
}

.asm--history-list:hover,
.asm--history-list:active,
.asm--history-list:focus {
  background-color: #e6e8ea;
  border-color: #0c0d0e;
}

.asm--history-id {
  font-size: 1rem;
  font-weight: 800;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid;
}

.asm--history-list-body {
  font-size: 14px;
}

.asm--history-line button,
.asm--history-button {
  background-color: #111;
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  padding: 3px 9px;
}

.asm--history-line-buttons {
  margin-top: 10px;
}

.asm--history-line button:nth-child(2),
.asm--history-button:nth-child(2) {
  background-color: #7e7e7e;
}

.asm--history-button {
  text-decoration: none;
}

.asm--history-button:hover,
.asm--history-button:focus, 
.asm--history-button:active {
  color: #fff;
}

.asm--history-line h5 {
  margin: 0;
}

.asm--posts-wrapper .asm--history-tool {
  flex: 0 0 33%;
  max-width: 33%;
}


.asm--overlay-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asm--overlay {
  background: white;
  padding: 20px;
  border-radius: 8px;
  max-width: 1000px;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.asm--bulk-products-form + .asm--overlay-wrapper .asm--overlay {
  max-width: 600px;
}

.asm--overlay-close {
  position: absolute;
  top: 3px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  font-size: 30px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

.alarnd--red-alert {
  background-color: #ff0000;
  color: white;
  width: 100%;
  padding: 15px 20px;
  font-size: 18px;
  margin-top: 15px;
}

.alarnd--red-alert p {
  margin: 0;
}

.alarnd--opt-input-text {
  box-shadow: 0px 0px 0px 1px #000000;
  padding: 5px 6px;
  text-align: center;
  display: block;
  border-radius: 6px;
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  -ms-border-radius: 6px;
  -o-border-radius: 6px;
  line-height: 1.715;
  position: relative;
}

.alarnd--select-opt-wrapper h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 25px;
}

.asm--overlay-content .alarnd--select-opt-header span {
  box-shadow: 0 0 0 2px rgba(0,0,0,0.2);
}

.asm--history-tool-wrap {
  display: none;
}

.asm--history-tool-wrap.active {
  display: block;
}

.asm--history-tools {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 20px;
  border-bottom: 1px solid #e6e8ea;
}

.asm--history-tool {
  border-bottom: 3px solid transparent;
  padding: 10px;
  flex: 0 0 50%;
  max-width: 50%;
  text-align: center;
  cursor: pointer;
}

.asm--history-tool.active {
  border-color: #0c0d0e;
}

.asm--history-tool:hover,
.asm--history-tool:active,
.asm--history-tool:focus {
  background-color: #f1f2f3;
}

.asm--history-header {
  background-color: #0c0d0e;
  color: #fff;
  text-align: center;
  padding: 12px;
}

.asm--history-header h3 {
  font-size: 17px;
  line-height: 1;
  margin: 0;
}

.asm--history-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.asm--history-tools-details {
  padding: 0 15px;
}

.asm--history-body {
  border: 1px solid #e6e8ea;
}

button.asm--history-load-more {
  background-color: #66de93;
  font-weight: 500;
  display: block;
  margin: 40px auto;
}

button.asm--history-load-more {
  background-color: #66de93;
  font-weight: 500;
  display: block;
  margin: 40px auto;
  min-width: 200px;
}

.form-message {
  background-color: #c4edd3;
  padding: 10px;
  margin: 0;
  text-align: center;
  display: none;
}

.form-message.error {
  background-color: #ff0000;
  color: #fff;
}

.form-message p {
  margin: 0;
}

.tshirt-qty-input-field input {
  box-shadow: 0px 0px 0px 1px #c6c6c6;
}

input.three-digit-input.low-stock,
input.three-digit-input.error {
  box-shadow: 0 0 0 2px #ff0000 !important;
}

.alarnd--quanity-number p {
  font-size: 25px;
  font-weight: 800;
  margin: 0;
}


.alarnd--opt-input-text.alarnd--opt-input-addition::after {
  content: "Addition";
  background-color: #66de93;
  color: #fff;
  padding: 3px 0;
  position: absolute;
  top: 0;
  width: calc(100% + 2px);
  left: -1px;
  font-size: 8px;
  text-transform: uppercase;
  transform: translateY(-40%);
  line-height: 1;
  border-radius: 6px 6px 0 0;
}

.alarnd--opt-input-text.alarnd--opt-input-addition {
  box-shadow: 0px 0px 0px 1px #66de93;
}

.alarnd--opt-input-changed .alarnd--opt-input-text {
  background-color: #6dbd8b;
  color: #fff;
}
.asm--old-data-modal .alarnd--opt-input-changed .alarnd--opt-input-text {
  background-color: #ff0000;
}

.asm_stock_data_not_found {
  text-align: center;
  color: #ff0000;
}


button.alarn--trigger-bulk-row {
  border: 1px solid;
}

button.alarn--trigger-bulk-row:hover, button.alarn--trigger-bulk-row:focus, button.alarn--trigger-bulk-row:active {
  background-color: initial;
  color: initial;
}

.asm--bulk-field-wrapper {
  padding: 0;
  display: block;
  margin: 10px;
}

.asm--bulk-selector-overlay.asm--overlay-wrapper {
  display: none;
}

.alarnd--opt-color.asm--bulk-opt-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
}

.asm--action-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 7px;
}

.asm--action-buttons button {
  width: 16px;
  height: 16px;
  padding: 0;
  background-image: url(../images/edit.png);
  background-repeat: no-repeat;
  background-position: center;
  overflow: hidden;
  background-size: contain;
  text-indent: -99999px;
}

button.asm--trigger-bulk-remove {
  background-image: url(../images/delete.png);
}

.asm--bulk-products-form .alarnd--select-options-cart-wrap {
  padding: 50px 50px 50px 50px;
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Disable vertical scrolling */
}



.asm--bulk-products-form .alarnd--select-options {
  max-height: initial;
}

.asm--action-buttons button:hover, .asm--action-buttons button:focus, .asm--action-buttons button:active {
  outline: none;
}

.asm--bulk-selector-overlay .asm--overlay-content h3 {
  font-size: 20px;
  text-align: center;
  margin-bottom: 15px;
  margin-top: 25px;
}

.asm--bulk-selector-overlay .alarnd--submit-btn {
  width: 100%;
}

.asm--quantity-cart-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.alarn--opt-single-row.asm--bulk-opt-row-template::before,
.alarn--opt-single-row.asm--bulk-opt-row-template::after {
  content: "";
  display: block;
  clear: both;
}

.asm--quantity-cart-body .alarnd--opt-color {
  position: relative;
  transform: none;
  right: inherit;
  padding-top: 0;
}

.asm--quantity-cart-wrapper .alarn--opt-single-row.asm--bulk-opt-row-template .alarnd--opt-color.asm--bulk-opt-wrapper {
  margin-right: 0;
  margin-left: 0;
}

.alarnd--qty-stock-field {
  max-width: 215px;
}

.asm--quantity-cart-wrapper .alarnd--qty-stock-field {
  flex: 1 1 50%;
  box-sizing: border-box;
  max-width: inherit;
  text-align: right;
}

.asm--quantity-cart-wrapper .alarnd--qty-stock-field input {
  width: 200px;
}

.asm--quantity-cart-wrapper .asm--quantity-cart-body .alarnd--opt-color {
  flex: 1 1 50%;
  box-sizing: border-box;
  justify-content: flex-start;
}

.asm--quantity-cart-wrapper .alarn--opt-single-row {
  width: 100%;
  flex-flow: row;
}

.asm--history-line h5 a {
    color: #000;
}
.asm--history-wrapper.asm--missing-wrapper.asm--posts-wrapper .asm--history-tools {
    display: none;
}

.asm_rtl {
  direction: rtl;
}

[dir="rtl"] .alarnd--opt-color.asm--bulk-opt-wrapper,
.asm_rtl .alarnd--opt-color.asm--bulk-opt-wrapper {
  flex-direction: row-reverse;
}

[dir="rtl"] .asm--bulk-products-form .alarnd--select-options-cart-wrap,
.asm_rtl .asm--bulk-products-form .alarnd--select-options-cart-wrap {
  padding: 50px 190px 50px 50px;
}

[dir="rtl"] .asm--quantity-cart-wrapper .alarn--opt-single-row.asm--bulk-opt-row-template .alarnd--opt-color.asm--bulk-opt-wrapper,
.asm_rtl .asm--quantity-cart-wrapper .alarn--opt-single-row.asm--bulk-opt-row-template .alarnd--opt-color.asm--bulk-opt-wrapper {
  margin-left: 6px;
  margin-right: 0;
}

[dir="rtl"] .asm--quantity-cart-wrapper .alarn--opt-single-row,
.asm_rtl .asm--quantity-cart-wrapper .alarn--opt-single-row {
  flex-flow: row-reverse;
}

[dir="rtl"] .asm--quantity-cart-wrapper .asm--quantity-cart-body .alarnd--opt-color,
.asm_rtl .asm--quantity-cart-wrapper .asm--quantity-cart-body .alarnd--opt-color {
  justify-content: flex-start;
}

[dir="rtl"] .asm--overlay-close,
.asm_rtl .asm--overlay-close {
  right: inherit;
  left: 10px;
}