/* OKIV UX finomítások – kategória-visszaállítás, Jó tudni kártyák, lebegő kapcsolat */
.facebookIcon img {
  filter: none !important;
}

.kk-category-reset-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 28px auto 8px;
}

.kk-category-reset-button {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 24px;
  border-radius: 999px;
  border: 1px solid rgba(90, 15, 27, 0.28);
  background: linear-gradient(135deg, #fffdf8 0%, #fff8ee 100%);
  color: #5a0f1b;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(139, 0, 20, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.kk-category-reset-button:hover,
.kk-category-reset-button:focus-visible {
  transform: translateY(-1px);
  background: #ffffff;
  outline: none;
  box-shadow: 0 14px 28px rgba(139, 0, 20, 0.12);
}

/* Bal oldali Jó tudni kártya – desktop */
.kk-trust-card {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 8500;
  width: min(360px, calc(100vw - 44px));
  padding: 18px 20px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fffdf8 0%, #fff8ee 62%, #fff3df 100%);
  border: 1px solid rgba(215, 170, 85, 0.56);
  box-shadow: 0 20px 46px rgba(37, 18, 21, 0.18);
  color: #241b1d;
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.28s ease, transform 0.28s ease;
  box-sizing: border-box;
}

.kk-trust-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.kk-trust-card.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.kk-trust-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 34px 9px 0;
  color: #8b0014;
  font-size: 0.84rem;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.kk-trust-kicker span:first-child {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff6d8;
  border: 1px solid rgba(215, 170, 85, 0.72);
  box-shadow: 0 0 0 4px rgba(215, 170, 85, 0.15);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.kk-trust-text {
  margin: 0;
  color: #2f2729;
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 760;
}

.kk-trust-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(139, 0, 20, 0.20);
  background: #fff;
  color: #8b0014;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.kk-trust-close:hover,
.kk-trust-close:focus-visible {
  outline: none;
  background: #fff8ee;
}

.kk-trust-capsule {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 8490;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 17px;
  border-radius: 999px;
  border: 1px solid rgba(215, 170, 85, 0.62);
  background: linear-gradient(135deg, #fffdf8 0%, #fff8ee 100%);
  color: #7a0012;
  font-family: inherit;
  font-size: 0.98rem;
  line-height: 1.1;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(139, 0, 20, 0.13);
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.18s ease;
}

.kk-trust-capsule.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.kk-trust-capsule:hover,
.kk-trust-capsule:focus-visible {
  outline: none;
  background: #ffffff;
  transform: translateY(-1px);
}

/* Jobb oldali kapcsolatpanel */
.kk-floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  font-family: inherit;
}

.kk-floating-menu {
  position: relative;
  display: grid;
  gap: 9px;
  min-width: 270px;
  padding: 15px;
  padding-top: 45px;
  border-radius: 20px;
  background: linear-gradient(135deg, #fffdf8 0%, #fff8ee 100%);
  border: 1px solid rgba(215, 170, 85, 0.58);
  box-shadow: 0 20px 46px rgba(37, 18, 21, 0.18);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.kk-floating-contact.is-open .kk-floating-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.kk-floating-toggle,
.kk-floating-option,
.kk-floating-close {
  appearance: none;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
}

.kk-floating-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(139, 0, 20, 0.20);
  background: #fff;
  color: #8b0014;
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
}

.kk-floating-close:hover,
.kk-floating-close:focus-visible {
  outline: none;
  background: #fff8ee;
}

.kk-floating-toggle {
  min-height: 56px;
  padding: 16px 24px;
  border-radius: 999px;
  background: #8b0014;
  color: #fff;
  font-size: 1.04rem;
  line-height: 1.1;
  font-weight: 900;
  box-shadow: 0 14px 32px rgba(139, 0, 20, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.kk-floating-contact.is-open .kk-floating-toggle {
  display: none;
}

.kk-floating-toggle:hover,
.kk-floating-toggle:focus-visible {
  outline: none;
  background: #6f0010;
  transform: translateY(-1px);
}

.kk-floating-option {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
  color: #241b1d;
  border: 1px solid rgba(90, 15, 27, 0.12);
  text-align: left;
  font-size: 1rem;
  line-height: 1.18;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(139, 0, 20, 0.055);
}

.kk-floating-option:hover,
.kk-floating-option:focus-visible {
  outline: none;
  background: #fffaf0;
  transform: translateY(-1px);
}

.kk-floating-option img,
.kk-floating-icon-circle {
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.kk-floating-option img {
  object-fit: contain;
}

.kk-floating-icon-circle {
  color: #8b0014;
  background: #fff3d8;
  border: 1px solid rgba(215, 170, 85, 0.7);
}

.kk-floating-icon-circle svg {
  width: 18px;
  height: 18px;
}

.kk-toggle-mobile {
  display: none;
}

/* Mobilos Jó tudni sáv */
.kk-mobile-trust-bar {
  display: none;
}

/* Oldalba épített mobil kapcsolatbox */
.kk-inline-contact-box {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 126px;
  }

  .kk-trust-card,
  .kk-trust-capsule {
    display: none !important;
  }

  .kk-category-reset-wrap {
    margin-top: 22px;
  }

  .kk-category-reset-button {
    width: 100%;
    max-width: 360px;
    min-height: 48px;
    padding: 13px 18px;
    white-space: normal;
  }

  .kk-mobile-trust-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 74px;
    z-index: 8400;
    display: block;
    padding: 10px 13px;
    border-radius: 15px;
    background: linear-gradient(135deg, #fffdf8 0%, #fff8ee 100%);
    border: 1px solid rgba(215, 170, 85, 0.62);
    box-shadow: 0 12px 28px rgba(37, 18, 21, 0.16);
    color: #2f2729;
    font-size: 0.88rem;
    line-height: 1.35;
    font-weight: 760;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease;
    box-sizing: border-box;
  }

  .kk-mobile-trust-bar strong {
    color: #7a0012;
    font-weight: 900;
  }

  .kk-mobile-trust-bar.is-changing {
    opacity: 0;
    transform: translateY(6px);
  }

  body.kk-floating-contact-open .kk-mobile-trust-bar {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
  }

  .kk-floating-contact {
    right: 12px;
    bottom: 12px;
    max-width: calc(100vw - 24px);
    z-index: 9100;
  }

  .kk-floating-toggle {
    min-height: 50px;
    padding: 14px 18px;
    font-size: 0.98rem;
  }

  .kk-toggle-desktop {
    display: none;
  }

  .kk-toggle-mobile {
    display: inline;
  }

  .kk-floating-menu {
    min-width: min(292px, calc(100vw - 24px));
    max-width: calc(100vw - 24px);
    padding: 13px;
    padding-top: 42px;
    border-radius: 18px;
  }

  .kk-floating-option {
    min-height: 46px;
    padding: 10px 12px;
    font-size: 0.96rem;
  }

  .kk-floating-option img,
  .kk-floating-icon-circle {
    width: 29px;
    height: 29px;
    flex-basis: 29px;
  }

  .kk-inline-contact-box {
    display: block;
    padding: 28px 12px 20px;
    background: linear-gradient(180deg, rgba(255,255,255,0) 0%, #fff8ee 100%);
  }

  .kk-inline-contact-inner {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 20px 16px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, #fffdf8 0%, #fff8ee 100%);
    border: 1px solid rgba(215, 170, 85, 0.54);
    box-shadow: 0 14px 32px rgba(139, 0, 20, 0.08);
    text-align: center;
    box-sizing: border-box;
  }

  .kk-inline-contact-inner h2 {
    margin: 0 0 14px;
    color: #5a0f1b;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
    line-height: 1.16;
    font-weight: 900;
  }

  .kk-inline-contact-actions {
    display: grid;
    gap: 10px;
  }

  .kk-inline-contact-button {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #fff;
    color: #5a0f1b;
    border: 1px solid rgba(90, 15, 27, 0.15);
    box-shadow: 0 8px 18px rgba(139, 0, 20, 0.055);
    font-family: inherit;
    font-size: 0.98rem;
    line-height: 1.15;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
  }

  .kk-inline-contact-button img,
  .kk-inline-contact-button .kk-floating-icon-circle {
    width: 28px;
    height: 28px;
    flex: 0 0 28px;
  }
}

@media (max-width: 390px) {
  .kk-mobile-trust-bar {
    font-size: 0.82rem;
    line-height: 1.3;
    padding: 9px 11px;
  }

  .kk-floating-toggle {
    padding-left: 15px;
    padding-right: 15px;
  }
}


/* W100 mobil hotfix – landing nélküli átmeneti éles verzió */
@media (max-width: 768px) {
  body {
    padding-bottom: 186px !important;
  }

  /* A nagy, ismétlődő mobil kapcsolatbox ne jelenjen meg. */
  .kk-inline-contact-box {
    display: none !important;
  }

  /* Mobilon a Jó tudni kártya legyen alul, bezárhatóan. */
  .kk-mobile-trust-bar {
    display: none !important;
  }

  .kk-trust-card {
    display: block !important;
    left: 12px !important;
    right: 12px !important;
    bottom: 10px !important;
    width: auto !important;
    max-width: none !important;
    padding: 10px 12px 46px 12px !important;
    border-radius: 15px !important;
    z-index: 8400 !important;
  }

  .kk-trust-card.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
  }

  .kk-trust-kicker {
    display: inline-flex !important;
    vertical-align: baseline !important;
    margin: 0 4px 0 0 !important;
    gap: 4px !important;
    font-size: 0.82rem !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  .kk-trust-kicker span:last-child::after {
    content: ":";
  }

  .kk-trust-kicker span:first-child {
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    font-size: 0.9rem !important;
  }

  .kk-trust-text {
    display: inline !important;
    margin: 0 !important;
    font-size: 0.82rem !important;
    line-height: 1.28 !important;
    font-weight: 760 !important;
  }

  .kk-trust-close {
    top: auto !important;
    right: 10px !important;
    bottom: 8px !important;
    width: 40px !important;
    height: 36px !important;
    font-size: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .kk-trust-capsule {
    display: inline-flex !important;
    left: 12px !important;
    right: auto !important;
    bottom: 12px !important;
    z-index: 8400 !important;
    min-height: 42px !important;
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
  }

  .kk-floating-contact {
    right: 12px !important;
    bottom: 108px !important;
    max-width: calc(100vw - 24px) !important;
    z-index: 9100 !important;
  }

  .kk-floating-toggle {
    min-height: 50px !important;
    padding: 14px 18px !important;
    font-size: 0.98rem !important;
  }

  .kk-floating-menu {
    min-width: min(292px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
  }

  body.kk-floating-contact-open .kk-trust-card,
  body.kk-floating-contact-open .kk-trust-capsule {
    opacity: 0 !important;
    transform: translateY(8px) !important;
    pointer-events: none !important;
  }

  /* Felső sárga/krém info boxok: mobilon ikon felül, szöveg alatta. */
  .services-hero .notice,
  .notice.info-box,
  .intro-note.info-box,
  .price-main .notice,
  .price-main .notice.info-box,
  .contact-hero p,
  .gallery-intro-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 430px !important;
    min-height: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 18px 16px !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .services-hero .notice::before,
  .notice.info-box::before,
  .intro-note.info-box::before,
  .price-main .notice::before,
  .price-main .notice.info-box::before,
  .contact-hero p::before,
  .gallery-intro-box::before {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 44px !important;
    width: 44px !important;
    height: 44px !important;
    margin: 0 auto 2px !important;
  }

  .services-hero .notice::before {
    font-size: 34px !important;
  }

  .price-main .notice::before,
  .price-main .notice.info-box::before,
  .gallery-intro-box::before {
    background-size: 32px 32px !important;
  }

  .notice.info-box .notice-text,
  .intro-note.info-box p,
  .gallery-intro-text,
  .contact-hero p span {
    display: block !important;
    width: 100% !important;
  }

  .contact-intro-box {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .contact-intro-icon {
    margin: 0 auto 4px !important;
    flex: 0 0 auto !important;
  }
}

@media (max-width: 390px) {
  body {
    padding-bottom: 198px !important;
  }

  .kk-floating-contact {
    bottom: 116px !important;
  }

  .kk-trust-text {
    font-size: 0.78rem !important;
    line-height: 1.25 !important;
  }
}


/* Univerzális visszahíváskérő kisablak – minden oldalon működik */
.kk-callback-modal {
  position: fixed;
  inset: 0;
  z-index: 9700;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  box-sizing: border-box;
}

.kk-callback-modal.is-open {
  display: flex;
}

.kk-callback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 12, 15, 0.58);
}

.kk-callback-dialog {
  position: relative;
  width: min(440px, calc(100vw - 28px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: linear-gradient(135deg, #fffdf8 0%, #fff8ee 100%);
  border: 1px solid rgba(215, 170, 85, 0.62);
  border-radius: 22px;
  box-shadow: 0 24px 58px rgba(37, 18, 21, 0.28);
  padding: 24px 22px 22px;
  color: #241b1d;
  box-sizing: border-box;
}

.kk-callback-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(139, 0, 20, 0.20);
  background: #fff;
  color: #8b0014;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.kk-callback-dialog h2 {
  margin: 0 42px 8px 0;
  color: #5a0f1b;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height: 1.15;
  font-weight: 900;
}

.kk-callback-dialog p {
  margin: 0 0 16px !important;
  color: #3b3032 !important;
  font-size: 0.98rem !important;
  line-height: 1.5 !important;
  font-weight: 760 !important;
}

.kk-callback-form {
  display: grid;
  gap: 10px;
}

.kk-callback-form label {
  color: #5a0f1b;
  font-weight: 900;
  font-size: 0.92rem;
}

.kk-callback-form input {
  width: 100%;
  min-height: 46px;
  border-radius: 13px;
  border: 1px solid rgba(139, 0, 20, 0.18);
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  box-sizing: border-box;
}

.kk-callback-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
  gap: 9px;
}

body.kk-modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .kk-callback-modal {
    padding: 12px;
    align-items: flex-end;
  }

  .kk-callback-dialog {
    width: 100%;
    max-height: calc(100vh - 24px);
    border-radius: 18px;
    padding: 22px 16px 18px;
  }

  .kk-callback-dialog h2 {
    font-size: 1.28rem;
  }
}
