: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;
}

.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;
  }
}
