/* HELIUMKING – nový horný rozcestník vianočných stromčekov
   Pridajte na koniec existujúceho CSS. Produktové karty nemení. */

#content .hk-xmas-hero.hk-xmas-hero--picker {
  display: block !important;
  padding: 0 !important;
  margin: 0 0 28px !important;
  overflow: visible !important;
  background: transparent !important;
  border-radius: 0 !important;
}

#content .hk-tree-picker {
  border: 1px solid #e7ecef;
  border-radius: 24px;
  padding: clamp(22px, 3.5vw, 42px);
  background: linear-gradient(115deg, #fff9ea 0%, #fff 55%, #f1f8f5 100%);
  box-shadow: 0 8px 28px rgba(41,79,106,.06);
  color: #344b5b;
}

#content .hk-picker-inner { max-width: 1180px; margin: 0 auto; }
#content .hk-picker-heading { text-align: center; max-width: 700px; margin: 0 auto 26px; }
#content .hk-picker-eyebrow {
  display: block; margin-bottom: 9px; color: #579e84;
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
}
#content .hk-picker-heading h2 {
  margin: 0 0 10px; color: #294f6a;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 850;
}
#content .hk-picker-heading p { margin: 0; color: #647580; font-size: 14px; line-height: 1.6; }
#content .hk-picker-label {
  margin: 22px 0 12px; text-align: center; color: #294f6a; font-size: 16px; font-weight: 800;
}
#content .hk-picker-heights { display: flex; justify-content: center; gap: 12px; }
#content .hk-picker-height {
  min-width: 150px; min-height: 50px; padding: 10px 24px;
  border: 1px solid #dce7e2; border-radius: 13px; background: #fff;
  color: #294f6a; font-size: 17px; font-weight: 800; cursor: pointer;
  transition: .2s ease;
}
#content .hk-picker-height:hover,
#content .hk-picker-height.is-selected {
  border-color: #579e84; background: #eaf5ef; box-shadow: 0 4px 13px rgba(50,115,88,.1);
}
#content .hk-picker-label--types { text-align: center; margin-top: 28px; }
#content .hk-picker-types {
  display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 13px;
}
#content .hk-picker-type {
  min-width: 0; padding: 10px 10px 13px; overflow: hidden;
  border: 1px solid #e3eae6; border-radius: 16px; background: #fff;
  color: #294f6a; text-align: center; cursor: pointer;
  box-shadow: 0 3px 12px rgba(41,79,106,.045); transition: .2s ease;
}
#content .hk-picker-type:hover { transform: translateY(-3px); border-color: #b8d8c9; }
#content .hk-picker-type.is-selected {
  border: 2px solid #579e84; padding: 9px 9px 12px;
  background: #f2faf5; box-shadow: 0 0 0 3px rgba(87,158,132,.12);
}
#content .hk-picker-type img {
  display: block; width: 100%; height: 145px; margin: 0 auto 10px;
  object-fit: contain; object-position: center bottom; border-radius: 10px;
  background: #f8faf8;
}
#content .hk-picker-type strong { display: block; min-height: 38px; font-size: 13px; line-height: 1.35; }
#content .hk-picker-card-hint { display: block; margin-top: 5px; color: #789087; font-size: 10px; font-weight: 700; }
#content .hk-picker-type.is-selected .hk-picker-card-hint { color: #398568; }
#content .hk-picker-image-placeholder {
  display: grid; height: 145px; margin-bottom: 10px; place-items: center;
  background: #f8faf8; border-radius: 10px; font-size: 48px;
}
#content .hk-picker-submit {
  display: flex; justify-content: center; align-items: center;
  min-width: 230px; min-height: 50px; margin: 25px auto 0; padding: 12px 25px;
  border: 0; border-radius: 999px; background: #f9c94e; color: #294f6a;
  font-size: 15px; font-weight: 850; cursor: pointer; transition: .2s ease;
}
#content .hk-picker-submit:not(:disabled):hover { transform: translateY(-2px); background: #f5bd35; box-shadow: 0 7px 18px rgba(41,79,106,.12); }
#content .hk-picker-submit:disabled { opacity: .55; cursor: not-allowed; }
body.in-vianocne-stromceky .hk-tree-section { scroll-margin-top: 110px; }
@media (max-width: 600px) {
  body.in-vianocne-stromceky .hk-tree-section { scroll-margin-top: 82px; }
}
body.in-vianocne-stromceky .hk-picker-target {
  outline: 3px solid rgba(87,158,132,.55) !important;
  outline-offset: 4px; transition: outline .25s ease;
}

@media (max-width: 900px) {
  #content .hk-picker-types { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 600px) {
  #content .hk-xmas-hero.hk-xmas-hero--picker { margin-bottom: 20px !important; }
  #content .hk-tree-picker { padding: 21px 13px; border-radius: 17px; }
  #content .hk-picker-heading { margin-bottom: 18px; }
  #content .hk-picker-heading p { font-size: 12px; }
  #content .hk-picker-label {
    font-size: 14px;
    margin-top: 18px;
    text-align: center;
  }
  #content .hk-picker-label--types {
    text-align: center;
  }
  #content .hk-picker-height { min-width: 0; flex: 1; min-height: 46px; }
  #content .hk-picker-types { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  #content .hk-picker-type { padding: 7px 7px 10px; border-radius: 13px; }
  #content .hk-picker-type.is-selected { padding: 6px 6px 9px; }
  #content .hk-picker-type img,
  #content .hk-picker-image-placeholder { height: 125px; }
  #content .hk-picker-type strong { font-size: 12px; min-height: 32px; }
  #content .hk-picker-submit { width: 100%; min-width: 0; margin-top: 20px; }
}


/* HELIUMKING – finálne zimné pozadie a originálny visiaci stromček */
#content .hk-tree-picker {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-color: #dcebe0;
  background:
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 22%, rgba(255,255,255,.8) 0 2px, transparent 3px),
    radial-gradient(circle at 15% 82%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 78%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    linear-gradient(135deg, #eaf4ec 0%, #f3f8f2 52%, #e6f1e8 100%);
  padding-bottom: clamp(38px, 4vw, 52px);
}

/* Originálny zavesený stromček z produktového detailu – pravá strana */
#content .hk-tree-picker::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 18px;
  right: 34px;
  width: 112px;
  height: 178px;
  background: url("/user/documents/upload/Vianoce/hk-zaveseny-stromcek.svg") center top / contain no-repeat;
  transform-origin: 50% 0;
  animation: hk-picker-tree-swing 4.5s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(2px 5px 5px rgba(30,50,35,.13));
}

#content .hk-tree-picker::after {
  content: "✦       ❄       ✧";
  position: absolute;
  z-index: 0;
  top: 28px;
  left: 28px;
  color: rgba(87,158,132,.38);
  font-size: 19px;
  letter-spacing: 12px;
  pointer-events: none;
}

#content .hk-picker-inner {
  position: relative;
  z-index: 1;
}

#content .hk-picker-heading {
  position: relative;
  z-index: 1;
}

#content .hk-picker-submit {
  margin-top: 27px;
  margin-bottom: 4px;
}

@keyframes hk-picker-tree-swing {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(3deg); }
}

@media (max-width: 767px) {
  #content .hk-tree-picker::before {
    top: 12px;
    right: 10px;
    width: 55px;
    height: 90px;
  }
  #content .hk-tree-picker::after {
    top: 12px;
    left: 10px;
    font-size: 14px;
    letter-spacing: 5px;
  }
  #content .hk-picker-submit {
    margin-top: 23px;
    margin-bottom: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #content .hk-tree-picker::before {
    animation: none;
  }
}


/* FINÁLNA OPRAVA POZADIA – vyššia priorita než pôvodné štýly hero bloku */
body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker {
  background-color: #edf5ee !important;
  background-image:
    radial-gradient(circle at 8% 18%, rgba(255,255,255,.85) 0 2px, transparent 3px),
    radial-gradient(circle at 92% 22%, rgba(255,255,255,.8) 0 2px, transparent 3px),
    radial-gradient(circle at 15% 82%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    radial-gradient(circle at 86% 78%, rgba(255,255,255,.75) 0 2px, transparent 3px),
    linear-gradient(135deg, #eaf4ec 0%, #f3f8f2 52%, #e6f1e8 100%) !important;
  border-color: #dcebe0 !important;
}

/* Vnútorný obsah nesmie prekryť zelené pozadie */
body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker .hk-picker-inner {
  background: transparent !important;
}


/* =========================================================
   HELIUMKING – zimná zelenomodrá verzia rozcestníka
   Jemné zasnežené pozadie, bez ďalšieho JavaScriptu.
   ========================================================= */

body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker {
  background-color: #eaf5f2 !important;
  background-image:
    /* jemné snehové bodky */
    radial-gradient(circle, rgba(255,255,255,.96) 0 1.5px, transparent 2.6px),
    radial-gradient(circle, rgba(255,255,255,.82) 0 2px, transparent 3px),
    radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 2px),
    /* vzdialené zasnežené kopce v spodnej časti */
    radial-gradient(ellipse 58% 19% at 12% 108%, rgba(255,255,255,.78) 0 58%, transparent 60%),
    radial-gradient(ellipse 66% 23% at 88% 112%, rgba(255,255,255,.72) 0 58%, transparent 60%),
    radial-gradient(ellipse 48% 13% at 50% 108%, rgba(210,233,226,.58) 0 58%, transparent 60%),
    /* hlavný ľadovozelený gradient */
    linear-gradient(135deg, #e5f2ed 0%, #eff8f5 48%, #dfeeea 100%) !important;
  background-size:
    113px 107px,
    167px 151px,
    79px 89px,
    100% 100%,
    100% 100%,
    100% 100%,
    100% 100% !important;
  background-position:
    12px 18px,
    63px 41px,
    31px 72px,
    center,
    center,
    center,
    center !important;
  border: 1px solid #d5e9e2 !important;
  box-shadow: 0 12px 32px rgba(52, 100, 87, .07);
}

/* Visiaci stromček ostáva vpravo a jemne sa kolíše */
body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker::before {
  right: 34px;
  left: auto;
  top: 18px;
  width: 112px;
  height: 178px;
  background-image: url("/user/documents/upload/Vianoce/hk-zaveseny-stromcek.svg");
  background-position: center top;
  background-repeat: no-repeat;
  background-size: contain;
  animation: hk-picker-tree-swing 4.5s ease-in-out infinite;
}

/* Dekoratívne vločky v hornom ľavom rohu */
body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker::after {
  content: "✦   ❄   ✧";
  top: 28px;
  left: 28px;
  right: auto;
  color: rgba(75, 151, 130, .48);
  font-size: 21px;
  letter-spacing: 10px;
  text-shadow:
    210px 105px 0 rgba(255,255,255,.72),
    430px 25px 0 rgba(255,255,255,.66),
    680px 155px 0 rgba(255,255,255,.72),
    900px 70px 0 rgba(255,255,255,.68);
  pointer-events: none;
}

body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker .hk-picker-inner {
  position: relative;
  z-index: 1;
  background: transparent !important;
}

body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker .hk-picker-submit {
  margin-top: 27px;
  margin-bottom: 5px;
}

@media (max-width: 767px) {
  body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker {
    background-size:
      95px 91px,
      137px 123px,
      70px 79px,
      100% 100%,
      100% 100%,
      100% 100%,
      100% 100% !important;
  }

  body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker::before {
    top: 12px;
    right: 10px;
    left: auto;
    width: 55px;
    height: 90px;
  }

  body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker::after {
    top: 13px;
    left: 10px;
    font-size: 14px;
    letter-spacing: 5px;
    text-shadow:
      95px 80px 0 rgba(255,255,255,.72),
      205px 145px 0 rgba(255,255,255,.66);
  }

  body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker .hk-picker-submit {
    margin-top: 23px;
    margin-bottom: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body #content .hk-xmas-hero.hk-xmas-hero--picker.hk-tree-picker::before {
    animation: none;
  }
}
