/* Astra Rabaty 0.8.26 r2 - product/listing coupon presentation.
 * The whole visible sentence comes from "Komunikaty kampanii na froncie".
 * {code} and price placeholders are only styled, never duplicated with an
 * automatic module prefix/suffix. */
.astra-rabaty-product-code {
  --astra-rabaty-code-accent: #2f9e66;
  box-sizing: border-box;
  color: var(--astra-rabaty-code-accent);
}
.astra-rabaty-product-code__message {
  min-width: 0;
  font-weight: 600;
}
.astra-rabaty-product-code__price {
  font-weight: 800;
  white-space: nowrap;
}
.astra-rabaty-product-code__current-price {
  white-space: nowrap;
}
.astra-rabaty-product-code__copy {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  line-height: inherit;
  vertical-align: baseline;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.astra-rabaty-product-code__copy:hover,
.astra-rabaty-product-code__copy:focus {
  color: inherit;
  text-decoration-thickness: 2px;
  outline: none;
}
.astra-rabaty-product-code__copy.is-copied {
  opacity: .72;
}
.astra-rabaty-product-code__copy-status {
  display: none;
}
.astra-rabaty-product-code--listing {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 20px;
  margin: 0 0 2px;
  padding: 1px 4px;
  border: 1px solid var(--astra-rabaty-code-accent);
  font-size: 11px;
  line-height: 16px;
  overflow: hidden;
}
.astra-rabaty-product-code--listing .astra-rabaty-product-code__message {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.astra-rabaty-product-code--product {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  margin: .35rem 0;
  padding: .4rem .6rem;
  border: 1px solid var(--astra-rabaty-code-accent);
  font-size: .9rem;
  line-height: 1.25;
}
.astra-rabaty-product-code--product .astra-rabaty-product-code__price {
  font-size: 1rem;
}
@media (max-width: 767px) {
  .astra-rabaty-product-code--listing {
    font-size: 10.5px;
    padding-left: 3px;
    padding-right: 3px;
  }
}
