.elsklip-coupon {
  display: flex;
  flex-direction: column;
  align-items: start;
}

.elsklip-coupon__container {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 10px 0;
}

.elsklip-coupon__flag {
  padding: 5px 10px 5px 10px;
  border-radius: 5px;
  display: inline-block;
  background: red;
  position: relative;
}

.elsklip-coupon__flag--flaggable {
  margin-right: 7px;
}

.elsklip-coupon__flag--flaggable:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 15px 15px 15px;
  border-color: transparent transparent var(--flag-bg) transparent;
  transform: rotate(0deg) translateX(50%);
}

.elsklip-coupon__flag--flaggable:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: var(--flag-bg) transparent transparent transparent;
  transform: rotate(0deg) translateX(50%);
}

.elsklip-coupon input[type=checkbox] {
  cursor: pointer;
  display: none;
}

.elsklip-coupon__text {
  display: inline;
  position: relative;
  padding-left: 32px;
}

.elsklip-coupon label {
  display: inline;
  align-items: center;
  cursor: pointer;
  gap: 5px;
  margin-bottom: 0;
  padding-bottom: 0;
}

.elsklip-coupon__checkmark {
  width: 17px;
  height: 17px;
  border-radius: 3px;
  background: var(--checkbox-color, white);
  border: 1px solid var(--checkbox-border-color, #333);
  position: absolute;
  top: 50%;
  left: 7px;
  transform: translateY(-50%);
  display: block !important;
}

.elsklip-coupon input[type=checkbox]:checked + .elsklip-coupon__checkmark {
  background: var(--checkbox-color, blue);
  border-color: var(--checkbox-color, blue);
}

.elsklip-coupon.active:not(.uncheckable) input[type=checkbox]:checked + .elsklip-coupon__checkmark {
  border-radius: 100%;
  background: var(--checkbox-color, currentColor);
  border-color: var(--checkbox-color, currentColor);
}

.elsklip-coupon input[type=checkbox]:checked + .elsklip-coupon__checkmark span {
  width: 10px;
  height: 6px;
  background: transparent;
  border-bottom: 2px solid var(--tick-color, #fff);
  border-left: 2px solid var(--tick-color, #fff);
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-65%) rotate(-45deg);
  display: block !important;
}

.elsklip-coupon-cart {
  width: 140px;
  border: 1px solid #ccc;
  border-radius: 10px;
  text-align: center;
}

.elsklip-coupon-cart-title {
  font-size: 14px;
  font-weight: 600;
  color: green;
}

.elsklip-coupon-cart-discount {
  font-size: 14px;
  font-weight: 600;
}

.elsklip-coupon__short {
  padding-left: 10px;
}

.elsklip-coupon__limit {
  cursor: pointer;
  display: flex;
  align-items: center;
}

.elsklip-coupon__more {
  padding-left: 5px;
}

.elsklip-coupon__more:hover {
  text-decoration: underline !important;
}

h2.Polaris-Text--root.Polaris-Text--headingSm.Polaris-Text--break {
  width: 100%;
}

div.Polaris-Banner > div.Polaris-Box > div.Polaris-BlockStack > div.Polaris-Box > div.Polaris-InlineStack > div.Polaris-InlineStack:nth-child(1) {
  width: 100%;
}

.ck.ck-editor {
  width: 99%;
}

.elsklip-more {
  width: 100%;
}

.elsklip-modal-open {
  overflow: hidden;
}

.elsklip-modal-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999997;
}

.elsklip-modal-content {
  position: fixed;
  background-color: #fefefe;
  padding: 25px 0 20px 20px;
  max-height: 90vh;
  width: 95%;
  max-width: 800px;
  overflow-y: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 999998;
  display: flex;
  flex-direction: column;
}

.elsklip-modal-content-inner {
  flex-grow: 1;
  overflow-y: auto;
  color: #000000;
  padding: 0 20px 0 0;
}

.elsklip-modal-content-inner h2, .ck-editor__editable h2 {
  font-size: 35px !important;
}

.elsklip-modal-content-inner h3, .ck-editor__editable h3 {
  font-size: 25px !important;
}

.elsklip-modal-content-inner h4, .ck-editor__editable h4 {
  font-size: 18px !important;
}

.ck-powered-by {
  display: none;
}

.elsklip-close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  margin: -25px -7px 0 0;
  font-size: 30px;
  font-weight: bold;
  z-index: 999999;
}

.elsklip-close:hover,
.elsklip-close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}