/* Structure-first template: 1, 5, 6, 7, 8, 9, 10 */

/* Header-structure */
.avisbls-structure-first .avisbls-init,
.avisbls-structure-first .avisbls-radio,
.avisbls-structure-first .avisbls-hide {
  display: none;
}

.avisbls-structure-first .avisbls-block {
  margin-bottom: 10px;
}

.avisbls-structure-first .avisbls-watermark {
  font-size: 13px;
  line-height: 120%;
}

.avisbls-structure-first .avisbls-watermark span {
  color: red;
  font-weight: bold;
}

.avisbls-structure-first .avisbls-title,
.avisbls-structure-first .avisbls-title-line {
  display: flex;
  align-items: center;
  justify-content: start;
}

.avisbls-structure-first .avisbls-title-line {
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.avisbls-structure-first .avisbls-title .avisbls-title-icon,
.avisbls-structure-first .avisbls-title-line .avisbls-title-icon {
  font-size: 16px;
  padding-right: 4px;
}

.avisbls-structure-first .avisbls-title .avisbls-block-title,
.avisbls-structure-first .avisbls-title-line .avisbls-block-title {
  width: fit-content;
  line-height: 120%;
  position: relative;
}

.avisbls-structure-first .avisbls-title-line .avisbls-block-title::before,
.avisbls-structure-first .avisbls-title-line .avisbls-block-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 100%;
  height: 1px;
  background-color: #c8c8c8;
}

.avisbls-structure-first
  .avisbls-title-line
  .avisbls-block-title.hide-line::before,
.avisbls-structure-first
  .avisbls-title-line
  .avisbls-block-title.hide-line::after {
  display: none;
}

.avisbls-structure-first .avisbls-title-line .avisbls-block-title::after {
  left: 100%;
  margin-left: 10px;
}

.avisbls-structure-first .avisbls-title-line .avisbls-block-title::before {
  right: 100%;
  margin-right: 10px;
}

/* Body-structure */
.avisbls-structure-first .avisbls-offer-view {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.avisbls-structure-first .avisbls-offer {
  margin-top: 10px;
  border-radius: 10px;
}

.avisbls-structure-first .avisbls-offer-content {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

.avisbls-template-9 .avisbls-offer-content,
.avisbls-template-7 .avisbls-offer-content {
  align-items: flex-start !important;
  flex-direction: column;
  gap: 4px;
}

.avisbls-structure-first .avisbls-offer-content .offer-box {
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.avisbls-structure-first .avisbls-offer-content .offer-box-header {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 16px;
}

.avisbls-structure-first .avisbls-offer-content .offer-box-header-wrapper {
  display: flex;
  justify-content: start;
  flex-direction: column;
  gap: 8px;
}

.avisbls-structure-first .avisbls-offer-content .offer-box-header .offer-des {
  padding: 0px 10px;
  width: max-content;
  height: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.avisbls-template-13 .avisbls-offer-content .offer-box-header .offer-des {
  padding: 0px;
}

.avisbls-structure-first .avisbls-offer-content .offer-box .offer-price {
  display: inline-flex;
  align-items: center;
}

/* quantity */
.avisbls-structure-first .offer-quantity {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  height: 30px;
  background-color: #f9fafb;
  border-color: #e5e7eb;
  border-width: 1px;
  border-style: solid;
  border-radius: 6px;
  padding: 5px 2px;
}

.avisbls-structure-first .btn-plus,
.avisbls-structure-first .btn-minus {
  width: fit-content;
  margin: auto 0;
  padding: 0px;
  border: none;
  background-color: inherit;
}

.avisbls-structure-first .btn-plus .polaris-icon,
.avisbls-structure-first .btn-minus .polaris-icon {
  display: block;
  height: 20px;
  width: 20px;
  max-height: 100%;
  max-width: 100%;
  margin: auto;
}

.avisbls-structure-first .offer-quantity .btn-disabled {
  color: #c1bfbf;
}

.avisbls-structure-first .offer-quantity-text {
  text-align: center;
  font-weight: 600;
  width: 30px;
  width: fit-content;
  padding-inline: 5px;
  position: relative;
}

.avisbls-structure-first .offer-quantity-text::before,
.avisbls-structure-first .offer-quantity-text::after {
  content: "";
  height: 100%;
  width: 1px;
  background-color: #c8c8c8;
  position: absolute;
}

.avisbls-structure-first .offer-quantity-text::before {
  left: 0px;
}

.avisbls-structure-first .offer-quantity-text::after {
  right: 0px;
}

/* footer */
.avisbls-structure-first .avisbls-footer-wrapper {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.avisbls-structure-first .avisbls-footer-wrapper .avisbls-footer-label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 4px;
  width: 50%;
}

.avisbls-structure-first .avisbls-footer-wrapper .avisbls-footer-label svg {
  width: 20px;
}

.avisbls-structure-first .avisbls-footer-wrapper .avisbls-footer-label span {
  margin: 0px;
}

.avisbls-structure-first
  .avisbls-footer-wrapper
  .avisbls-footer-price
  .avisbls-total-label {
  font-weight: 600;
}

/* Header-template */
.avisbls-template-10 .avisbls-title,
.avisbls-template-10 .avisbls-title-line {
  clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 10% 100%);
  padding: 5px 35px;
  width: fit-content;
  max-width: 100%;
  width: 100%;
}

.avisbls-template-10 .avisbls-title-line {
  margin: auto;
}

.avisbls-template-6 .avisbls-title-line .avisbls-block-title::before {
  margin-right: 22px;
}

.avisbls-template-5 .avisbls-title-line .avisbls-block-title::before {
  margin-right: 30px;
}

/* body-template */
.avisbls-template-10 .avisbls-offer {
  margin-top: 0px;
  border-radius: 10px;
}

.avisbls-template-8 .avisbls-offer-view {
  align-items: flex-start;
  grid-template-columns: 1fr 16px;
}

.avisbls-template-7 .avisbls-offer-view {
  align-items: flex-end;
  flex-direction: row-reverse;
}

.avisbls-template-6 .avisbls-offer-content {
  padding: 18px 14px;
  display: block;
  cursor: pointer;
  border-style: solid;
}
.avisbls-template-13 .avisbls-offer-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.avisbls-template-7 .avisbls-offer-content .offer-box {
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0px;
}

.avisbls-template-13 .avisbls-offer-content .offer-box {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0px;
}

.avisbls-template-9 .avisbls-offer-content .offer-box {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.avisbls-template-10 .avisbls-offer-content .offer-box {
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 8px;
}

.avisbls-template-7 .avisbls-offer-content .offer-box-header,
.avisbls-template-9 .avisbls-offer-content .offer-box-header {
  gap: 8px;
}

.avisbls-template-7 .avisbls-offer-content .offer-box-header {
  align-items: flex-start;
  flex-direction: column-reverse;
}
.avisbls-template-13 .avisbls-offer-content .offer-box-header {
  align-items: flex-start;
  flex-direction: column;
  gap: 0px;
}

.avisbls-template-7 .avisbls-offer-content .offer-box .offer-price {
  align-items: flex-end;
  flex-direction: column-reverse;
  gap: 8px;
}

.avisbls-template-9 .avisbls-offer-content .offer-box .offer-price {
  align-items: flex-end;
  flex-direction: column;
  gap: 8px;
}
.avisbls-template-13 .avisbls-offer-content .offer-box .offer-price {
  align-items: flex-end;
  flex-direction: column;
}

.avisbls-template-10 .avisbls-offer-content .offer-box .offer-price {
  flex-direction: row-reverse;
  align-items: center;
}

.avisbls-template-5 .avisbls-offer-radio,
.avisbls-template-8 .avisbls-offer-radio {
  display: block;
  position: relative;
  cursor: pointer;
  font-size: 22px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.avisbls-template-8 .avisbls-offer-radio {
  margin-top: 2px;
}

.avisbls-template-5 .avisbls-offer-radio .checkmark,
.avisbls-template-8 .avisbls-offer-radio .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 18px;
  width: 18px;
  border-radius: 4px;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.2);
}

.avisbls-template-5
  input.avisbls-radio:checked
  + label
  .avisbls-offer-radio
  .checkmark,
.avisbls-template-8
  input.avisbls-radio:checked
  + label
  .avisbls-offer-radio
  .checkmark {
  background-color: #000000;
}

.avisbls-template-5 .avisbls-offer-radio .checkmark:after,
.avisbls-template-8 .avisbls-offer-radio .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.avisbls-template-5
  input.avisbls-radio:checked
  + label
  .avisbls-offer-radio
  .checkmark:after,
.avisbls-template-8
  input.avisbls-radio:checked
  + label
  .avisbls-offer-radio
  .checkmark:after {
  display: block;
}

.avisbls-template-5 .avisbls-offer-radio .checkmark:after,
.avisbls-template-8 .avisbls-offer-radio .checkmark:after {
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

.avisbls-template-7 .avisbls-offer-radio {
  margin-bottom: 3px;
}

.avisbls-template-6 .avisbls-offer-radio {
  margin-left: 2px;
}

.avisbls-template-1 .avisbls-offer-radio,
.avisbls-template-6 .avisbls-offer-radio,
.avisbls-template-7 .avisbls-offer-radio,
.avisbls-template-9 .avisbls-offer-radio,
.avisbls-template-10 .avisbls-offer-radio,
.avisbls-template-13 .avisbls-offer-radio {
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #fff;
  -webkit-box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2);
  background-color: #ffffff;
}

.avisbls-template-13 .avisbls-offer-radio {
  -webkit-box-shadow: 0 0 0 2px #ff51874d;
  box-shadow: 0 0 0 2px #ff51874d;
  width: 15px;
  height: 15px;
}

.avisbls-template-6 .avisbls-offer-label {
  height: 100px;
}

.avisbls-template-10 .avisbls-offer-label {
  padding: 18px 14px;
  display: block;
  cursor: pointer;
  background: #fefafe;
  border-style: solid;
}

.avisbls-template-1 .avisbls-offer-label,
.avisbls-template-5 .avisbls-offer-label,
.avisbls-template-7 .avisbls-offer-label,
.avisbls-template-8 .avisbls-offer-label,
.avisbls-template-9 .avisbls-offer-label {
  padding: 18px 14px;
  display: block;
  cursor: pointer;
  border: 1px solid #d5d6f6;
  border-style: solid;
  min-height: 90px;
}

.avisbls-template-13 .avisbls-offer-label {
  padding: 10px;
  display: block;
  cursor: pointer;
  border: 1px solid #d5d6f6;
  border-style: solid;
}

.avisbls-template-9 .avisbls-offer-label {
  width: 90%;
}

/* Badge */
.avisbls-template-13 .avisbls-offer-content .offer-badge {
  position: absolute;
  top: -19px;
  right: 0px;
}
.avisbls-template-5 .avisbls-offer-content .offer-badge {
  position: absolute;
  top: -27px;
  right: -7px;
}
.avisbls-template-13 .avisbls-offer-content .offer-badge span,
.avisbls-template-5 .avisbls-offer-content .offer-badge span {
  width: 120px;

  text-align: center;
  -webkit-box-orient: vertical;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.avisbls-template-13 .avisbls-offer-content .offer-badge span {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.avisbls-template-13 .avisbls-offer-content .offer-badge span::before,
.avisbls-template-5 .avisbls-offer-content .offer-badge span::before {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 0 0 8px 6px;
  top: 0;
  left: 0;
  transform: translate(-100%);
  filter: brightness(0.7);
  opacity: 0.7;
}
.avisbls-template-13 .avisbls-offer-content .offer-badge span::after,
.avisbls-template-5 .avisbls-offer-content .offer-badge span::after {
  content: "";
  position: absolute;
  border-style: solid;
  border-width: 0 6px 8px 0;
  top: 0;
  right: 0;
  transform: translate(100%);
  filter: brightness(0.7);
  opacity: 0.7;
}

.avisbls-template-7
  .avisbls-offer-content
  .offer-box-header
  .offer-wrapper-tag {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.avisbls-template-7 .avisbls-offer-content .offer-box-header .offer-badge {
  padding: 0px 10px;
  border-radius: 20px;
  width: max-content;
  height: auto;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.avisbls-template-8 .avisbls-offer-view .offer-badge {
  position: absolute;
  right: -15px;
  bottom: -21px;
}

.avisbls-template-8 .avisbls-offer-content .offer-badge {
  position: absolute;
  right: -15px;
  bottom: -18px;
}

.avisbls-template-8 .avisbls-offer-view .offer-badge span {
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0px 0px;
  width: 100px;
  line-height: 25px;
}
.avisbls-template-8 .avisbls-offer-content .offer-badge span {
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0px 0px;
  width: 100px;
  line-height: 25px;
}

.avisbls-template-10 .avisbls-offer-content .offer-badge {
  position: absolute;
  bottom: -20px;
  right: -15px;
}

.avisbls-template-10 .avisbls-offer-content .offer-badge span {
  width: 100px;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0px 0px;
  clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 10% 100%);
}
.avisbls-template-10 .avisbls-offer-view .offer-badge {
  position: absolute;
  bottom: -20px;
  right: -15px;
}

.avisbls-template-10 .avisbls-offer-view .offer-badge span {
  width: 100px;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0px 0px;
  clip-path: polygon(0% 0%, 90% 0%, 100% 100%, 10% 100%);
}

.avisbls-template-1 .avisbls-offer-content .offer-badge,
.avisbls-template-6 .avisbls-offer-content .offer-badge,
.avisbls-template-9 .avisbls-offer-content .offer-badge {
  position: absolute;
  top: -19px;
  right: -15px;
}

.avisbls-template-6 .avisbls-offer-content .offer-badge {
  top: -14px;
  right: -10px;
}

.avisbls-template-6 .avisbls-offer-content .offer-badge {
  width: 80px;
  height: 100%;
}

.avisbls-template-9 .avisbls-offer-content .offer-badge {
  top: -37px;
  right: -55px;
}

.avisbls-template-1 .avisbls-offer-content .offer-badge-wrapper,
.avisbls-template-6 .avisbls-offer-content .offer-badge-wrapper,
.avisbls-template-9 .avisbls-offer-content .offer-badge-wrapper {
  width: 80px;
  height: 100%;
  max-height: 80px;
  border-top-left-radius: 50%;
  border-bottom-left-radius: 50%;
  border-radius: 50% !important;
}

.avisbls-structure-first.avisbls-template-6 .avisbls-offer-content {
  overflow: hidden;
}

.avisbls-template-1 .avisbls-offer-content .offer-badge .offer-badge-text,
.avisbls-template-6 .avisbls-offer-content .offer-badge .offer-badge-text,
.avisbls-template-9 .avisbls-offer-content .offer-badge .offer-badge-text {
  position: absolute;
  width: 60px;
  text-align: center;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 2;
  white-space: wrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0px 0px;
  right: 4px;
  top: 5px;
  line-height: 16px;
}

.avisbls-template-6 .avisbls-offer-content .offer-badge .offer-badge-text {
  right: 10px;
  top: 24px;
}

.avisbls-template-9 .avisbls-offer-content .offer-badge .offer-badge-text {
  right: 4px;
  top: 20px;
}

.avisbls-template-9 .avisbls-offer-content .offer-badge svg {
  width: 100px;
  height: 100px;
}

/* variant */
.avisbls-template-8 .avisbls-box-variant,
.avisbls-template-10 .avisbls-box-variant {
  margin-bottom: 8px;
}

.avisbls-structure-first .avisbls-box-variant {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 4px;
  grid-column: 1 / -1;
}

.avisbls-structure-first .variant-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2px;
}

.avisbls-structure-first .variant-wrapper span.avisbls-variant-index {
  line-height: 1;
  padding-bottom: 7px;
  display: block;
  width: 15px;
}

.avisbls-structure-first .variant-selection {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: flex-end;
  gap: 4px;
}

.avisbls-structure-first .variant-selection p {
  padding-bottom: 4px;
}

.avisbls-structure-first .variant-selection .variant-select-element {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid #c8c8c8;
  border-radius: 4px;
  outline: none;
  box-shadow: none;
  padding: 4px;
  font-size: 12px;
}
.avisbls-structure-first .variant-selection .selection-item {
  width: 100%;
}
