:root {
  --hfm-primary: var(--color-primary, #1c96b7);
  --hfm-primary-hover: var(--color-primary-hover, #177c98);
  --hfm-conversion: var(--color-secondary, #111111);
  --hfm-ink: #242424;
  --hfm-muted: #626262;
  --hfm-line: #d7dde0;
  --hfm-soft: #f5f7f8;
  --hfm-selected: #e8f6fa;
  --hfm-warning: #fff8e6;
  --hfm-success: #eaf7ee;
  --hfm-radius: 4px;
  --hfm-shadow: 0 10px 30px rgba(15, 35, 45, 0.08);
}

[data-hfm-tools-version] .hfm-tool,
[data-hfm-tools-version] .hfm-tool *,
[data-hfm-tools-version] .hfm-toast,
[data-hfm-tools-version] .hfm-toast *,
[data-hfm-tools-version] .hfm-header-tools,
[data-hfm-tools-version] .hfm-header-tools * {
  box-sizing: border-box;
}

.hfm-tool {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto 40px;
  color: var(--hfm-ink);
  font-family: var(--template-font, inherit);
  font-size: 14px;
  line-height: 1.55;
}

.hfm-tool h1,
.hfm-tool h2,
.hfm-tool h3,
.hfm-tool h4,
.hfm-tool p {
  margin-top: 0;
}

.hfm-tool h1,
.hfm-tool h2,
.hfm-tool h3,
.hfm-tool h4 {
  color: var(--hfm-ink);
  font-family: var(--template-headings-font, var(--template-font, inherit));
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.hfm-tool h2 {
  margin-bottom: 8px;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.22;
}

.hfm-tool h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.3;
}

.hfm-tool h4 {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.35;
}

.hfm-tool__intro {
  position: relative;
  margin: 0 0 24px;
  padding: 28px clamp(22px, 5vw, 48px);
  overflow: hidden;
  border-left: 5px solid var(--hfm-primary);
  background: linear-gradient(135deg, #f6fafb 0%, #fff 72%);
  box-shadow: var(--hfm-shadow);
}

.hfm-tool__intro p:last-child {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--hfm-muted);
  font-size: 15px;
}

.hfm-tool__layout {
  display: grid;
  grid-template-areas: 'main summary';
  grid-template-columns: minmax(0, 1fr) minmax(260px, 31%);
  align-items: start;
  gap: 18px;
}

.hfm-tool__main {
  min-width: 0;
  grid-area: main;
}

.hfm-summary--live {
  z-index: 4;
  grid-area: summary;
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  box-shadow: var(--hfm-shadow);
}

.hfm-eyebrow {
  margin-bottom: 8px !important;
  color: var(--hfm-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hfm-panel,
.hfm-details,
.hfm-summary,
.hfm-compare-group {
  margin: 0 0 18px;
  border: 1px solid var(--hfm-line);
  border-radius: var(--hfm-radius);
  background: #fff;
}

.hfm-panel,
.hfm-summary,
.hfm-compare-group {
  padding: clamp(18px, 3vw, 28px);
}

.hfm-panel > p,
.hfm-field-group > p,
.hfm-section-heading p,
.hfm-compare-group p {
  color: var(--hfm-muted);
}

.hfm-section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.hfm-section-heading h2,
.hfm-section-heading h3,
.hfm-section-heading p {
  margin-bottom: 3px;
}

.hfm-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hfm-choice {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 9px 15px;
  border: 1px solid #c9d1d5;
  border-radius: var(--hfm-radius);
  background: #fff;
  color: var(--hfm-ink);
  cursor: pointer;
  font-weight: 600;
  line-height: 1.35;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.hfm-choice:hover,
.hfm-choice:focus-within {
  border-color: var(--hfm-primary);
}

.hfm-choice:focus-within,
.hfm-component-card:focus-within,
.link-icons > .hfm-product-action:focus-visible,
.hfm-header-tool:focus-visible {
  outline: 2px solid var(--hfm-primary);
  outline-offset: 2px;
}

.hfm-choice.is-selected {
  border-color: var(--hfm-primary);
  background: var(--hfm-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--hfm-primary) 18%, transparent);
  color: #fff;
}

.hfm-choice input,
.hfm-component-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.hfm-field-group + .hfm-field-group {
  margin-top: 20px;
}

.hfm-field-group > strong {
  display: block;
  margin-bottom: 8px;
}

.hfm-clear-choice {
  margin-top: 7px;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: var(--hfm-primary);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
}

.hfm-clear-choice[hidden] {
  display: none !important;
}

.hfm-component-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.hfm-component-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 186px;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--hfm-line);
  border-radius: var(--hfm-radius);
  background: #fff;
  cursor: default;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.hfm-component-card:hover,
.hfm-component-card:focus-within {
  border-color: var(--hfm-primary);
  box-shadow: 0 6px 18px rgba(20, 50, 65, 0.1);
  transform: translateY(-1px);
}

.hfm-component-card.is-selected {
  border-color: var(--hfm-primary);
  box-shadow: inset 0 0 0 2px var(--hfm-primary), 0 8px 20px rgba(20, 100, 130, 0.13);
}

.hfm-component-card__check {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 3;
  display: none;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 50%;
  background: var(--hfm-primary);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.hfm-component-card.is-selected .hfm-component-card__check {
  display: grid;
}

.hfm-component-card__image-link {
  position: relative;
  z-index: 1;
  display: block;
  color: inherit;
  text-decoration: none;
}

.hfm-component-card__image-link:focus-visible {
  outline: 2px solid var(--hfm-primary);
  outline-offset: -2px;
}

.hfm-component-card img {
  display: block;
  width: 100%;
  height: 118px;
  object-fit: contain;
  padding: 8px;
  background: #fff;
}

.hfm-component-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 11px 11px;
  border-top: 1px solid var(--hfm-line);
}

.hfm-component-card__select {
  display: flex;
  flex: 1;
  margin: 0;
  cursor: pointer;
}

.hfm-component-card__body strong {
  font-size: 13px;
  line-height: 1.3;
}

.hfm-component-card__select-label {
  color: var(--hfm-primary);
  font-size: 11px;
  font-weight: 700;
  text-decoration: underline;
}

.hfm-component-card.is-selected .hfm-component-card__select-label {
  color: var(--hfm-ink);
  text-decoration: none;
}

.hfm-native-message[hidden],
.hfm-native-message[hidden] * {
  display: none !important;
}

.hfm-component-card.has-image-error {
  min-height: 120px;
}

.hfm-component-card.has-image-error::before {
  display: grid;
  min-height: 70px;
  place-items: center;
  background: var(--hfm-soft);
  color: var(--hfm-muted);
  content: 'Fotografie se načte po obnovení';
  font-size: 11px;
  text-align: center;
}

.hfm-component-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
}

.hfm-component-grid--compact .hfm-component-card {
  min-height: 150px;
}

.hfm-component-grid--compact .hfm-component-card img {
  height: 88px;
}

.hfm-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
}

.hfm-fields--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hfm-fields--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hfm-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  color: var(--hfm-ink);
  font-weight: 600;
}

.hfm-field--wide {
  grid-column: 1 / -1;
}

.hfm-field input,
.hfm-field select,
.hfm-field textarea,
.hfm-picker-filters input,
.hfm-picker-filters select,
.hfm-contact .form-control {
  width: 100%;
  min-height: 42px;
  margin: 0;
  border: 1px solid #c9d1d5;
  border-radius: var(--hfm-radius);
  background: #fff;
  color: var(--hfm-ink);
  font: inherit;
  font-weight: 400;
}

.hfm-field input,
.hfm-field select,
.hfm-picker-filters input,
.hfm-picker-filters select,
.hfm-contact .form-control {
  padding: 8px 11px;
}

.hfm-field textarea {
  min-height: 94px;
  padding: 10px 11px;
  resize: vertical;
}

.hfm-field input:focus,
.hfm-field select:focus,
.hfm-field textarea:focus,
.hfm-picker-filters input:focus,
.hfm-picker-filters select:focus,
.hfm-contact .form-control:focus {
  border-color: var(--hfm-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--hfm-primary) 16%, transparent);
  outline: none;
}

.hfm-details {
  overflow: hidden;
}

.hfm-details > summary {
  position: relative;
  padding: 17px 52px 17px 20px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  list-style: none;
}

.hfm-details > summary::-webkit-details-marker {
  display: none;
}

.hfm-details > summary::after {
  position: absolute;
  top: 50%;
  right: 20px;
  content: '+';
  color: var(--hfm-primary);
  font-size: 24px;
  font-weight: 400;
  transform: translateY(-50%);
}

.hfm-details[open] > summary::after {
  content: '−';
}

.hfm-details__body {
  padding: 20px;
  border-top: 1px solid var(--hfm-line);
}

.hfm-summary {
  border-left: 5px solid var(--hfm-primary);
  background: var(--hfm-selected);
}

.hfm-summary > h3 {
  margin-bottom: 14px;
}

.hfm-summary__section + .hfm-summary__section {
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(28, 150, 183, 0.18);
}

.hfm-summary__section h4 {
  margin-bottom: 5px;
  color: var(--hfm-muted);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hfm-summary__section ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hfm-summary__section li {
  margin: 3px 0;
  word-break: break-word;
}

.hfm-summary__section li a {
  color: var(--hfm-ink);
  font-weight: 700;
}

.hfm-summary__section li small {
  display: block;
  color: var(--hfm-muted);
  font-size: 11px;
}

.hfm-summary__empty,
.hfm-empty-state {
  margin: 0;
  padding: 18px;
  border: 1px dashed #c9d1d5;
  border-radius: var(--hfm-radius);
  background: var(--hfm-soft);
  color: var(--hfm-muted);
  text-align: center;
}

.hfm-empty-state--large {
  padding: 48px 24px;
}

.hfm-contact .form-group {
  margin: 0;
}

.hfm-contact label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.hfm-contact .form-control-wrapper {
  width: 100%;
}

.hfm-privacy {
  color: var(--hfm-muted);
  font-size: 12px;
}

.hfm-location-notices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.hfm-location-notices article {
  padding: 20px;
  border: 1px solid var(--hfm-line);
  border-top: 4px solid var(--hfm-primary);
  background: #fff;
}

.hfm-location-notices p:last-child,
.hfm-response-note {
  margin-bottom: 0;
}

.hfm-response-note {
  margin-bottom: 18px;
  padding: 13px 16px;
  background: var(--hfm-soft);
  color: var(--hfm-muted);
}

.hfm-picker-filters {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.hfm-picker-filters label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 600;
}

.hfm-load-status {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-left: 3px solid var(--hfm-primary);
  background: var(--hfm-soft);
  color: var(--hfm-muted);
}

.hfm-load-status.is-warning {
  border-color: #d69c00;
  background: var(--hfm-warning);
  color: #715300;
}

.hfm-load-status.is-ready {
  border-color: #3a9154;
  background: var(--hfm-success);
  color: #285f38;
}

.hfm-listening-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.hfm-picker-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid var(--hfm-line);
  background: #fff;
}

.hfm-picker-row > .btn {
  min-height: 44px;
}

.hfm-picker-row.is-selected {
  border-color: var(--hfm-primary);
  background: var(--hfm-selected);
}

.hfm-picker-row > img,
.hfm-picker-row__placeholder {
  display: grid;
  width: 70px;
  height: 58px;
  place-items: center;
  object-fit: contain;
  background: #fff;
}

.hfm-picker-row__info {
  min-width: 0;
}

.hfm-picker-row__info a,
.hfm-picker-row__info small {
  display: block;
}

.hfm-picker-row__info a {
  overflow: hidden;
  color: var(--hfm-ink);
  font-weight: 700;
  text-overflow: ellipsis;
}

.hfm-picker-row__info small {
  color: var(--hfm-muted);
  font-size: 11px;
}

.hfm-picker-row .btn {
  min-width: 92px;
  padding: 8px 10px;
  font-size: 11px;
  white-space: normal;
}

.hfm-table-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.hfm-table-pager button {
  padding: 7px 12px;
  border: 1px solid var(--hfm-line);
  background: #fff;
  cursor: pointer;
}

.hfm-table-pager button:disabled {
  cursor: default;
  opacity: 0.45;
}

.hfm-selected-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.hfm-product-list {
  display: grid;
  gap: 9px;
}

.hfm-product-row {
  display: grid;
  min-width: 0;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--hfm-line);
  background: #fff;
}

.hfm-product-row__image,
.hfm-product-row__image img,
.hfm-product-row__placeholder {
  display: grid;
  width: 76px;
  height: 66px;
  place-items: center;
  object-fit: contain;
  background: #fff;
}

.hfm-product-row__body {
  min-width: 0;
}

.hfm-product-row__name,
.hfm-product-row__body small {
  display: block;
}

.hfm-product-row__name {
  color: var(--hfm-ink);
  font-weight: 700;
}

.hfm-product-row__body small {
  color: var(--hfm-muted);
  font-size: 11px;
}

.hfm-product-row__url {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hfm-product-row__actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hfm-product-row__actions input {
  width: 48px;
  height: 34px;
  padding: 4px;
  text-align: center;
}

.hfm-icon-button,
.hfm-remove-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hfm-line);
  background: #fff;
  color: var(--hfm-ink);
  cursor: pointer;
}

.hfm-icon-button {
  width: 32px;
  height: 32px;
  padding: 6px;
}

.hfm-remove-button {
  gap: 5px;
  min-height: 34px;
  padding: 6px 9px;
}

.hfm-icon-button svg,
.hfm-remove-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

/* Opal applies wide submit-button padding to every contact-form button. */
#formContact .hfm-icon-button {
  width: 32px !important;
  min-width: 32px !important;
  height: 32px !important;
  padding: 6px !important;
  background: #fff !important;
  color: var(--hfm-ink) !important;
}
#formContact .hfm-remove-button {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  padding: 6px 9px !important;
}
#formContact .hfm-icon-button svg,
#formContact .hfm-remove-button svg {
  flex: 0 0 16px;
}

.hfm-term-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) minmax(110px, 0.7fr) minmax(110px, 0.7fr);
  gap: 10px;
  margin-bottom: 20px;
}

.hfm-compare-group {
  padding: 0;
  overflow: hidden;
}

.hfm-compare-group > .hfm-section-heading {
  margin: 0;
  padding: 20px;
  border-bottom: 1px solid var(--hfm-line);
}

.hfm-compare-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hfm-compare-table-wrap {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.hfm-compare-table {
  width: 100%;
  min-width: 720px;
  margin: 0;
  border-collapse: collapse;
  background: #fff;
}

.hfm-compare-table th,
.hfm-compare-table td {
  min-width: 165px;
  padding: 12px;
  border-right: 1px solid var(--hfm-line);
  border-bottom: 1px solid var(--hfm-line);
  text-align: left;
  vertical-align: top;
}

.hfm-compare-table th:first-child,
.hfm-compare-table td:first-child {
  min-width: 170px;
  background: var(--hfm-soft);
  font-weight: 700;
}

.hfm-compare-table thead th:not(:first-child) {
  position: relative;
  padding-top: 36px;
}

.hfm-compare-table thead input {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 18px;
  height: 18px;
}

.hfm-compare-table thead img {
  display: block;
  width: 100%;
  height: 120px;
  margin-bottom: 10px;
  object-fit: contain;
}

.hfm-compare-table thead a:not(.btn) {
  display: block;
  color: var(--hfm-ink);
  font-weight: 700;
}

.hfm-compare-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}

.hfm-compare-product-actions .btn {
  padding: 6px 9px;
  font-size: 11px;
}

.p-detail [data-testid="productDetailActionIcons"] {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px 18px;
}

.p-detail [data-testid="productDetailActionIcons"] > .link-icon {
  flex: 0 1 auto;
  margin: 0 !important;
}

.link-icons > .hfm-product-action {
  display: inline-flex;
  min-height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 3px;
  margin-right: 35px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  text-decoration: none;
}

.link-icons > .hfm-product-action:hover,
.link-icons > .hfm-product-action:focus,
.link-icons > .hfm-product-action.is-active {
  color: var(--hfm-primary);
}

.link-icons > .hfm-product-action.is-active {
  border-radius: 3px;
  background: var(--hfm-selected);
  box-shadow: 0 0 0 3px var(--hfm-selected);
}

.hfm-product-action__icon {
  display: block;
  width: 23px;
  height: 23px;
}

.hfm-product-action__icon svg,
.hfm-header-tool svg,
.hfm-high-end-cta svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.hfm-product-action.is-loading {
  cursor: wait;
  opacity: 0.58;
}

.hfm-high-end-cta {
  display: grid;
  gap: 5px;
  margin: 15px 0;
  padding: 16px;
  border-left: 4px solid var(--hfm-primary);
  background: var(--hfm-soft);
}

.hfm-high-end-cta > strong {
  font-size: 17px;
}

.hfm-high-end-cta > span {
  color: var(--hfm-muted);
}

.hfm-high-end-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.hfm-header-tools {
  display: flex;
  align-items: stretch;
}

.hfm-header-tool {
  position: relative;
  display: inline-flex;
  min-width: 64px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 10px;
  color: inherit;
  text-decoration: none;
}

.hfm-header-tool i {
  display: block;
  width: 23px;
  height: 23px;
}

.hfm-header-tool__label {
  font-size: 11px;
  font-weight: 600;
}

.hfm-header-tool__count {
  position: absolute;
  top: 3px;
  right: 4px;
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  padding: 0 4px;
  border-radius: 12px;
  background: #777;
  color: #fff;
  font-size: 10px;
  line-height: 18px;
}

.hfm-header-tool.has-items .hfm-header-tool__count {
  background: var(--hfm-primary);
}

.hfm-header-tools--mobile {
  display: none;
}

.hfm-toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 10020;
  display: flex;
  max-width: min(420px, calc(100vw - 36px));
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border-left: 4px solid var(--hfm-primary);
  background: #222;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
  color: #fff;
  font-family: var(--template-font, inherit);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.hfm-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.hfm-toast a {
  flex: 0 0 auto;
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

@media (max-width: 1099px) {
  .hfm-header-tool {
    min-width: 44px;
    padding-right: 6px;
    padding-left: 6px;
  }

  .hfm-header-tool__label {
    display: none;
  }
}

@media (max-width: 899px) {
  .hfm-tool__layout {
    grid-template-areas:
      'summary'
      'main';
    grid-template-columns: minmax(0, 1fr);
  }

  .hfm-summary--live {
    top: 8px;
    max-height: 34vh;
    margin-bottom: 0;
  }
}

@media (max-width: 767px) {
  .hfm-tool {
    font-size: 13px;
  }

  .hfm-tool__intro {
    padding: 22px 18px;
  }

  .hfm-panel,
  .hfm-summary {
    padding: 17px;
  }

  .hfm-section-heading,
  .hfm-compare-group > .hfm-section-heading {
    flex-direction: column;
  }

  .hfm-fields--two,
  .hfm-fields--three,
  .hfm-location-notices,
  .hfm-selected-columns,
  .hfm-listening-table {
    grid-template-columns: 1fr;
  }

  .hfm-component-grid,
  .hfm-component-grid--compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hfm-component-card,
  .hfm-component-grid--compact .hfm-component-card {
    min-height: 144px;
  }

  .hfm-component-card img,
  .hfm-component-grid--compact .hfm-component-card img {
    height: 84px;
  }

  .hfm-picker-filters,
  .hfm-term-grid {
    grid-template-columns: 1fr;
  }

  .hfm-picker-row,
  .hfm-product-row {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .hfm-picker-row > img,
  .hfm-picker-row__placeholder,
  .hfm-product-row__image,
  .hfm-product-row__image img,
  .hfm-product-row__placeholder {
    width: 62px;
    height: 56px;
  }

  .hfm-picker-row > .btn,
  .hfm-product-row__actions {
    grid-column: 1 / -1;
  }

  .hfm-product-row__actions {
    justify-content: flex-end;
  }

  .link-icons > .hfm-product-action {
    min-width: 68px;
    min-height: 72px;
    margin: 0;
    font-size: 12px;
  }

  .p-detail [data-testid="productDetailActionIcons"] {
    gap: 12px 14px;
  }

  .hfm-header-tools:not(.hfm-header-tools--mobile) {
    display: none;
  }

  .hfm-header-tools--mobile {
    display: flex;
    position: absolute;
    top: 8px;
    right: 101px;
    z-index: 3;
  }

  #header .header-top {
    position: relative;
  }

  .hfm-header-tool {
    min-width: 40px;
    padding: 6px;
  }

  .hfm-header-tool i {
    width: 20px;
    height: 20px;
  }

  .hfm-header-tool__count {
    top: 0;
    right: 0;
  }

  .hfm-toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

@media (max-width: 359px) {
  .hfm-header-tools--mobile .hfm-header-tool {
    width: 20px;
    min-width: 20px;
    padding: 1px;
  }

  .hfm-header-tools--mobile .hfm-header-tool i {
    width: 17px;
    height: 17px;
  }

  .hfm-header-tools--mobile .hfm-header-tool__count {
    top: -3px;
    right: -2px;
    min-width: 14px;
    height: 14px;
    padding: 0 2px;
    font-size: 8px;
    line-height: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hfm-component-card,
  .hfm-choice,
  .hfm-toast {
    transition: none;
  }
}

/* Opal hides unlabelled native checkboxes globally. Keep comparison selection accessible. */
.hfm-compare input[data-compare-select] { display: inline-block !important; position: static !important; opacity: 1 !important; appearance: auto !important; width: 20px !important; height: 20px !important; margin: 0 0 12px !important; clip: auto !important; clip-path: none !important; pointer-events: auto !important; accent-color: #1c96b7; }

/* Keep approved service links ahead of Opal's appended mobile categories. */
@media (max-width: 767px) {
  #navigation .menu-level-1 > .menu-item-external-138,
  #navigation .menu-level-1 > .menu-item-1947,
  #navigation .menu-level-1 > .menu-item-1950,
  #navigation .menu-level-1 > .menu-item-1857 { order: 0 !important; }
}

/* Match the live Opal product-action row, including its 45px icon box. */
.link-icons > .hfm-product-action { font-size: 13px; line-height: 20.8px; font-weight: 500; }
.hfm-product-action__icon { width: 45px; height: 45px; }

/* Opal positions search/account/currency independently of the cart flex row.
   Reserve a separate slot; never let new tools occupy those native controls. */
@media (min-width: 768px) {
  #header .navigation-buttons > .hfm-header-tools {
    position: absolute;
    right: 260px;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 52px;
  }
  #header .navigation-buttons > .hfm-header-tools .hfm-header-tool {
    width: 60px;
    min-width: 60px;
    padding: 4px 2px;
    flex-direction: column;
    gap: 2px;
  }
  #header .navigation-buttons > .hfm-header-tools .hfm-header-tool__label {
    display: block;
    font-size: 10px;
    line-height: 14px;
    white-space: nowrap;
  }
  #header .navigation-buttons > .hfm-header-tools .hfm-header-tool__count {
    top: 0;
    right: 7px;
  }
}
@media (min-width: 1201px) {
  #header #navigation { width: calc(100% - 800px); }
}
@media (min-width: 768px) and (max-width: 1200px) {
  #header .navigation-wrapper { height: 154px !important; padding-bottom: 54px !important; }
  #header #navigation {
    top: auto;
    bottom: 0;
    left: 20px;
    right: 20px;
    width: calc(100% - 40px);
    margin-left: 0;
    height: 54px;
    transform: none;
  }
  #header #navigation .menu-level-1 > li > a { height: 54px; line-height: 54px; padding-top: 0; padding-bottom: 0; }
}
/* The Opal overflow-menu button is a sibling of navigation with its own offset. */
@media (min-width: 1201px) {
  #header .menu-helper { right: 520px !important; }
}
@media (min-width: 768px) and (max-width: 1200px) {
  #header .menu-helper { right: 20px !important; top: auto !important; bottom: 16px !important; }
}

/* 1.1.9 (25. 9. 2026, Petr): box „Obraťte se na nás“ na kartě vypnut – poptávka a poslech jsou v ikonách pod košíkem */
.hfm-high-end-cta {
  display: none !important;
}

/* ===== 1.2.0: Rezervace poslechu v2 (Petr 26. 9. 2026) ===== */
body.in-rezervace-poslechu aside.sidebar-left,body.in-rezervace-poslechu aside.sidebar{display:none!important}
body.in-rezervace-poslechu #content,body.in-rezervace-poslechu #content.narrow{width:100%!important;max-width:100%!important;flex:0 0 100%!important;margin-left:0!important;padding-left:0!important}
body.in-rezervace-poslechu .content-inner,body.in-rezervace-poslechu .content-inner>div,body.in-rezervace-poslechu .pageArticleDetail,body.in-rezervace-poslechu #formContact{width:100%!important;max-width:1200px!important;margin-left:0!important;margin-right:0!important}
.hfm-listening--v2{--l-ac:#1c96b7;--l-ink:#1d1d1d;--l-mut:#5f6368;--l-line:#e3e5e8;--l-bg:#f5f7f8;max-width:1200px;color:var(--l-ink)}
.hfm-listening--v2 *{box-sizing:border-box}
.hfm-l-lead{font-size:17px;line-height:1.55;margin:0 0 22px;max-width:760px}
.hfm-l-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 28px;padding:0;list-style:none}
.hfm-l-steps li{display:flex;gap:12px;align-items:center;background:var(--l-bg);border-radius:12px;padding:14px 16px;font-size:14px;line-height:1.35;margin:0}
.hfm-l-steps b{flex:0 0 32px;height:32px;border-radius:50%;background:var(--l-ink);color:#fff;display:grid;place-items:center;font-size:15px}
.hfm-l-places{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:0 0 34px}
.hfm-l-place{border:1px solid var(--l-line);border-radius:14px;overflow:hidden;background:#fff;display:flex;flex-direction:column;transition:border-color .15s,box-shadow .15s}
.hfm-l-place.is-on{border:2px solid var(--l-ac);box-shadow:0 0 0 4px #e6f4f8}
.hfm-listening--v2 .hfm-l-place__img{width:100%!important;max-width:none!important;height:280px!important;object-fit:cover;display:block}
.hfm-l-place__body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:10px;flex:1}
.hfm-listening--v2 .hfm-l-place h2{font-size:22px;margin:0;display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hfm-l-badge{font-size:12px;font-weight:600;padding:4px 10px;border-radius:20px;background:#e6f4f8;color:#136e87}
.hfm-l-badge--warn{background:#fff3e0;color:#9a5b00}
.hfm-l-place p{margin:0;font-size:14px;line-height:1.5}
.hfm-l-place small{color:var(--l-mut);font-size:13px;line-height:1.45}
.hfm-l-map{width:100%;height:170px;border:0;border-radius:10px;margin-top:4px}
.hfm-l-place__btns{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:auto;padding-top:6px}
.hfm-listening--v2 .hfm-l-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 20px;border-radius:10px;font-weight:600;font-size:14px;border:2px solid var(--l-ink);background:#fff;color:var(--l-ink);text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:none}
.hfm-listening--v2 .hfm-l-pick.is-selected{background:var(--l-ac);border-color:var(--l-ac);color:#fff;box-shadow:none}
.hfm-l-pick .hfm-l-pick__on,.hfm-l-pick.is-selected .hfm-l-pick__off{display:none}
.hfm-l-pick.is-selected .hfm-l-pick__on{display:inline}
.hfm-l-form{border:1px solid var(--l-line);border-radius:14px;padding:26px 28px;background:#fff}
.hfm-listening--v2 .hfm-l-form>h2{font-size:24px;margin:0 0 4px}
.hfm-l-sub{margin:0 0 16px;color:var(--l-mut);font-size:14px}
.hfm-l-q{padding:18px 0;border-top:1px solid var(--l-line)}
.hfm-l-lbl{display:block;font-weight:600;font-size:15px;margin:0 0 10px}
.hfm-l-lbl small{font-weight:400;color:var(--l-mut);font-size:13px}
.hfm-listening--v2 .hfm-l-chips .hfm-choice{min-height:38px;padding:7px 14px;border-radius:20px;font-size:14px}
.hfm-listening--v2 .hfm-l-chips .hfm-choice.is-selected{background:#e6f4f8;border-color:var(--l-ac);color:#0f5d72;font-weight:600;box-shadow:none}
.hfm-listening--v2 .hfm-l-compare{margin-top:12px}
.hfm-listening--v2 .hfm-l-compare .hfm-choice{border-radius:10px}
.hfm-listening--v2 .hfm-picker-filters{display:grid;grid-template-columns:2fr 1fr;gap:12px;margin-bottom:10px}
.hfm-listening--v2 .hfm-listening-table{display:flex;flex-direction:column;gap:0;border:1px solid var(--l-line);border-radius:10px;overflow:hidden}
.hfm-listening--v2 .hfm-picker-row{display:grid;grid-template-columns:56px minmax(0,1fr) auto;gap:14px;align-items:center;padding:8px 14px;border:0;border-top:1px solid var(--l-line);border-radius:0;background:#fff;min-height:0}
.hfm-listening--v2 .hfm-picker-row:first-child{border-top:0}
.hfm-listening--v2 .hfm-picker-row img{width:56px;height:42px;object-fit:contain}
.hfm-listening--v2 .hfm-picker-row__info{display:flex;flex-direction:column;min-width:0}
.hfm-listening--v2 .hfm-picker-row__info a{color:var(--l-ink);font-weight:600;font-size:14px;text-decoration:none;white-space:normal}
.hfm-listening--v2 .hfm-picker-row__info small{color:var(--l-mut);font-size:12px}
.hfm-listening--v2 .hfm-picker-row .btn{position:static;min-height:34px;height:auto;padding:6px 12px;font-size:13px;border-radius:8px;white-space:nowrap}
.hfm-listening--v2 .hfm-picker-row.is-selected{background:#f2f9fb}
.hfm-listening--v2 .hfm-table-pager{margin-top:10px}
.hfm-listening--v2 .hfm-selected-columns{margin-top:14px}
.hfm-listening--v2 .hfm-selected-columns h4{font-size:14px;margin:0 0 6px}
.hfm-listening--v2 .hfm-term-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px;margin-bottom:12px}
.hfm-listening--v2 .hfm-l-summary{background:var(--l-bg);border-radius:10px;padding:12px 16px;margin:6px 0 14px;position:static;box-shadow:none;border:0}
.hfm-listening--v2 .hfm-l-summary h3{font-size:15px;margin:0 0 6px}
.hfm-listening--v2 .hfm-contact{border:0;padding:18px 0 0;border-top:1px solid var(--l-line);border-radius:0;box-shadow:none;background:none}
.hfm-listening--v2 .hfm-privacy{font-size:13px;color:var(--l-mut);margin:6px 0 0}
body.in-rezervace-poslechu #formContact button[type=submit],body.in-rezervace-poslechu #formContact input[type=submit]{min-height:56px;padding:0 34px;font-size:17px;border-radius:10px}
@media(max-width:767px){
 .hfm-l-steps,.hfm-l-places,.hfm-listening--v2 .hfm-picker-filters,.hfm-listening--v2 .hfm-term-grid{grid-template-columns:1fr}
 .hfm-listening--v2 .hfm-l-place__img{height:190px!important}
 .hfm-l-form{padding:18px 14px}
 .hfm-listening--v2 .hfm-picker-row{grid-template-columns:48px minmax(0,1fr);}
 .hfm-listening--v2 .hfm-picker-row .btn{grid-column:2;justify-self:start}
 body.in-rezervace-poslechu #formContact button[type=submit]{width:100%}
}
body.in-rezervace-poslechu #navigation{margin-left:0!important}
.hfm-listening--v2 .hfm-picker-row{width:100%;max-width:none}
.hfm-listening--v2 .hfm-picker-row .btn{justify-self:end}
.hfm-listening--v2 .hfm-selected-columns>div:has(>.hfm-product-list>.hfm-empty-state){display:none}
.hfm-listening--v2 .hfm-selected-columns:not(:has(>div>.hfm-product-list>:not(.hfm-empty-state))){display:none}
/* 1.2.1: chipy = kategorie nabídky k poslechu, bez rozbalovací kategorie */
.hfm-listening--v2 .hfm-picker-filters--search{grid-template-columns:1fr}
.hfm-listening--v2 .hfm-l-count{margin-left:6px;font-size:12px;font-weight:600;opacity:.65}
.hfm-listening--v2 .hfm-l-chips__loading{font-size:14px;color:var(--l-mut)}
/* 1.2.2: kategorie K poslechu v showroomu Praha = Dealerské centrum Eurostaru (26. 9. 2026) */
body.hfm-praha-dc #category-header,body.hfm-praha-dc #filters-wrapper,body.hfm-praha-dc #products,body.hfm-praha-dc .listingControls{display:none!important}
/* ruční příznak je zastaralý – zdrojem je Dealerské centrum */
.flag.flag-showroom-praha{display:none!important}
.hfm-dc{--l-ac:#1c96b7;--l-ink:#1d1d1d;--l-mut:#5f6368;--l-line:#e3e5e8;--l-bg:#f5f7f8;color:var(--l-ink)}
.hfm-dc *{box-sizing:border-box}
.hfm-dc__lead{font-size:16px;line-height:1.55;margin:0 0 16px;max-width:760px}
.hfm-dc__bar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.hfm-dc__count{font-weight:600;font-size:15px}
.hfm-dc .hfm-dc__cta{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border-radius:10px;background:var(--l-ink);color:#fff;font-weight:600;font-size:14px;text-decoration:none}
.hfm-dc .hfm-dc__chips{margin:0 0 18px}
.hfm-dc .hfm-dc__chips .hfm-choice{min-height:38px;padding:7px 14px;border-radius:20px;font-size:14px}
.hfm-dc .hfm-dc__chips .hfm-choice.is-selected{background:#e6f4f8;border-color:var(--l-ac);color:#0f5d72;font-weight:600;box-shadow:none}
.hfm-dc .hfm-l-count{margin-left:6px;font-size:12px;font-weight:600;opacity:.65}
.hfm-dc__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.hfm-dc-card{display:flex;flex-direction:column;gap:6px;border:1px solid var(--l-line);border-radius:12px;padding:12px;background:#fff}
.hfm-dc .hfm-dc-card__img{display:flex;align-items:center;justify-content:center;height:170px}
.hfm-dc .hfm-dc-card__img img{max-width:100%;max-height:170px;object-fit:contain}
.hfm-dc .hfm-dc-card__name{color:var(--l-ink);font-weight:600;font-size:14px;line-height:1.35;text-decoration:none;min-height:38px}
.hfm-dc-card__cat{color:var(--l-mut);font-size:12px}
.hfm-dc-card__price{font-size:16px;margin-top:auto}
.hfm-dc .hfm-dc-card__btn{display:flex;align-items:center;justify-content:center;min-height:40px;border:2px solid var(--l-ink);border-radius:10px;color:var(--l-ink);font-weight:600;font-size:13px;text-decoration:none}
.hfm-dc .hfm-dc-card__btn:hover{background:var(--l-ink);color:#fff}
@media(max-width:600px){.hfm-dc__grid{grid-template-columns:1fr 1fr;gap:10px}.hfm-dc .hfm-dc-card__img{height:120px}.hfm-dc .hfm-dc-card__img img{max-height:120px}}
body.hfm-praha-dc aside .filters-wrapper{display:none!important}
/* 1.2.3: pole „Nenašli jste model?“ vpravo vedle vybraných modelů (Petr 26. 9.) */
.hfm-listening--v2 .hfm-selected-columns.hfm-l-picked-row{display:grid!important;grid-template-columns:1fr 1fr;gap:20px;align-items:start;margin-top:14px}
.hfm-listening--v2 .hfm-l-picked__group:has(>.hfm-product-list>.hfm-empty-state){display:none}
.hfm-listening--v2 .hfm-l-picked:not(:has(.hfm-product-list>:not(.hfm-empty-state))){display:none}
.hfm-listening--v2 .hfm-l-picked-row:not(:has(.hfm-product-list>:not(.hfm-empty-state))){grid-template-columns:1fr}
.hfm-listening--v2 .hfm-l-picked__group+.hfm-l-picked__group{margin-top:14px}
.hfm-listening--v2 .hfm-l-manual{margin:0}
.hfm-listening--v2 .hfm-l-manual textarea{min-height:110px}
@media(max-width:767px){.hfm-listening--v2 .hfm-selected-columns.hfm-l-picked-row{grid-template-columns:1fr}}
.hfm-listening--v2 .hfm-l-picked,.hfm-listening--v2 .hfm-l-picked__group{margin:0!important;padding:0!important}
.hfm-listening--v2 .hfm-l-picked__group h4{margin:0 0 8px!important;padding:0!important;font-size:14px;line-height:1.4}
.hfm-listening--v2 .hfm-l-manual>span{display:block;margin:0 0 8px;font-size:14px;line-height:1.4}
/* 1.2.4: „Nenašli jste model?“ = hledání přes Finder (Petr 26. 9.) */
.hfm-listening--v2 .hfm-l-manual{position:relative}
.hfm-listening--v2 .hfm-l-manual input[type=search]{width:100%;height:46px;border:1px solid #cfd3d7;border-radius:10px;padding:0 14px;font-size:15px}
.hfm-listening--v2 .hfm-l-finder{position:absolute;left:0;right:0;top:100%;z-index:30;margin-top:4px;background:#fff;border:1px solid var(--l-line);border-radius:10px;box-shadow:0 10px 30px rgba(0,0,0,.12);max-height:420px;overflow:auto}
.hfm-listening--v2 .hfm-l-finder[hidden]{display:none}
.hfm-listening--v2 .hfm-l-finder__row{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:12px;align-items:center;padding:8px 12px;border-top:1px solid var(--l-line)}
.hfm-listening--v2 .hfm-l-finder__row:first-child{border-top:0}
.hfm-listening--v2 .hfm-l-finder__row img{width:48px;height:38px;object-fit:contain}
.hfm-listening--v2 .hfm-l-finder__noimg{font-size:10px;color:var(--l-mut);text-align:center}
.hfm-listening--v2 .hfm-l-finder__info{display:flex;flex-direction:column;min-width:0}
.hfm-listening--v2 .hfm-l-finder__info strong{font-size:14px;font-weight:600;line-height:1.3}
.hfm-listening--v2 .hfm-l-finder__info small{font-size:12px;color:var(--l-mut)}
.hfm-listening--v2 .hfm-l-finder__add{border:1px solid var(--l-ink);border-radius:8px;background:#fff;color:var(--l-ink);padding:6px 10px;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
.hfm-listening--v2 .hfm-l-finder__add:hover{background:var(--l-ink);color:#fff}
.hfm-listening--v2 .hfm-l-finder__empty{margin:0;padding:12px 14px;font-size:14px;color:var(--l-mut)}
/* 1.2.5: chybové hlášky formulářů (košík, registrace, kontakt) – malý červený text pod polem místo bubliny přes předchozí pole (Petr 26. 9.) */
form .js-validator-msg,form .validator-msg{position:static!important;display:block!important;background:none!important;border:0!important;border-radius:0!important;padding:0!important;margin:6px 0 2px!important;font-size:13px!important;line-height:1.4!important;font-weight:500!important;color:#c62828!important;box-shadow:none!important;z-index:auto!important;opacity:1!important;cursor:default!important;pointer-events:none!important;left:auto!important;bottom:auto!important;width:auto!important}
form .js-validator-msg:before,form .validator-msg:before{display:none!important;content:none!important}
form .js-validator-msg:hover,form .validator-msg:hover{opacity:1!important}
