.entry-content .thesor-testlab-hfc,
.thesor-testlab-hfc {
  --hfc-navy: #06111f;
  --hfc-cyan: #4de2ff;
  --hfc-muted: #c3d6e5;
  box-sizing: border-box;
  display: grid;
  grid-template: "intro product" auto "offer product" auto "actions product" auto / minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  gap: 13px 22px;
  padding: clamp(17px, 2.4vw, 24px);
  color: #fff;
  background: linear-gradient(132deg, #0e223d, #081a2f 68%, var(--hfc-navy));
  border: 1px solid #4de2ff70;
  border-radius: 20px;
  box-shadow: 0 12px 30px #06111f30;
  font: 400 14px/1.45 system-ui, sans-serif;
}

.thesor-testlab-hfc *, .thesor-testlab-hfc *::before, .thesor-testlab-hfc *::after { box-sizing: border-box; }
.thesor-testlab-hfc [hidden] { display: none; }
.thesor-testlab-hfc :is(p, h2, figure, ul) { margin: 0; }
.thesor-testlab-hfc .hfc-intro { grid-area: intro; }

.thesor-testlab-hfc .hfc-partners {
  margin-bottom: 7px;
  color: var(--hfc-cyan);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .10em;
}

.thesor-testlab-hfc .hfc-partners span { color: var(--hfc-muted); margin-inline: .12em; }

.thesor-testlab-hfc #thesor-hfc-headline {
  color: #fff;
  font: 400 clamp(29px, 3vw, 39px)/1.08 Anton, Impact, 'Arial Narrow', sans-serif;
  letter-spacing: .005em;
  text-wrap: balance;
}

.thesor-testlab-hfc .hfc-description {
  margin-top: 8px;
  color: var(--hfc-muted);
  font-size: 14px;
  line-height: 1.4;
}

.thesor-testlab-hfc .hfc-product {
  grid-area: product;
  align-self: center;
  position: relative;
  display: flex;
  align-items: end;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 1 / 1.04;
  overflow: hidden;
  border: 1px solid #90abbe55;
  border-radius: 13px;
  background: #102640;
}

.thesor-testlab-hfc .hfc-product::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  background: linear-gradient(transparent, #06111f);
  pointer-events: none;
}

.thesor-testlab-hfc .hfc-product-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
  border-radius: 0;
}

.thesor-testlab-hfc .hfc-product-caption {
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 4px;
  width: 100%;
  padding: 8px 11px;
  color: #fff;
  font: 650 11px/1.2 system-ui, sans-serif;
  text-align: left;
}

.thesor-testlab-hfc .hfc-brand { display: block; width: 36px; height: auto; }
.thesor-testlab-hfc .hfc-offer {
  grid-area: offer;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 11px;
}

.thesor-testlab-hfc .hfc-discount {
  display: flex;
  align-items: baseline;
  gap: 7px;
  color: var(--hfc-cyan);
  font: 400 clamp(18px, 2.3vw, 23px)/1 Anton, Impact, 'Arial Narrow', sans-serif;
  white-space: nowrap;
}

.thesor-testlab-hfc .hfc-discount strong { font: inherit; font-size: clamp(38px, 4.5vw, 54px); }
.thesor-testlab-hfc .hfc-terms { color: #e4faff; font-size: 13px; font-weight: 650; }
.thesor-testlab-hfc .hfc-actions { grid-area: actions; min-width: 0; }
.thesor-testlab-hfc .hfc-countries { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 14px; }

.thesor-testlab-hfc .hfc-flags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  list-style: none;
  padding: 0;
  gap: 6px;
}

.thesor-testlab-hfc .hfc-flags li { margin: 0; padding: 0; }
.thesor-testlab-hfc .hfc-flag {
  display: block;
  width: 24px;
  height: 18px;
  background-image: url('flags.webp');
  background-size: 168px 18px;
  border-radius: 2px;
  outline: 1px solid #ffffff36;
}

.thesor-testlab-hfc .hfc-flag-uk { background-position: 0 0; }
.thesor-testlab-hfc .hfc-flag-de { background-position: -24px 0; }
.thesor-testlab-hfc .hfc-flag-fr { background-position: -48px 0; }
.thesor-testlab-hfc .hfc-flag-it { background-position: -72px 0; }
.thesor-testlab-hfc .hfc-flag-pl { background-position: -96px 0; }
.thesor-testlab-hfc .hfc-flag-cz { background-position: -120px 0; }
.thesor-testlab-hfc .hfc-flag-sk { background-position: -144px 0; }

.thesor-testlab-hfc .hfc-country-control:not([hidden]), .thesor-testlab-hfc .hfc-code-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
  color: var(--hfc-muted);
  font-size: 12px;
}

.thesor-testlab-hfc .hfc-country-control:not([hidden]) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  width: 100%;
}

.thesor-testlab-hfc .hfc-country-control label { margin: 0; color: inherit; font: inherit; }
.thesor-testlab-hfc .hfc-country-control select { width: 100%; min-width: 0; }
.thesor-testlab-hfc .hfc-code-row { margin-top: 4px; }

.thesor-testlab-hfc :is(select, .hfc-copy) {
  width: auto;
  min-width: 0;
  min-height: 44px;
  padding: 4px 10px;
  border: 1px solid #4de2ff68;
  border-radius: 7px;
  background: #0e223d;
  color: #fff;
  font: 650 13px/1.2 system-ui, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

.thesor-testlab-hfc select { max-width: 100%; color-scheme: dark; appearance: auto; }
.thesor-testlab-hfc .hfc-copy { cursor: pointer; color: var(--hfc-cyan); }
.thesor-testlab-hfc .hfc-copy:hover { background: #183d58; }
.thesor-testlab-hfc .hfc-code-row code {
  padding: 3px 6px;
  border: 0;
  background: #17364b;
  color: #fff;
  font: 750 14px/1.2 system-ui, sans-serif;
  letter-spacing: .06em;
  user-select: all;
}

.thesor-testlab-hfc .hfc-feedback:not(.hfc-feedback-error) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.thesor-testlab-hfc .hfc-feedback-error { margin-top: 3px; color: #fff; font-size: 12px; }

.thesor-testlab-hfc #thesor-hfc-shop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-top: 9px;
  padding: 8px 11px;
  color: var(--hfc-navy);
  background: var(--hfc-cyan);
  border-radius: 8px;
  font: 800 12px/1.2 system-ui, sans-serif;
  letter-spacing: .035em;
  text-decoration: none;
  box-shadow: none;
}

.thesor-testlab-hfc #thesor-hfc-shop:hover { background: #a4efff; color: var(--hfc-navy); text-decoration: none; }
.thesor-testlab-hfc .hfc-shop span:last-child { font-size: 18px; }
.thesor-testlab-hfc a::after { content: none; }
.thesor-testlab-hfc :is(a, select, button):focus-visible { outline: 3px solid #b8fff3; outline-offset: 3px; }
.thesor-testlab-hfc .hfc-disclosure { margin-top: 6px; color: var(--hfc-muted); font: 400 11px/1.35 system-ui, sans-serif; }
.thesor-testlab-hfc .hfc-market-links { margin-top: 8px; padding-inline-start: 1.3em; }
.thesor-testlab-hfc .hfc-market-links a { color: var(--hfc-cyan); }

@media (max-width: 660px) {
  .entry-content .thesor-testlab-hfc, .thesor-testlab-hfc {
    grid-template: "intro intro" auto "offer product" auto "actions actions" auto / minmax(0, 1.65fr) minmax(76px, 1fr);
    gap: 8px;
    padding: 13px;
    border-radius: 15px;
  }
  .thesor-testlab-hfc #thesor-hfc-headline { font-size: clamp(25px, 7vw, 34px); }
  .thesor-testlab-hfc .hfc-partners { font-size: 10px; letter-spacing: .06em; }
  .thesor-testlab-hfc .hfc-description { font-size: 13px; }
  .thesor-testlab-hfc .hfc-offer { display: block; align-self: center; }
  .thesor-testlab-hfc .hfc-discount { gap: 5px; font-size: 17px; }
  .thesor-testlab-hfc .hfc-discount strong { font-size: 43px; }
  .thesor-testlab-hfc .hfc-terms { margin-top: 3px; font-size: 12px; }
  .thesor-testlab-hfc .hfc-product { align-self: stretch; min-height: 72px; aspect-ratio: auto; border-radius: 8px; }
  .thesor-testlab-hfc .hfc-product-caption { justify-content: flex-end; padding: 4px; }
  .thesor-testlab-hfc .hfc-product-caption span { display: none; }
  .thesor-testlab-hfc .hfc-brand { width: 22px; }
  .thesor-testlab-hfc .hfc-countries { gap: 8px; }
}

@media (min-width: 355px) and (max-width: 660px) {
  .thesor-testlab-hfc .hfc-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 6px 9px;
    align-items: end;
  }
  .thesor-testlab-hfc .hfc-countries { display: contents; }
  .thesor-testlab-hfc .hfc-flags,
  .thesor-testlab-hfc :is(.hfc-feedback-error, .hfc-shop, .hfc-disclosure, noscript) { grid-column: 1 / -1; }
  .thesor-testlab-hfc .hfc-country-control:not([hidden]) { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .thesor-testlab-hfc .hfc-code-row {
    grid-column: 2;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px;
    margin: 0;
  }
  .thesor-testlab-hfc .hfc-code-row > span { grid-column: 1 / -1; }
  .thesor-testlab-hfc .hfc-copy { padding-inline: 5px; font-size: 12px; white-space: nowrap; }
  .thesor-testlab-hfc #thesor-hfc-shop { margin-top: 1px; }
  .thesor-testlab-hfc .hfc-disclosure { margin-top: 0; }
}

@media (max-width: 354px) {
  .thesor-testlab-hfc .hfc-country-control:not([hidden]) { gap: 3px 6px; font-size: 11px; }
  .thesor-testlab-hfc .hfc-country-control select { padding-inline: 6px; font-size: 12px; }
  .thesor-testlab-hfc .hfc-code-row { gap: 3px 5px; font-size: 11px; }
  .thesor-testlab-hfc .hfc-copy { padding-inline: 6px; }
  .thesor-testlab-hfc .hfc-code-row code { padding-inline: 4px; font-size: 13px; }
  .thesor-testlab-hfc #thesor-hfc-shop { gap: 5px; padding-inline: 8px; font-size: 11px; letter-spacing: .015em; }
}
