/* Prázdny košík v štýle Kráčaj. Vygenerované z Návrhy/uvodna-stranka-2026-10/_zdroj/prazdny-kosik.html
   skriptom kosik_do_shoptetu.py, ručne neupravuj. */
  /* Prázdny košík v štýle brandingu od Marcusa. Všetko je pod .kp, aby sa to v Shoptete dotklo len prázdneho košíka. */
  .kp {
    --m-sage: #a0a98c; --m-sage4: #818a6d; --m-copper: #e1895c; --m-amber: #fbc776; --m-blue: #728dad;
    --m-black: #1a1a1a; --m-cream: #faf6ee;
    padding: 28px 0 70px; overflow: hidden;
  }
  /* #content: šablóna Disco má #content p { margin: 0 0 22px } a .cart-inner h2 { text-align: center }, preto silnejšie selektory */
  #content .kp h1, #content .kp h2, #content .kp h3 { letter-spacing: -.02em; color: var(--m-black); text-align: left; }

  /* Zvýraznené slovo (šikmý podklad, kurzíva) */
  .kp-zv { position: relative; display: inline-block; isolation: isolate; font-style: italic; font-weight: 800; padding: 0 .18em; white-space: nowrap; }
  .kp-zv::before { content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: .14em; bottom: .02em; background: var(--m-amber); transform: skewX(-12deg); border-radius: 3px; }
  .kp-zv.s::before { background: var(--m-sage); }

  /* Pilulkové tlačidlá */
  .kp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 15.5px;
    text-decoration: none; cursor: pointer; background: var(--m-black); color: #fff; border: 2px solid var(--m-black); transition: transform .15s ease; }
  .kp-btn:hover { transform: translateY(-2px); }
  .kp-btn svg { width: 18px; height: 18px; }
  .kp-btn > * { pointer-events: none; } /* klik má cieľ vždy tlačidlo (vyhľadávanie Shoptetu to kontroluje) */
  .kp-btn-2 { background: #fff; color: var(--m-black); }
  @keyframes kp-hojdanie { 50% { transform: rotate(var(--r2, 6deg)) translateY(-6px); } }
  @keyframes kp-toc { to { transform: rotate(360deg); } }

  /* 1 Úvod */
  .kp-hero { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px;
    background: var(--m-cream); border-radius: 34px; padding: 50px 56px; }
  .kp-stitok { display: inline-block; font-size: 13.5px; font-weight: 600; background: #fff; padding: 7px 16px; border-radius: 999px; margin: 0 0 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,.06); }
  .kp-hero h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.15; margin: 0; }
  #content .kp-hero-txt > p { font-size: 17.5px; color: #444; margin: 18px 0 26px; max-width: 540px; }
  .kp-cta { display: flex; flex-wrap: wrap; gap: 12px; }
  .kp-istoty { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; }
  .kp-istoty li { display: flex; align-items: center; gap: 10px; }
  .kp-istoty img { width: 42px; height: 42px; background: #e3e7d6; border-radius: 50%; padding: 6px; }

  .kp-ilu { position: relative; height: 360px; }
  .kp-kruh { position: absolute; left: 50%; top: 50%; width: 300px; height: 300px; margin: -150px 0 0 -150px; border-radius: 50%; background: #e3e7d6; }
  .kp-ilu .kp-n { position: absolute; animation: kp-hojdanie 5s ease-in-out infinite; }
  .kp-n1 { width: 190px; left: 50%; top: 30%; margin-left: -95px; transform: rotate(-8deg); --r2: -2deg; }
  .kp-n2 { width: 120px; right: 4%; top: 2%; transform: rotate(14deg); --r2: 20deg; animation-delay: -1.5s !important; }
  .kp-n3 { width: 130px; left: 2%; top: 6%; transform: rotate(-16deg); --r2: -10deg; animation-delay: -3s !important; }
  .kp-odznak { position: absolute; width: 126px; right: 8%; bottom: -6px; animation: kp-toc 30s linear infinite; filter: drop-shadow(0 8px 18px rgba(0,0,0,.15)); }
  .kp-srdce { position: absolute; width: 40px; left: 14%; bottom: 14%; }

  /* 2 Kategórie */
  .kp-kat { padding: 54px 0 10px; }
  .kp-kat-head { display: flex; align-items: center; gap: 16px; }
  .kp-kat-head h2 { font-size: 30px; font-weight: 600; margin: 0; }
  .kp-kat-head svg { width: 80px; }
  .kp-bubliny { display: grid; grid-template-columns: repeat(8, 1fr); gap: 22px 14px; margin-top: 26px; }
  .kp-b { text-align: center; text-decoration: none; font-weight: 700; color: var(--m-black); }
  .kp-b i { display: grid; place-items: center; width: 100%; max-width: 118px; aspect-ratio: 1; margin: 0 auto 10px; border-radius: 50%; transition: transform .25s cubic-bezier(.3,1.6,.6,1); }
  .kp-b:hover i { transform: translateY(-6px) rotate(-6deg); }
  .kp-b img { width: 60%; }
  /* poradie farieb podľa Marcusa: šalvia, medená, jantárová, modrá */
  .kp-b:nth-child(4n+1) i { background: #e3e7d6; }
  .kp-b:nth-child(4n+2) i { background: #f6d2bf; }
  .kp-b:nth-child(4n+3) i { background: #fde9c4; }
  .kp-b:nth-child(4n+4) i { background: #d6e0ec; }
  .kp-dalsie { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 34px 0 0; }
  .kp-dalsie span { font-weight: 600; color: #555; margin-right: 4px; }
  .kp-dalsie a { text-decoration: none; font-weight: 700; font-size: 14px; color: var(--m-black); padding: 8px 18px; border: 2px solid var(--m-black); border-radius: 999px; transition: background .15s; }
  .kp-dalsie a:nth-of-type(3n+1):hover { background: var(--m-amber); }
  .kp-dalsie a:nth-of-type(3n+2):hover { background: var(--m-copper); }
  .kp-dalsie a:nth-of-type(3n+3):hover { background: #c9d6e6; }

  /* 3 Poradíme a predajňa */
  .kp-karty { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 56px; }
  .kp-rada { display: grid; grid-template-columns: 210px 1fr; gap: 26px; align-items: center; background: var(--m-sage4); color: #fff; border-radius: 34px; padding: 26px; }
  .kp-rada-foto { height: 100%; min-height: 280px; border-radius: 24px; overflow: hidden; }
  .kp-rada-foto img, .kp-pred-foto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(.95) brightness(1.04); }
  .kp-rada-foto img { object-position: 50% 20%; }
  #content .kp-rada .kp-bublina { position: relative; background: #fff; color: var(--m-black); border-radius: 22px; padding: 16px 20px; font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0 0 16px; }
  .kp-bublina::after { content: ""; position: absolute; left: -10px; top: 24px; border: 10px solid transparent; border-right-color: #fff; border-left: 0; }
  #content .kp-rada p { margin: 0 0 18px; color: #f3f4ee; }
  .kp-kontakt { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
  .kp-kontakt a { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--m-black); text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 999px; }
  .kp-kontakt svg { width: 18px; height: 18px; }
  #content .kp-rada .kp-podpis { display: flex; align-items: center; gap: 8px; font-style: italic; font-weight: 700; color: #fff; margin: 18px 0 0; }
  .kp-podpis svg { width: 24px; }

  .kp-pred { display: flex; flex-direction: column; background: var(--m-cream); border-radius: 34px; overflow: hidden; }
  .kp-pred-foto { height: 210px; }
  .kp-pred-txt { padding: 24px 30px 30px; }
  .kp-pred-stitok { font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--m-sage4); }
  .kp-pred h3 { font-size: 24px; margin: 8px 0 10px; }
  #content .kp-pred p { margin: 0 0 8px; color: #444; }
  #content .kp-pred .kp-adresa { font-weight: 600; color: var(--m-black); margin-bottom: 18px; }


  @media (max-width: 980px) {
    .kp-hero { grid-template-columns: 1fr; padding: 30px 22px 28px; border-radius: 26px; }
    .kp-ilu { order: -1; height: 230px; }
    .kp-kruh { width: 200px; height: 200px; margin: -100px 0 0 -100px; }
    .kp-n1 { width: 130px; margin-left: -65px; }
    .kp-n2 { width: 84px; }
    .kp-n3 { width: 90px; }
    .kp-odznak { width: 92px; right: 2%; }
    .kp-karty { grid-template-columns: 1fr; }
    .kp-bubliny { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 640px) {
    .kp { padding-top: 14px; }
    .kp-hero h1 { font-size: 28px; }
    #content .kp-hero-txt > p { font-size: 16px; }
    .kp-cta .kp-btn { flex: 1 1 100%; justify-content: center; }
    .kp-istoty { flex-direction: column; gap: 10px; }
    .kp-kat-head h2 { font-size: 24px; }
    .kp-bubliny { gap: 16px 8px; }
    .kp-b { font-size: 12.5px; }
    .kp-b i { max-width: 68px; }
    .kp-dalsie { justify-content: flex-start; }
    .kp-dalsie span { flex-basis: 100%; }
    .kp-rada { grid-template-columns: 1fr; border-radius: 26px; padding: 18px; }
    .kp-rada-foto { min-height: 0; height: 240px; }
    .kp-bublina::after { left: 30px; top: -10px; border: 10px solid transparent; border-bottom-color: #fff; border-top: 0; }
    .kp-pred { border-radius: 26px; }
    .kp-pred-txt { padding: 20px 20px 24px; }
  }

  /* Pôvodný obsah košíka sa skryje až po vložení bloku. Keď JS zlyhá, ostane pôvodný košík. */
  .kp-hotovo > .cart-heading, .kp-hotovo > .cart-row { display: none !important; }
