/* =========================================================
   HAKURO – style do stron CMS (bez szablonu v.6) · hk-cms.css · 2026-11-03
   Źródło: rblaszcz/hakuro-design-system/web/hk-cms.css
   (blok DS z web/hakuro-szablon-ds.less, ograniczony do kontenera .hk-cms)

   Użycie na stronie CMS (Edycja zaawansowana):
     <link rel="stylesheet" href="/data/include/cms/hk-cms.css?v=20261103">
     <div class="hk-cms"> … klasy .hk-display, .hk-h2, .hk-eyebrow, .hk-lead,
       .hk-link, .hk-button(--solid, --large), .hk-actions, .hk-facts/.hk-fact,
       .hk-steps, .hk-tiles, .hk-item__title/__text, .hk-split(--dark), .hk-faq … </div>
     <div class="hk-cms hk-cms--bleed"> – tło na całą szerokość okna (wyjście z kontenera 1200 px)

   Fonty Love i SangBleu OG Sans ładuje szablon sklepu (cdn.hakuro.eu/fonts),
   Figtree – ten plik. Wszystko pod .hk-cms, więc nic nie zmienia się poza stroną.
   Selektor html body:not(#hk-cms) daje specyficzność ID – wygrywa z regułami
   szablonu v.5 (.cm .hk-button, :is(#main_cms) …).
   Gdy szablon v.6 zostanie opublikowany, plik można przestać ładować.
   ========================================================= */

/* --- Kontener ---------------------------------------------------------- */
html body:not(#hk-cms) .hk-cms {
  font-family: 'SangBleu OG Sans', Georgia, serif;
  font-weight: 400;
  color: #282828;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
html body:not(#hk-cms) .hk-cms *,
html body:not(#hk-cms) .hk-cms *::before,
html body:not(#hk-cms) .hk-cms *::after { box-sizing: border-box; }
html body:not(#hk-cms) .hk-cms h1,
html body:not(#hk-cms) .hk-cms h2,
html body:not(#hk-cms) .hk-cms h3 { font-weight: 400; letter-spacing: 0; text-transform: none; }
html body:not(#hk-cms) .hk-cms img { display: block; max-width: 100%; height: auto; }
html body:not(#hk-cms) .hk-cms a { text-decoration: none; }
/* Listy-komponenty (z klasą: kafle, karuzela, kroki) bez wcięć i punktorów szablonu
   (szablon v.5: .text_menu__txt_sub ul { padding-left: 30px !important }, .cm ul { margin: 15px 0 }).
   Zwykłe listy <ul> bez klasy zostają w stylu szablonu. */
html body:not(#hk-cms) .hk-cms ul[class],
html body:not(#hk-cms) .hk-cms ol[class] { padding: 0 !important; margin: 0; list-style: none; }
/* Tło na całą szerokość okna, także gdy strona CMS siedzi w kontenerze szablonu */
html body:not(#hk-cms) .hk-cms--bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
html body:has(.hk-cms--bleed) { overflow-x: clip; }
/* Na telefonie szablon daje treści CMS overflow:auto – przycina tło o 15 px z każdej strony */
html body:not(#hk-cms) .text_menu__txt_sub:has(> .hk-cms--bleed) { overflow: visible !important; }

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/figtree/v9/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_d_QG5XyEA25WTzZO_OSg.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/figtree/v9/_Xmz-HUzqDCFdgfMsYiV_F7wfS-Bs_d_QG5ZyEA25WTzZO8.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
html body:not(#hk-cms) .hk-cms .hkhead,
html body:not(#hk-cms) .hk-cms .hk-display {
  font-weight: 400;
  font-synthesis: none;
}
html body:not(#hk-cms) .hk-cms .hk-button {
  display: inline-block;
  cursor: pointer;
  font-family: 'Figtree', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16.72px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 0;
  padding: 0.6em 0.7em 0.5em;
  margin: 5px 0;
  border: 1px solid #282828;
  background: transparent;
  color: #282828;
  box-shadow: none;
  transition: none;
  /* hover bez animacji – kontur zmienia się od razu */
}
html body:not(#hk-cms) .hk-cms .hk-button:hover,
html body:not(#hk-cms) .hk-cms .hk-button:focus-visible {
  color: #282828;
  border: 1px solid #282828;
  margin: 5px 0;
  box-shadow: 1px 1px 0 0 #282828;
  transition: none;
}
html body:not(#hk-cms) .hk-cms .hk-button--solid {
  background: #282828;
  color: #F2E5E3;
}
html body:not(#hk-cms) .hk-cms .hk-button--solid:hover,
html body:not(#hk-cms) .hk-cms .hk-button--solid:focus-visible {
  background: #000;
  border-color: #000;
  color: #F2E5E3;
  box-shadow: 1px 1px 0 0 #000;
}
html body:not(#hk-cms) .hk-cms .hk-button--large {
  font-size: 14px;
  line-height: 1.4;
  padding: 0.9em 1.4em 0.8em;
}
html body:not(#hk-cms) .hk-cms .hk-button:focus-visible {
  outline: 2px solid #282828;
  outline-offset: 3px;
}
html body:not(#hk-cms) .hk-cms .hk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
html body:not(#hk-cms) .hk-cms .hk-actions .hk-button,
html body:not(#hk-cms) .hk-cms .hk-actions .hk-button:hover,
html body:not(#hk-cms) .hk-cms .hk-actions .hk-button:focus-visible {
  margin: 0;
}
html body:not(#hk-cms) .hk-cms .hk-display {
  font-family: Love, 'Times', serif;
  font-size: 110px;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-display {
    font-size: 72px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-h2 {
  font-family: 'SangBleu OG Sans', Georgia, serif;
  font-weight: 400;
  font-synthesis: none;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-h2 {
    font-size: 34px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-eyebrow {
  display: block;
  font-family: 'Figtree', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6765;
}
html body:not(#hk-cms) .hk-cms .hk-lead {
  font-family: 'SangBleu OG Sans', Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  color: #4a4645;
  margin: 0;
}
html body:not(#hk-cms) .hk-cms .hk-link {
  display: inline-block;
  font-family: 'Figtree', Helvetica, Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: #282828;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}
html body:not(#hk-cms) .hk-cms .hk-link:hover {
  color: #000;
}
html body:not(#hk-cms) .hk-cms .hk-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  padding: 48px 16px;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-facts {
    grid-template-columns: 1fr;
    padding: 40px 24px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-fact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 54px 32px;
  font-family: 'SangBleu OG Sans', Georgia, serif;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-fact {
    padding: 20px 8px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-fact + .hk-fact {
  border-left: 1px solid #282828;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-fact + .hk-fact {
    border-left: 0;
    border-top: 1px solid #282828;
  }
}
html body:not(#hk-cms) .hk-cms .hk-fact__title {
  font-size: 21px;
  line-height: 1.3;
  color: #282828;
}
html body:not(#hk-cms) .hk-cms .hk-fact__text {
  font-size: 15px;
  line-height: 1.55;
  color: #6b6765;
}
html body:not(#hk-cms) .hk-cms .hk-steps,
html body:not(#hk-cms) .hk-cms .hk-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-steps,
  html body:not(#hk-cms) .hk-cms .hk-tiles {
    grid-template-columns: 1fr;
  }
}
html body:not(#hk-cms) .hk-cms .hk-steps {
  gap: 40px;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-steps {
    gap: 28px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-tiles {
  gap: 1px;
}
html body:not(#hk-cms) .hk-cms .hk-steps > *,
html body:not(#hk-cms) .hk-cms .hk-tiles > * {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
html body:not(#hk-cms) .hk-cms .hk-steps > * {
  border-top: 2px solid #282828;
  padding-top: 22px;
}
html body:not(#hk-cms) .hk-cms .hk-tiles > * {
  background: #fff;
  padding: 48px 40px 52px;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-tiles > * {
    padding: 36px 28px 40px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-steps > * > .hk-eyebrow,
html body:not(#hk-cms) .hk-cms .hk-tiles > * > .hk-eyebrow {
  margin-bottom: 52px;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-steps > * > .hk-eyebrow,
  html body:not(#hk-cms) .hk-cms .hk-tiles > * > .hk-eyebrow {
    margin-bottom: 32px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-item__title {
  font-family: 'SangBleu OG Sans', Georgia, serif;
  font-weight: 400;
  font-size: 23px;
  line-height: 1.25;
  color: #282828;
  margin: 0;
}
html body:not(#hk-cms) .hk-cms .hk-item__text {
  font-family: 'SangBleu OG Sans', Georgia, serif;
  font-size: 16px;
  line-height: 1.65;
  color: #4a4645;
  margin: 0;
}
html body:not(#hk-cms) .hk-cms .hk-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-split {
    grid-template-columns: 1fr;
  }
}
html body:not(#hk-cms) .hk-cms .hk-split__img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-split__img {
    min-height: 280px;
    height: 300px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 72px 72px 72px 64px;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-split__text {
    padding: 48px 24px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-split__text p {
  font-family: 'SangBleu OG Sans', Georgia, serif;
  font-size: 18px;
  line-height: 1.7;
  color: #4a4645;
  max-width: 46ch;
  margin: 0;
}
html body:not(#hk-cms) .hk-cms .hk-split--dark {
  background: #282828;
  color: #F2E5E3;
}
html body:not(#hk-cms) .hk-cms .hk-split--dark .hk-split__text {
  padding: 72px 64px 72px 72px;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-split--dark .hk-split__text {
    padding: 48px 24px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-split--dark .hk-split__text p {
  color: #e3d5d2;
}
html body:not(#hk-cms) .hk-cms .hk-split--dark .hk-eyebrow {
  color: #bfb2af;
}
html body:not(#hk-cms) .hk-cms .hk-split--dark .hk-h2 {
  color: #F2E5E3;
}
html body:not(#hk-cms) .hk-cms .hk-split--dark .hk-link {
  color: #F2E5E3;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-split--dark .hk-split__img {
    order: -1;
  }
}
html body:not(#hk-cms) .hk-cms .hk-faq {
  border-top: 1px solid #d8c9c6;
}
html body:not(#hk-cms) .hk-cms .hk-faq details {
  border-bottom: 1px solid #d8c9c6;
}
html body:not(#hk-cms) .hk-cms .hk-faq summary {
  cursor: pointer;
  list-style: none;
  position: relative;
  padding: 24px 44px 24px 0;
  font-family: 'SangBleu OG Sans', Georgia, serif;
  font-size: 22px;
  line-height: 1.3;
  color: #282828;
}
@media (max-width: 900px) {
  html body:not(#hk-cms) .hk-cms .hk-faq summary {
    font-size: 19px;
  }
}
html body:not(#hk-cms) .hk-cms .hk-faq summary::-webkit-details-marker {
  display: none;
}
html body:not(#hk-cms) .hk-cms .hk-faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Figtree', Helvetica, Arial, sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #6b6765;
}
html body:not(#hk-cms) .hk-cms .hk-faq details[open] summary::after {
  content: "\2013";
}
html body:not(#hk-cms) .hk-cms .hk-faq p {
  margin: 0 0 14px;
  padding-right: 44px;
  font-family: 'SangBleu OG Sans', Georgia, serif;
  font-size: 16px;
  line-height: 1.65;
  color: #4a4645;
  max-width: 62ch;
}
html body:not(#hk-cms) .hk-cms .hk-faq p:last-child {
  padding-bottom: 26px;
  margin-bottom: 0;
}
