/* HELIUMKING – VIANOČNÉ STROMČEKY – KOMPLETNÉ CSS V5
   Určené pre HTML triedy hk-xmas-* v popise kategórie.
   Produktové karty sú obmedzené iba na kategóriu s .hk-xmas-hero. */

:root {
  --hk-xmas-yellow: #F9C94E;
  --hk-xmas-navy: #294F6A;
  --hk-xmas-mint: #75C3A5;
  --hk-xmas-pink: #F29AB5;
  --hk-xmas-ink: #344B5B;
  --hk-xmas-line: #E7ECEF;
}

/* HERO banner */
#content .hk-xmas-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: center;
  gap: clamp(24px, 4vw, 54px);
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  margin: 0 0 30px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 22px;
  background: linear-gradient(115deg, #FFF9EA 0%, #FFFEFB 58%, #F1F8F5 100%);
  color: var(--hk-xmas-ink);
}
#content .hk-xmas-hero *,
#content .hk-xmas-hero *::before,
#content .hk-xmas-hero *::after { box-sizing: border-box; }

#content .hk-xmas-hero__content { position: relative; z-index: 2; min-width: 0; max-width: 570px; }
#content .hk-xmas-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--hk-xmas-navy);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.4;
  text-transform: uppercase;
}
#content .hk-xmas-hero__content h2 {
  margin: 0 0 17px;
  color: var(--hk-xmas-navy);
  font-size: clamp(27px, 3vw, 42px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.035em;
}
#content .hk-xmas-hero__content p {
  max-width: 520px;
  margin: 0 0 23px;
  color: #52636E;
  font-size: 15px;
  line-height: 1.7;
}
#content .hk-xmas-button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  background: var(--hk-xmas-yellow);
  color: var(--hk-xmas-navy) !important;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
#content .hk-xmas-button:hover { transform: translateY(-2px); background: #F5BD35; box-shadow: 0 8px 20px rgba(41,79,106,.14); }
#content .hk-xmas-button span {
  color: var(--hk-xmas-pink) !important;
  font-size: 23px;
  font-weight: 900;
  transition: transform .2s ease;
}
#content .hk-xmas-button:hover span { transform: translateX(4px); }

#content .hk-xmas-benefits { display: flex; flex-wrap: wrap; gap: 10px 17px; margin: 22px 0 0; }
#content .hk-xmas-benefits > div {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #52636E;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}
#content .hk-benefit-icon {
  display: inline-grid;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  place-items: center;
  border-radius: 50%;
  background: #E5F4ED;
  color: #398568;
  font-size: 12px;
  font-weight: 900;
}

/* Dve fotografie */
#content .hk-xmas-visuals {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 0 5px 14px;
}
#content .hk-xmas-photo {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  border: 5px solid #fff;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(41,79,106,.12);
}
#content .hk-xmas-photo--after { transform: translateY(22px); }
#content .hk-xmas-photo img {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
#content .hk-xmas-label {
  display: block;
  padding: 10px 5px;
  background: #fff;
  color: var(--hk-xmas-navy);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .045em;
  line-height: 1.3;
  text-align: center;
}
#content .hk-xmas-sparkle { position: absolute; z-index: 3; color: var(--hk-xmas-yellow); font-size: 24px; pointer-events: none; }
#content .hk-sparkle-one { top: -12px; left: 48%; }
#content .hk-sparkle-two { right: -3px; bottom: 0; color: var(--hk-xmas-pink); font-size: 29px; }

/* Výber výšky */
#content .hk-xmas-height-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 24px;
  margin: 0 0 26px;
  padding: 20px 22px;
  border: 1px solid #E8EDF0;
  border-radius: 16px;
  background: #fff;
}
#content .hk-xmas-height-filter__intro { display: flex; flex-direction: column; gap: 4px; }
#content .hk-xmas-height-filter__title { margin: 0; color: var(--hk-xmas-navy); font-size: 17px; font-weight: 800; line-height: 1.3; }
#content .hk-xmas-height-filter__subtitle { margin: 0; color: #71808A; font-size: 12px; line-height: 1.4; }
#content .hk-xmas-height-filter__options { display: flex; flex-wrap: wrap; gap: 10px; }
#content .hk-xmas-height-filter__link {
  display: inline-flex;
  min-width: 116px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid #DCE5E9;
  border-radius: 999px;
  background: #fff;
  color: var(--hk-xmas-navy) !important;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
#content .hk-xmas-height-filter__link:hover { transform: translateY(-2px); border-color: var(--hk-xmas-yellow); background: #FFF8E8; }

/* Produktové karty iba v kategórii s týmto bannerom */
#content:has(.hk-xmas-hero) #products.products > .product { padding: 8px !important; border: 0 !important; background: transparent !important; }
#content:has(.hk-xmas-hero) #products.products > .product > .p {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid var(--hk-xmas-line) !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 3px 12px rgba(41,79,106,.045);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
#content:has(.hk-xmas-hero) #products.products > .product:hover > .p { transform: translateY(-4px); border-color: #D8E8E1 !important; box-shadow: 0 12px 28px rgba(41,79,106,.11); }
#content:has(.hk-xmas-hero) #products.products > .product .image { position: relative; display: block; overflow: hidden; margin: 10px 10px 0 !important; padding: 0 !important; border-radius: 13px; background: #F8F9F7; }
#content:has(.hk-xmas-hero) #products.products > .product .image img { display: block; width: 100%; border-radius: 13px; transition: transform .35s ease; }
#content:has(.hk-xmas-hero) #products.products > .product:hover .image img { transform: scale(1.025); }
#content:has(.hk-xmas-hero) #products.products > .product .p-in { display: flex; flex: 1 1 auto; flex-direction: column; padding: 15px 15px 16px !important; }
#content:has(.hk-xmas-hero) #products.products > .product .name { display: block; min-height: 48px; margin: 0 0 10px !important; color: var(--hk-xmas-navy) !important; font-size: 14px !important; font-weight: 750 !important; line-height: 1.45 !important; }
#content:has(.hk-xmas-hero) #products.products > .product .name a { color: var(--hk-xmas-navy) !important; text-decoration: none !important; }
#content:has(.hk-xmas-hero) #products.products > .product .availability { min-height: 18px; margin: 0 0 9px !important; color: #55A77F !important; font-size: 11px !important; font-weight: 700; }
#content:has(.hk-xmas-hero) #products.products > .product .prices { margin: auto 0 13px !important; padding-top: 7px; }
#content:has(.hk-xmas-hero) #products.products > .product .price { color: var(--hk-xmas-navy) !important; font-size: 21px !important; font-weight: 850 !important; }
#content:has(.hk-xmas-hero) #products.products > .product .btn-cart,
#content:has(.hk-xmas-hero) #products.products > .product button.btn-cart {
  display: flex;
  width: 100%;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--hk-xmas-yellow) !important;
  color: var(--hk-xmas-navy) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}

/* Mobil */
@media (max-width: 767px) {
  #content .hk-xmas-hero { grid-template-columns: 1fr !important; gap: 23px; margin-bottom: 24px; padding: 24px 18px 29px; border-radius: 16px; }
  #content .hk-xmas-hero__content h2 { font-size: clamp(27px, 8vw, 35px); }
  #content .hk-xmas-hero__content p { font-size: 14px; }
  #content .hk-xmas-visuals { width: 100%; max-width: 440px; margin: 0 auto; gap: 10px; }
  #content .hk-xmas-photo { border-width: 4px; border-radius: 13px; }
  #content .hk-xmas-photo--after { transform: translateY(12px); }
  #content .hk-xmas-label { padding: 8px 3px; font-size: 9px; }
  #content .hk-xmas-benefits { gap: 9px 13px; }
  #content .hk-xmas-benefits > div { font-size: 11px; }
  #content .hk-xmas-height-filter { align-items: stretch; flex-direction: column; margin-bottom: 20px; padding: 16px; }
  #content .hk-xmas-height-filter__options { display: grid; grid-template-columns: 1fr 1fr; }
  #content .hk-xmas-height-filter__link { min-width: 0; padding: 0 12px; }
  #content:has(.hk-xmas-hero) #products.products > .product { padding: 4px !important; }
  #content:has(.hk-xmas-hero) #products.products > .product > .p { border-radius: 13px !important; }
  #content:has(.hk-xmas-hero) #products.products > .product .image { margin: 6px 6px 0 !important; border-radius: 9px; }
  #content:has(.hk-xmas-hero) #products.products > .product .p-in { padding: 10px 9px 11px !important; }
  #content:has(.hk-xmas-hero) #products.products > .product .name { min-height: 0; font-size: 12px !important; }
  #content:has(.hk-xmas-hero) #products.products > .product .price { font-size: 17px !important; }
  #content:has(.hk-xmas-hero) #products.products > .product .btn-cart { min-height: 39px; font-size: 12px !important; }
}


/* V6 – doladenie mobilných názvov a krajší výber výšky */

/* Na mobile zobraz celý názov produktu – šablóna ho predtým orezávala */
@media (max-width: 767px) {
  #content:has(.hk-xmas-hero) #products.products > .product .name,
  #content:has(.hk-xmas-hero) #products.products > .product .name a {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: clip !important;
    -webkit-line-clamp: unset !important;
    line-clamp: unset !important;
    -webkit-box-orient: initial !important;
  }

  #content:has(.hk-xmas-hero) #products.products > .product .name {
    margin-bottom: 12px !important;
    line-height: 1.45 !important;
  }
}

/* Výber výšky – dve samostatné, výraznejšie voľby */
#content .hk-xmas-height-filter {
  align-items: center;
  gap: 18px 28px;
  padding: 22px 24px;
  border: 1px solid #E7ECEF;
  border-radius: 18px;
  background: linear-gradient(110deg, #FFFCF4 0%, #FFFFFF 58%, #F4FAF7 100%);
}

#content .hk-xmas-height-filter__title {
  font-size: 18px;
  letter-spacing: -.02em;
}

#content .hk-xmas-height-filter__subtitle {
  margin-top: 3px;
  font-size: 13px;
}

#content .hk-xmas-height-filter__options {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

#content .hk-xmas-height-filter__link {
  position: relative;
  display: flex;
  min-width: 142px;
  min-height: 76px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  padding: 12px 18px 12px 52px;
  border: 1px solid #E3EAE9;
  border-radius: 14px;
  background: #FFFFFF;
  color: #294F6A !important;
  font-size: 19px;
  font-weight: 850;
  line-height: 1.15;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(41,79,106,.035);
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

#content .hk-xmas-height-filter__link::before {
  content: "♧";
  position: absolute;
  left: 15px;
  top: 50%;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: #E8F4EE;
  color: #4B9A78;
  font-size: 19px;
  line-height: 1;
}

#content .hk-xmas-height-filter__link::after {
  content: "Vybrať výšku  →";
  display: block;
  margin-top: 3px;
  color: #77858D;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .01em;
}

#content .hk-xmas-height-filter__link:hover {
  transform: translateY(-3px);
  border-color: #F2C34C;
  background: #FFFDF7;
  box-shadow: 0 8px 18px rgba(41,79,106,.08);
}

@media (max-width: 767px) {
  #content .hk-xmas-height-filter {
    align-items: stretch;
    gap: 13px;
    padding: 17px 15px;
  }

  #content .hk-xmas-height-filter__title {
    font-size: 16px;
  }

  #content .hk-xmas-height-filter__subtitle {
    font-size: 12px;
  }

  #content .hk-xmas-height-filter__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  #content .hk-xmas-height-filter__link {
    min-width: 0;
    min-height: 70px;
    padding: 10px 8px 10px 42px;
    border-radius: 13px;
    font-size: 17px;
  }

  #content .hk-xmas-height-filter__link::before {
    left: 10px;
    width: 25px;
    height: 25px;
    font-size: 17px;
  }

  #content .hk-xmas-height-filter__link::after {
    font-size: 9px;
  }
}


/* V7 – rodinná vianočná atmosféra + elegantná premena stromčeka
   Zachováva všetky štýly V6. Produktové karty ostávajú obmedzené
   iba na kategóriu s .hk-xmas-hero. */

/* Jemná ružová šípka medzi fotografiami */
#content .hk-xmas-visuals::after {
  content: "➜";
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 49%;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 3px solid #FFFFFF;
  border-radius: 50%;
  background: linear-gradient(135deg, #F7A0BC 0%, #E95D91 100%);
  color: #FFFFFF;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 5px 16px rgba(41,79,106,.18);
  pointer-events: none;
}

/* Rodinný GIF v pravej fotografii – zachová rámik a rozmer karty */
#content .hk-xmas-photo--after img {
  display: block;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

/* Pravá fotografia môže mať jemne výraznejší rámik */
#content .hk-xmas-photo--after {
  border-color: #FFFFFF;
  box-shadow: 0 12px 30px rgba(41,79,106,.14);
}

/* Výber výšky – o niečo výraznejšie, ale stále v pôvodných farbách */
#content .hk-xmas-height-filter {
  border-color: #E4ECE8;
  background: linear-gradient(105deg, #FFF9EA 0%, #FFFFFF 54%, #F0F8F4 100%);
}

#content .hk-xmas-height-filter__link {
  border-color: #E1EAE6;
  box-shadow: 0 5px 15px rgba(41,79,106,.06);
}

#content .hk-xmas-height-filter__link:hover {
  border-color: #F9C94E;
  background: #FFF9E9;
}

/* Menšia šípka na mobile, aby neprekryla stromček */
@media (max-width: 767px) {
  #content .hk-xmas-visuals::after {
    width: 38px;
    height: 38px;
    border-width: 2px;
    font-size: 20px;
  }
}
