/**
 * PrestaHU
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Commercial License
 * you can't distribute, modify or sell this code
 *
 * @author    PrestaHU <info@presta.hu>
 * @copyright PrestaHU
 * @license   commercial
 */
.pshuguarantee-link {
  display: block;
  margin: 0.5rem 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.pshuguarantee-link__a {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 44px;
  color: var(--pshuguarantee-link-color, inherit);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pshuguarantee-link__a:hover,
.pshuguarantee-link__a:focus-visible {
  text-decoration-thickness: 2px;
}

.pshuguarantee-link__a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.pshuguarantee-link__icon {
  flex: 0 0 auto;
  color: var(--pshuguarantee-icon-color, #003399);
}

.pshuguarantee-link--header {
  display: inline-block;
  margin: 0 0.75rem;
}

.pshuguarantee-link--header .pshuguarantee-link__a {
  min-height: 0;
  padding: 0.25rem 0;
}

.pshuguarantee-dialog {
  width: min(860px, calc(100vw - 1.5rem));
  max-height: calc(100vh - 1.5rem);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
  color: #1f1f1f;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.pshuguarantee-dialog[open] {
  display: flex;
  flex-direction: column;
}

.pshuguarantee-dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
}

.pshuguarantee-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  border-bottom: 1px solid #e5e5e5;
}

.pshuguarantee-dialog__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.pshuguarantee-dialog__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.pshuguarantee-dialog__close:hover {
  background: #f2f2f2;
}

.pshuguarantee-dialog__close:focus-visible {
  outline: 2px solid #003399;
  outline-offset: 2px;
}

.pshuguarantee-dialog__body {
  padding: 1rem 1.25rem 1.25rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.pshuguarantee-notice__zoom {
  display: block;
  cursor: zoom-in;
}

.pshuguarantee-notice__zoom:focus-visible {
  outline: 2px solid #003399;
  outline-offset: 2px;
}

.pshuguarantee-notice__img {
  display: block;
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 0 auto;
}

.pshuguarantee-notice__link {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.9375rem;
}

.pshuguarantee-notice__link a,
.pshuguarantee-notice__text a {
  color: #003399;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pshuguarantee-notice__text {
  margin-top: 1rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
}

.pshuguarantee-notice__text summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}

.pshuguarantee-notice__text summary:focus-visible {
  outline: 2px solid #003399;
  outline-offset: 2px;
}

.pshuguarantee-notice__text ul,
.pshuguarantee-notice__text ol {
  margin: 0 0 0.75rem;
  padding-left: 1.25rem;
}

.pshuguarantee-page {
  max-width: 860px;
}

html.pshuguarantee-lock,
html.pshuguarantee-lock body {
  overflow: hidden;
}

@media (max-width: 575.98px) {
  .pshuguarantee-dialog {
    width: 100vw;
    max-width: 100vw;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }

  .pshuguarantee-dialog__body {
    padding: 0.75rem;
  }
}

.pshuguarantee-garan-label {
  position: relative;
  display: block;
  width: 100%;
  background: #fff;
}

.pshuguarantee-garan-label__base {
  display: block;
  width: 100%;
  height: auto;
}

.pshuguarantee-garan-label__fields,
.pshuguarantee-garan-label__fields svg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.pshuguarantee-garan__open {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  line-height: 0;
}

.pshuguarantee-garan__open:focus-visible {
  outline: 2px solid #003399;
  outline-offset: 3px;
}

.pshuguarantee-garan--product {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 560px;
  margin: 1rem 0;
  padding: 12px 14px;
  border: 1px solid rgba(35, 31, 32, 0.14);
  border-radius: 10px;
  background: #fff;
}

.pshuguarantee-garan--product .pshuguarantee-garan__badge {
  flex: 0 0 auto;
  width: 150px;
}

.pshuguarantee-garan__info {
  min-width: 0;
  font-size: 0.875rem;
  line-height: 1.4;
}

.pshuguarantee-garan__info p {
  margin: 0;
}

.pshuguarantee-garan__title {
  font-weight: 600;
}

.pshuguarantee-garan__meta {
  color: rgba(35, 31, 32, 0.72);
  overflow-wrap: anywhere;
}

.pshuguarantee-garan__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 4px !important;
}

.pshuguarantee-garan__links a,
.pshuguarantee-garan__more {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 420px) {
  .pshuguarantee-garan--product {
    flex-wrap: wrap;
  }
}

.pshuguarantee-garan-full__link a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.pshuguarantee-garan--nested {
  width: 100%;
  min-width: 0;
  margin: 0.375rem 0 0;
}

.pshuguarantee-garan--nested .pshuguarantee-garan__open,
.pshuguarantee-garan-list .pshuguarantee-garan__open {
  width: 100%;
  max-width: 182px;
  min-width: 0;
}

.pshuguarantee-garan--listing {
  flex: 1 0 100%;
}

*:has(> .pshuguarantee-garan--listing) {
  flex-wrap: wrap;
}

.pshuguarantee-garan--listing .pshuguarantee-garan__open {
  margin: 0 auto;
}

.pshuguarantee-garan-list {
  margin: 1rem 0;
}

.pshuguarantee-garan-list__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.pshuguarantee-garan-list__items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pshuguarantee-garan-list__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.375rem 0;
}

.pshuguarantee-garan-list__name {
  flex: 1 1 12rem;
  font-size: 0.875rem;
}

.pshuguarantee-dialog--garan {
  width: min(600px, calc(100vw - 1.5rem));
}

.pshuguarantee-garan-full {
  margin: 0 auto;
  max-width: 560px;
}

.pshuguarantee-garan-full__text,
.pshuguarantee-garan-full__link {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  text-align: center;
}

.pshuguarantee-garan-summary__groups {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pshuguarantee-garan-summary__group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.pshuguarantee-garan-summary .pshuguarantee-garan__open {
  width: 150px;
  flex: 0 0 auto;
}

.pshuguarantee-garan-summary__count {
  font-size: 0.875rem;
  white-space: nowrap;
}

.pshuguarantee-garan-summary__entry + .pshuguarantee-garan-summary__entry {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e5e5e5;
}

.pshuguarantee-garan-summary__name {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
