/* ALERT BAR */
.ecom__alert--bar {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
  font-size: 14px;
  line-height: 14px;
}

p.ecom__alert--bar > .ecom__alert--svg svg {
  max-height: 20px;
}

p.ecom__alert--bar > .ecom__alert--svg svg {
  width: auto;
}

p.ecom__alert--bar > .ecom__alert--text {

}

@media only screen and (min-width: 768px) {
  p.ecom__alert--bar {
    text-align: left;
    width: auto;
    margin-bottom: 8px;
  }
}

/* MIN/MAX QUANTITY */
p.ecom__alert--bar.ecom__alert--minmax {
  min-height: 0;
  margin: 10px 0 20px;
}
p.ecom__alert--bar.ecom__alert--minmax span.ecom__alert--text:last-child {
  margin-left: 6px;
}

/* SHIPPING */
p.ecom__alert--shipping{
  max-width: 340px;
}
p.ecom__alert--shipping > .ecom__alert--text {
  width: calc(100% - 50px);
  text-align: left;
  margin: 0 0 0 5px;
}
p.ecom__alert--shipping > .ecom__alert--svg svg {
  max-height: 15px;
  vertical-align: bottom;
}
p.ecom__alert--shipping > .ecom__alert--svg:last-child {
  display: none;
}
@media only screen and (min-width: 768px) {
  p.ecom__alert--shipping > .ecom__alert--text {
    width: calc(100% - 50px);
    margin: 0 10px;
  }
  p.ecom__alert--shipping > .ecom__alert--svg {
    max-height: 20px;
  }
  p.ecom__alert--shipping > .ecom__alert--svg:last-child {
    display: block;
  }
}

/* OUT OF STOCK */
p.ecom__alert--outofstock > .ecom__alert--text {
  width: calc(100% - 80px);
  text-align: center;
  margin: 0 10px;
}

p.ecom__alert--outofstock .ecom__alert--svg svg {
  max-width: 20px;
}

@media only screen and (min-width: 768px) {
  p.ecom__alert--outofstock > .ecom__alert--text {
    width: auto;
    text-align: left;
    margin: 0 8px;
  }
}

/* SPECIAL OFFER */
p.ecom__alert--specialoffer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  align-content: center;
  font-size: 14px;
  flex-wrap: wrap;
  max-width: 400px;
  padding: 10px;
  border: 1px solid var(--blue);
  border-radius: 7px;
}
p.ecom__alert--specialoffer > .ecom__alert--svg,
p.ecom__alert--specialoffer > .ecom__alert--svg svg {
  max-height: 50px;
  width: auto;
}
p.ecom__alert--specialoffer > * {
  flex: 1;
}
p.ecom__alert--specialoffer > :nth-child(2) {
  flex: 5;
}
p.ecom__alert--specialoffer > :nth-child(2) > :first-child {
  text-align: left;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  color: var(--blue);
  font-size: var(--font-size-body);
  display: block;
  width: 100%;
}
p.ecom__alert--specialoffer > :nth-child(2) > :last-child {
  font-size: 14px;
  line-height: 16px;
  text-align: left;
  display: block;
  position: relative;
}
p.ecom__alert--specialoffer > :nth-child(2) a {
  color: var(--blue);
  text-decoration: underline;
}
p.ecom__alert--specialoffer > :nth-child(3) {
  display: none;
  text-align: right;
}
@media only screen and (min-width: 768px) {
  p.ecom__alert--specialoffer > :nth-child(2) {
    flex: 4;
  }
  p.ecom__alert--specialoffer > :nth-child(3) {
    display: block;
  }
  p.ecom__alert--specialoffer > :nth-child(2) > :first-child,
  p.ecom__alert--specialoffer > :nth-child(2) > :last-child {
    text-align: center;
  }
}


/* SALES FINAL  */
p.ecom__alert--salesfinal {
  padding: 15px 0 13px;
  border-style: solid;
  border-color: #cc4644;
  border-width: 1px 0 1px 0;
  align-items: center;
}

p.ecom__alert--salesfinal .ecom__alert--text {
  text-align: center;
  width: auto;
  margin: 0 8px;
  color: var(--red);
}

@media only screen and (min-width: 768px) {
  p.ecom__alert--salesfinal {
    border: 0;
    padding: 0;
  }
}


/* ALERT BADGE */
p.ecom__alert--badge {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: flex-start;
  margin-bottom: 8px;
  font-size: var(--font-size-small);
}

p.ecom__alert--badge > .ecom__alert--svg {
  height: 40px;
  width: 40px;
}

p.ecom__alert--badge > .ecom__alert--svg svg {
  max-height: 40px;
  width: auto;
}

p.ecom__alert--badge > .ecom__alert--text {
  padding: 2px 10px 2px 16px;
  border-radius: 0 15px 15px 0;
  border-style: solid;
  border-width: 1px 1px 1px 0;
  margin: 0 0 0 -10px;
  font-size: 14px;
}
@media only screen and (min-width: 768px) {
  p.ecom__alert--badge {
    font-size: var(--font-size-body);
  }
}


/* RX Alert */
.ecom__alert--rxonly {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  align-content: center;
  font-size: 14px;
  margin-bottom: 8px;
  color: #222222BF;
}
.ecom__alert--rxonly svg {
  display: block;
  position: relative;
  height: 22px;
  margin-right: 10px;
  width: 60px;
}
.ecom__alert--rxonly .ecom__alert--details p {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 15px;
}
.ecom__alert--rxonly .ecom__alert--details p a {
  display: block;
  color: var(--red);
}


/* Backorder Alert */
.ecom__alert--backorder {
  max-width: 400px;
  padding: 8px;
  border: 1px solid var(--red);
  border-radius: 2px;
  position: relative;
  display: block;
  margin-bottom: 8px;
}
.ecom__alert--backorder .ecom__alert--headline{
  margin: 0 0 8px 0;
  color: var(--red);
  text-transform: uppercase;
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
  margin-bottom: 5px;
}
.ecom__alert--backorder .ecom__alert--details{
  color: #222222BF;
  text-transform: none;
  font-size: 16px;
  line-height: 17px;
  padding: 0;
  margin: 0;
}


.ecom__alert--buffer {
  max-width: 400px;
  padding: 8px;
  border: 1px solid var(--red);
  border-radius: 2px;
  position: relative;
  display: block;
  margin-bottom: 8px;
}
.ecom__alert--buffer .ecom__alert--headline {
  margin: 0 0 8px 0;
  margin-bottom: 8px;
  color: var(--red);
  text-transform: uppercase;
  font-size: var(--font-size-small);
  line-height: var(--line-height-body);
  margin-bottom: 5px;
}
.ecom__alert--buffer .ecom__alert--details{
  color: #222222BF;
  text-transform: none;
  font-size: 16px;
  line-height: 17px;
  padding: 0;
  margin: 0;
}