:root {
  --svg-use-size: 1em;
  --svg-use-color: currentColor;
}
.bu-offer-badge {
  --site-link-hover-style: none;
  --site-link-color: #fff;
  --site-link-back: #b21111;
  --site-link-hover-color: #fff;
  --site-link-hover-back: #008e18;
  position: absolute;
  right: -6px;
  bottom: 1em;
  padding: 0.3em 0.5em;
  pointer-events: all;
  width: 55%;
  font-size: 0.84em;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 0.6em;
  border-radius: 4px;
  box-shadow: 0 0 4px #00000044;
  z-index: 50;
}
.bu-offer-badge .offer-value {
  font-weight: 500;
}
.bu-offer-badge.off {
  opacity: 0.7;
}
:root {
  --bu-cards: 2;
  --bu-names-columns: 1fr;
  --bu-prices-columns: auto auto;
  --bu-stores-columns: auto auto;
  --bu-image-width: 7.2em;
}
.bu-offers-showcase .category {
  font-size: 1.5em;
  font-weight: 500;
  margin: 1em 0;
}
.bu-offers-showcase .offers {
  display: grid;
  grid-template-columns: repeat(var(--bu-cards), 1fr);
  gap: 0.6em;
  margin-bottom: 1em;
}
.bu-offers-showcase .offer {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1em;
  border-radius: 4px;
  padding: 0.8em;
  box-shadow: 0 0 6px #00000044;
  background: #ffffff;
  border: 1px solid #ababab;
  cursor: pointer;
  transition: background 0.5s;
}
.bu-offers-showcase .offer:hover {
  background: #fef3e5;
}
.bu-offers-showcase .offer.selected {
  background: #fff5db;
}
.bu-offers-showcase .imaged {
  width: var(--bu-image-width);
}
.bu-offers-showcase .imaged img {
  width: 100%;
  height: auto;
  display: block;
}
.bu-offers-showcase .info {
  display: grid;
  grid-template-columns: 1fr auto auto;
  grid-template-areas: "name disc disc" "name price price" "left left favorites";
  gap: 0;
}
.bu-offers-showcase .info .names {
  grid-area: name;
  display: grid;
  grid-template-columns: var(--bu-names-columns);
  gap: 0.2em;
}
.bu-offers-showcase .info .names .name {
  font-size: 1.3em;
  font-weight: 500;
  color: #118fc6;
}
.bu-offers-showcase .info .names .size {
  font-size: 0.76em;
  color: #8c8989;
}
.bu-offers-showcase .info .discounts {
  grid-area: disc;
  display: flex;
  gap: 0.6em;
  justify-content: end;
  font-size: 0.9em;
  align-items: baseline;
}
.bu-offers-showcase .info .discounts .discount {
  font-size: 1.1em;
  font-weight: 600;
  color: #c46867;
}
.bu-offers-showcase .info .discounts .max {
  color: #d1a6a6;
}
.bu-offers-showcase .info .prices {
  grid-area: price;
  display: grid;
  gap: 0 1em;
  align-items: baseline;
  font-size: 0.93em;
  grid-template-columns: var(--bu-prices-columns);
}
.bu-offers-showcase .info .prices .price {
  position: relative;
  font-size: 1.3em;
  font-weight: 500;
}
.bu-offers-showcase .info .prices .price.orig {
  font-size: 0.93em;
  font-weight: 200;
}
.bu-offers-showcase .info .prices .price.orig:after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  background-color: #0000003d;
  transform: translateY(-50%) rotate(-10deg);
}
.bu-offers-showcase .info .stores {
  grid-area: left;
  display: grid;
  gap: 0.6em;
  align-items: baseline;
  grid-template-columns: var(--bu-stores-columns);
}
.bu-offers-showcase .info .stores .store.off {
  color: #000;
  font-weight: 500;
}
.bu-offers-showcase .info .stores .left {
  color: #000;
  font-weight: 500;
}
.bu-offers-showcase .info .stores .comment {
  font-size: 0.8em;
  color: #979b9e;
}
.bu-offers-showcase .info .favorites {
  cursor: pointer;
}
.bu-offers-showcase .info .favorites .fa-heart-o {
  color: #b6b6b6;
}
.bu-offers-showcase .info .favorites .fa-heart {
  color: #c60e0e;
  text-shadow: 1px 1px 1px #9b9b9b6e;
}
.bu-offers-showcase .bu-offers-ruler {
  position: sticky;
  bottom: 0.5em;
  background: #fff5e4;
  border: 5px solid #e7d4af;
  border-radius: 16px;
  box-shadow: 1px 1px 6px #1b39516e;
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0.3em -0.3em;
  font-size: 0.9em;
}
.bu-offers-showcase .ruler {
  --site-link-color: #a34646;
  --site-link-hover-color: #ff7509;
  --site-link-hover-style: none;
  font-size: 0.9em;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border: 1px solid #b6b6b6;
  border-radius: 12px;
}
.bu-offers-showcase .ruler > div {
  padding: 0.3em 1em;
}
.bu-offers-showcase .ruler .send {
  padding: 0.5em 1.5em;
  background: #953d16;
  color: #fff;
}
.bu-offers-showcase .ruler .send:hover {
  background: #a90000;
}
@media only screen and (min-width: 0) and (max-width: 767px) {
  .bu-offers-showcase {
    --bu-cards: 1;
    --bu-prices-columns: 1fr;
    --bu-image-width: 6em;
  }
  .bu-offers-showcase .ruler {
    font-size: 1.2em;
  }
}
.bu-sender-form {
  --spd-back: #c2c6c8c9;
  --spd-border: 1px solid #919191;
  --spd-shadow: 0 0 4px #00000044;
  --spd-max-height: 99vh;
  --spd-z-index: 999;
  --spd-body-back: #efefef;
}
.bu-sender-form .dialog-body {
  position: relative;
  padding-bottom: 2em;
  font-size: 0.8em;
}
.bu-sender-form .dialog-body .form-actions {
  bottom: -1.5em;
  position: sticky;
  background: #dadada;
  border: 1px solid #c1c1c1;
  padding: 0.5em;
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 0 0.4em;
  margin: 0;
}
.bu-sender-form [data-drupal-selector="edit-cancel"] {
  display: none;
}
.bu-sender-form .mail-offers {
  margin: 1em 0;
}
.bu-sender-form .webform-fields {
  margin: 1em 0;
  display: grid;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas: "name email phone" "comment comment comment";
  gap: 0.6em;
  background: #e9e9e9;
  padding: 0.5em;
  border: 1px solid #d1d1d1;
  border-radius: 2px;
}
.bu-sender-form .webform-fields .form-item {
  margin: 0;
}
.bu-sender-form .webform-fields .form-item-webform-name {
  grid-area: name;
}
.bu-sender-form .webform-fields .form-item-webform-email {
  grid-area: email;
}
.bu-sender-form .webform-fields .form-item-webform-phone {
  grid-area: phone;
}
.bu-sender-form .webform-fields .form-item-webform-comment {
  grid-area: comment;
}
@media only screen and (min-width: 0) and (max-width: 767px) {
  .bu-sender-form {
    font-size: 1.2em;
  }
  .bu-sender-form .webform-fields {
    grid-template-columns: 1fr;
    grid-template-areas: "name" "email" "phone" "comment";
  }
}
