.th-garan-block,
.th-legal-guarantee {
  margin: 1rem 0;
}

.th-garan-product-slot {
  border-top: 1px solid rgba(18, 28, 39, .12);
  margin: 14px 0 0;
  padding-top: 14px;
  width: 100%;
}

.th-garan-product-slot[hidden] {
  display: none !important;
}

.th-garan-site-fallback {
  margin: 1rem 0;
  width: 100%;
}

.th-garan-product-slot .th-garan-block {
  margin: 0;
}

.th-garan-product-slot [data-th-garan-static] .th-legal-guarantee {
  margin: .75rem 0 0;
}

.th-garan-open,
.th-legal-guarantee-open {
  background: transparent;
  border: 0;
  color: #003399;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.th-garan-product-slot .th-garan-open {
  align-items: flex-start;
  display: inline-flex;
  max-width: 100%;
}

.th-garan-open img {
  display: block;
  height: auto;
  max-width: 238px;
  width: 100%;
}

.th-garan-product-slot .th-garan-open img {
  height: auto !important;
  max-width: 100% !important;
  width: 188px !important;
}

.th-garan-share-row {
  align-items: stretch;
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 1rem;
  width: 100%;
}

.th-garan-share-row > .thps-share {
  display: flex;
  flex: 0 1 178px;
  margin: 0 !important;
}

.th-garan-share-row .thps-share__trigger {
  width: 100%;
}

.th-garan-share-row .th-legal-guarantee {
  display: flex;
  flex: 0 1 214px;
  margin: 0;
  min-width: 0;
}

.th-garan-product-slot .th-legal-guarantee-open,
.th-garan-share-row .th-legal-guarantee-open {
  align-items: center;
  appearance: none;
  background: #fff !important;
  border: 1px solid rgba(29, 60, 36, .24) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  color: #1d3c24 !important;
  display: inline-flex !important;
  font-size: .72rem;
  font-weight: 600;
  gap: .45rem;
  justify-content: flex-start;
  letter-spacing: 0;
  line-height: 1.25;
  max-width: 100%;
  min-height: 46px;
  padding: .5rem .62rem;
  text-align: left;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: normal;
  width: 100% !important;
}

.th-garan-product-slot .th-legal-guarantee-open::before,
.th-garan-share-row .th-legal-guarantee-open::before {
  align-items: center;
  background: #1d3c24;
  border-radius: 50%;
  color: #fff;
  content: "i";
  display: inline-flex;
  flex: 0 0 1.15rem;
  font-family: Georgia, serif;
  font-size: .75rem;
  font-weight: 700;
  height: 1.15rem;
  justify-content: center;
  line-height: 1;
  width: 1.15rem;
}

.th-garan-product-slot .th-legal-guarantee-open:hover,
.th-garan-share-row .th-legal-guarantee-open:hover {
  background: #e9efe7 !important;
  border-color: #aebdab !important;
  color: #132e1a !important;
}

.th-garan-open:focus-visible,
.th-legal-guarantee-open:focus-visible,
.th-garan-close:focus-visible {
  outline: 3px solid #f59c00;
  outline-offset: 3px;
}

.th-garan-dialog {
  border: 0;
  border-radius: 10px;
  box-shadow: 0 18px 70px rgba(0, 0, 0, .28);
  max-height: 92vh;
  max-width: min(92vw, 620px);
  padding: 2.5rem 1.5rem 1.5rem;
}

.th-garan-dialog::backdrop {
  background: rgba(0, 0, 0, .56);
}

.th-garan-close {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  padding: .35rem;
  position: absolute;
  right: .5rem;
  top: .25rem;
}

.th-garan-full-label {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 440px;
  width: 100%;
}

.th-garan-order-section {
  border: 1px solid #d9dee5;
  border-radius: 8px;
  margin: 1rem 0;
  padding: 1rem;
}

.th-garan-order-label + .th-garan-order-label {
  border-top: 1px solid #d9dee5;
  margin-top: 1rem;
  padding-top: 1rem;
}

.th-garan-order-label .th-garan-full-label {
  margin-left: 0;
  max-width: 269px;
}

.th-garan-statement {
  margin-top: 1rem;
}

.th-garan-statement dl {
  display: grid;
  gap: .4rem .8rem;
  grid-template-columns: minmax(9rem, 12rem) minmax(0, 1fr);
  margin: 1rem 0;
}

.th-garan-statement dt {
  font-weight: 700;
}

.th-garan-statement dd {
  margin: 0;
}

.th-legal-guarantee-dialog img {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}

.th-garan-demo {
  background: #fff8d8;
  border: 2px dashed #a66d00;
  margin: 1rem 0;
  max-width: 680px;
  padding: 1rem;
}

.th-garan-demo-note,
.th-garan-bad {
  color: #b32d2e;
  font-weight: 700;
}

.th-garan-good {
  color: #008a20;
  font-weight: 700;
}

.th-garan-cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 1rem 0 2rem;
  max-width: 900px;
}

.th-garan-cards > div {
  background: #fff;
  border: 1px solid #c3c4c7;
  padding: 1rem;
}

.th-garan-cards strong,
.th-garan-cards span {
  display: block;
}

.th-garan-cards strong {
  font-size: 2rem;
}

.th-garan-thps-section {
  border-left: 4px solid #003399;
}

.th-garan-thps-section .thps-data-section__heading {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.th-garan-thps-status {
  background: #f6f7f7;
  border: 1px solid #d63638;
  border-radius: 999px;
  color: #b32d2e;
  flex: 0 0 auto;
  padding: .4rem .75rem;
}

.th-garan-thps-status.is-ready {
  background: #edfaef;
  border-color: #00a32a;
  color: #007017;
}

.th-garan-thps-checks {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
}

.th-garan-variation-fields,
.th-garan-standard-variation {
  background: #f7f9fb;
  border: 1px solid #cfd7e2;
  border-left: 4px solid #003399;
  margin-top: 1rem;
  padding: 1rem;
}

.th-garan-variation-fields__heading {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.th-garan-variation-fields__heading span {
  color: #b32d2e;
  font-weight: 700;
}

.th-garan-variation-fields__heading span.is-ready {
  color: #007017;
}

.th-garan-standard-variation input[type="text"],
.th-garan-standard-variation input[type="url"],
.th-garan-standard-variation input[type="number"],
.th-garan-standard-variation textarea {
  display: block;
  margin-top: .25rem;
  width: 100%;
}

@media (max-width: 782px) {
  .th-garan-product-slot {
    margin-top: 12px;
    padding-top: 12px;
  }

  .th-garan-product-slot .th-garan-open img {
    width: clamp(136px, 38vw, 152px) !important;
  }

  .th-garan-product-slot [data-th-garan-static] .th-legal-guarantee {
    margin-top: .9rem;
  }

  .th-garan-share-row {
    display: grid;
    gap: .5rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .th-garan-share-row > .thps-share,
  .th-garan-share-row .th-legal-guarantee {
    min-width: 0;
    width: 100%;
  }

  .th-garan-share-row .th-legal-guarantee-open {
    font-size: .69rem;
    padding: .42rem .48rem;
  }

  .th-garan-dialog {
    border-radius: 8px;
    max-width: calc(100vw - 28px);
    padding: 2.5rem 1rem 1rem;
  }

  .th-garan-statement dl {
    grid-template-columns: 1fr;
  }

  .th-garan-statement dd + dt {
    margin-top: .5rem;
  }

  .th-garan-thps-section .thps-data-section__heading {
    display: block;
  }

  .th-garan-thps-status {
    display: inline-block;
    margin-top: .75rem;
  }
}

@media (max-width: 360px) {
  .th-garan-share-row .th-legal-guarantee-open {
    font-size: .64rem;
    gap: .3rem;
    padding-inline: .38rem;
  }

  .th-garan-share-row .th-legal-guarantee-open::before {
    flex-basis: 1rem;
    height: 1rem;
    width: 1rem;
  }
}
.th-garan-dialog-title {
  margin: 0 2.5rem 1rem 0;
  font-size: 1.25rem;
  line-height: 1.3;
}
