/* =====================================================================
   PREZENTOWNIK REGNUM KIDS & HOME – style
   Wszystkie reguły zaczynają się od .rgp, więc działają wyłącznie
   wewnątrz stron prezentownika i nie zmieniają motywu Warehouse.
   Czcionka: Nunito – ta sama, którą ładuje sklep.
   ===================================================================== */

/* ---------- KOLORY – zmieniasz je tylko tutaj ---------- */
.rgp {
  --rgp-green: #176b45;         /* szmaragdowa zieleń: nagłówki, przyciski, linki */
  --rgp-green-dark: #105233;    /* ciemna zieleń: przycisk po najechaniu */
  --rgp-ink: #292c29;           /* ciemny grafit: nazwy produktów, ceny, tekst */
  --rgp-muted: #686d68;         /* szarość: marki i teksty pomocnicze */
  --rgp-ground: #f8f5ef;        /* ciepły krem: tło sekcji */
  --rgp-card: #ffffff;          /* biel: tło kart */
  --rgp-gold: #b49357;          /* stonowane złoto: tylko cienkie linie i drobne akcenty */
  --rgp-line: #ece6da;          /* delikatne obramowania kart */
  --rgp-photo: #f3efe7;         /* tło pod zdjęciem, zanim się wczyta */
}

/* ---------- PODSTAWA ---------- */
.rgp {
  box-sizing: border-box;
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 40px 72px;
  background: var(--rgp-ground);
  color: var(--rgp-ink);
  font-family: "Nunito", sans-serif;   /* czcionka sklepu REGNUM */
  font-size: 16px;
  line-height: 1.5;
  border-radius: 20px;
  text-align: left;
}
.rgp *,
.rgp *::before,
.rgp *::after { box-sizing: border-box; }
.rgp ul,
.rgp li { list-style: none; margin: 0; padding: 0; }
.rgp li::before { content: none; }
.rgp img { max-width: 100%; height: auto; border: 0; }
.rgp a { text-decoration: none; }

/* ---------- NAGŁÓWEK ---------- */
.rgp .rgp-head {
  text-align: center;
  margin: 0 0 48px;
  padding: 52px 40px;
  background: var(--rgp-card);
  border: 1px solid var(--rgp-line);
  border-radius: 24px;
}
.rgp .rgp-eyebrow {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rgp-muted);
}
.rgp .rgp-title {
  margin: 0 0 16px;
  padding: 0;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--rgp-green);
  border: 0;
}
.rgp .rgp-lead {
  max-width: 620px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
  color: var(--rgp-muted);
}
.rgp .rgp-back { margin: 0 0 12px; }
.rgp .rgp-back-link {
  display: inline-block;
  padding: 10px 4px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--rgp-green);
}
.rgp .rgp-back-link:hover { color: var(--rgp-green-dark); text-decoration: underline; }

/* ---------- PRZYCISKI ---------- */
.rgp .rgp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid var(--rgp-green);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.rgp .rgp-btn-solid { background: var(--rgp-green); color: #ffffff; }
.rgp .rgp-btn-solid:hover { background: var(--rgp-green-dark); border-color: var(--rgp-green-dark); color: #ffffff; }
.rgp .rgp-btn-outline { background: var(--rgp-green); color: #ffffff; }
.rgp .rgp-btn-outline:hover { background: var(--rgp-green-dark); border-color: var(--rgp-green-dark); color: #ffffff; }
.rgp a:focus-visible { outline: 2px solid var(--rgp-ink); outline-offset: 2px; }

/* ---------- STRONA GŁÓWNA: KAFELKI ---------- */
.rgp .rgp-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.rgp .rgp-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--rgp-card);
  border: 1px solid var(--rgp-line);
  border-radius: 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rgp .rgp-tile:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(41, 44, 41, 0.08); }
.rgp .rgp-tile-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.rgp .rgp-tile:hover .rgp-tile-img { transform: scale(1.03); }
.rgp .rgp-tile-img { background-color: var(--rgp-photo); }
.rgp .rgp-tile-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-grow: 1;
  gap: 10px;
  padding: 20px 20px 24px;
  background: var(--rgp-card);
}
.rgp .rgp-tile-title {
  margin: 0;
  padding: 0;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: none;
  border: 0;
}
.rgp .rgp-tile-link { color: var(--rgp-ink); }
.rgp .rgp-tile-link:hover { color: var(--rgp-ink); }
/* cały kafelek jest klikalny */
.rgp .rgp-tile-link::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.rgp .rgp-tile-text { margin: 0 0 8px; font-size: 15px; line-height: 1.55; color: var(--rgp-muted); }
.rgp .rgp-tile .rgp-btn { margin-top: auto; position: relative; z-index: 1; }

/* ---------- STRONA GŁÓWNA: DWIE GRUPY ---------- */
.rgp .rgp-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 56px;
  padding-top: 36px;
  border-top: 1px solid var(--rgp-line);
}
.rgp .rgp-group { padding: 24px 28px; border-radius: 16px; background: var(--rgp-card); border: 1px solid var(--rgp-line); border-top: 2px solid var(--rgp-gold); }
.rgp .rgp-group-name { margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: 0.2em; }
.rgp .rgp-group-kids .rgp-group-name { color: var(--rgp-green); }
.rgp .rgp-group-home .rgp-group-name { color: var(--rgp-green); }
.rgp .rgp-group-text { margin: 0; font-size: 15px; line-height: 1.55; color: var(--rgp-muted); }

/* ---------- PODSTRONY: ODNOŚNIKI KIDS / HOME ---------- */
.rgp .rgp-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.rgp .rgp-jump-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.rgp .rgp-jump-link { background: var(--rgp-card); color: var(--rgp-green); border: 1px solid var(--rgp-green); transition: background-color 0.2s ease, color 0.2s ease; }
.rgp .rgp-jump-link:hover { background: var(--rgp-green); color: #ffffff; }

/* ---------- PODSTRONY: SEKCJE KIDS I HOME ---------- */
.rgp .rgp-section { scroll-margin-top: 90px; }
.rgp .rgp-section-home {
  margin-top: 64px;
  padding-top: 56px;
  border-top: 1px solid var(--rgp-gold);
}
.rgp .rgp-section-head { margin: 0 0 36px; text-align: center; }
.rgp .rgp-section-title {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0 0 10px;
  padding: 0;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: 0.24em;
  line-height: 1;
  text-transform: uppercase;
  border: 0;
}
.rgp .rgp-section-title::before,
.rgp .rgp-section-title::after { content: ""; flex: 1 1 0; height: 1px; }
.rgp .rgp-section-kids .rgp-section-title { color: var(--rgp-green); }
.rgp .rgp-section-kids .rgp-section-title::before,
.rgp .rgp-section-kids .rgp-section-title::after { background: var(--rgp-gold); }
.rgp .rgp-section-home .rgp-section-title { color: var(--rgp-green); }
.rgp .rgp-section-home .rgp-section-title::before,
.rgp .rgp-section-home .rgp-section-title::after { background: var(--rgp-gold); }
.rgp .rgp-section-tag { margin: 0; font-size: 18px; color: var(--rgp-muted); }

/* ---------- PODSTRONY: SIATKA PRODUKTÓW ---------- */
.rgp .rgp-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.rgp .rgp-card {
  display: flex;
  flex-direction: column;
  padding: 14px;
  background: var(--rgp-card);
  border: 1px solid var(--rgp-line);
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rgp .rgp-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(41, 44, 41, 0.07); }
.rgp .rgp-card-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 14px;
  border-radius: 10px;
  background: var(--rgp-photo);
}
.rgp .rgp-card-brand {
  margin: 0 4px 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #1558b0; /* nazwa marki: wyrazisty niebieski */
}
.rgp .rgp-card-name {
  margin: 0 4px 12px;
  padding: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: none;
  color: var(--rgp-ink);
  border: 0;
}
.rgp .rgp-card-benefit { margin: 0 4px 6px; font-size: 13.5px; line-height: 1.5; color: var(--rgp-muted); }
.rgp .rgp-card-benefit strong { font-weight: 700; color: var(--rgp-ink); }
.rgp .rgp-card-benefits { margin: 0 0 4px; }
.rgp .rgp-card-price { margin: auto 4px 12px; padding-top: 10px; }
.rgp .rgp-card-price-label { display: block; font-size: 12px; letter-spacing: 0.04em; color: var(--rgp-muted); }
.rgp .rgp-card-price-value { display: block; font-size: 21px; font-weight: 800; line-height: 1.4; color: var(--rgp-ink); }
.rgp .rgp-card-price-todo { display: block; font-size: 14px; line-height: 1.4; padding: 4px 0 3px; color: var(--rgp-muted); }
.rgp .rgp-card .rgp-btn { width: 100%; height: 46px; padding: 0 12px; font-size: 14px; }

/* ---------- PODSTRONY: POZOSTAŁE PRZEDZIAŁY ---------- */
.rgp .rgp-more { margin-top: 56px; }
.rgp .rgp-more-title {
  margin: 0 0 20px;
  padding: 0;
  font-size: 26px;
  font-weight: 800;
  text-align: center;
  text-transform: none;
  color: var(--rgp-ink);
  border: 0;
}
.rgp .rgp-more-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.rgp .rgp-more-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 88px;
  padding: 18px 24px;
  border-radius: 16px;
  color: var(--rgp-ink);
  font-size: 19px;
  font-weight: 700;
  transition: transform 0.25s ease;
}
.rgp .rgp-more-link:hover { color: var(--rgp-ink); transform: translateY(-2px); }
.rgp .rgp-more-link { background: var(--rgp-card); border: 1px solid var(--rgp-line); }
.rgp .rgp-more-arrow { color: var(--rgp-green); }
.rgp .rgp-more-arrow { transition: transform 0.25s ease; }
.rgp .rgp-more-link:hover .rgp-more-arrow { transform: translateX(4px); }

/* ---------- ŚWIĄTECZNE OZDOBY ----------
   Kilka złotych gwiazdek w nagłówku i przy hasłach sekcji.
   Po świętach wystarczy usunąć cały ten blok – reszta strony się nie zmieni. */
.rgp .rgp-head { position: relative; }
.rgp .rgp-head::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.3l7.1-.7z%22 fill=%22%23B49357%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.3l7.1-.7z%22 fill=%22%23B49357%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.3l7.1-.7z%22 fill=%22%23B49357%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.3l7.1-.7z%22 fill=%22%23B49357%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.3l7.1-.7z%22 fill=%22%23B49357%22/%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M12 2l2.9 6.6 7.1.7-5.4 4.8 1.6 7-6.2-3.7-6.2 3.7 1.6-7L2 9.3l7.1-.7z%22 fill=%22%23B49357%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 5% top 22%, left 11% top 68%, left 3% bottom 12%, right 5% top 26%, right 12% bottom 20%, right 3% top 62%;
  background-size: 22px, 12px, 0, 16px, 22px, 0;
  opacity: 0.85;
}
.rgp .rgp-section-tag::before { content: "\2605\00a0\00a0"; color: var(--rgp-gold); }
.rgp .rgp-section-tag::after { content: "\00a0\00a0\2605"; color: var(--rgp-gold); }
@media (max-width: 767px) {
  .rgp .rgp-head::after {
    background-position: left 10px top 12px, left 22px bottom 14px, left -40px top 0, right 12px top 16px, right 18px bottom 12px, right -40px top 0;
    background-size: 16px, 11px, 0, 12px, 17px, 0;
  }
}

/* ---------- RESPONSYWNOŚĆ ---------- */
/* mniejsze laptopy */
@media (max-width: 1199px) {
  .rgp .rgp-title { font-size: 44px; }
  .rgp .rgp-tiles { gap: 16px; }
}
/* tablety: 2 kafelki i 2 produkty w rzędzie */
@media (max-width: 991px) {
  .rgp { padding: 44px 28px 56px; }
  .rgp .rgp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .rgp .rgp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* telefony: kafelki jeden pod drugim, 2 produkty w rzędzie */
@media (max-width: 767px) {
  .rgp { padding: 28px 16px 44px; border-radius: 0; }
  .rgp .rgp-head { margin-bottom: 36px; padding: 32px 18px; border-radius: 18px; }
  .rgp .rgp-title { font-size: 34px; }
  .rgp .rgp-lead { font-size: 16px; }
  .rgp .rgp-tiles { grid-template-columns: minmax(0, 1fr); }
  .rgp .rgp-groups { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rgp .rgp-section-title { font-size: 34px; gap: 16px; }
  .rgp .rgp-section-tag { font-size: 16px; }
  .rgp .rgp-section-head { margin-bottom: 24px; }
  .rgp .rgp-section-home { margin-top: 44px; padding-top: 40px; }
  .rgp .rgp-grid { gap: 12px; }
  .rgp .rgp-card { padding: 8px; }
  .rgp .rgp-card-name { font-size: 15px; }
  .rgp .rgp-card-brand { font-size: 11px; letter-spacing: 0.1em; }
  .rgp .rgp-card-benefit { font-size: 13px; }
  .rgp .rgp-more-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .rgp .rgp-more-link { min-height: 72px; font-size: 18px; }
}
/* bardzo wąskie telefony: 1 produkt w rzędzie */
@media (max-width: 359px) {
  .rgp .rgp-grid { grid-template-columns: minmax(0, 1fr); }
}
/* osoby, które wyłączyły animacje w systemie */
@media (prefers-reduced-motion: reduce) {
  .rgp * { transition: none !important; }
  .rgp .rgp-tile:hover,
  .rgp .rgp-card:hover,
  .rgp .rgp-more-link:hover,
  .rgp .rgp-tile:hover .rgp-tile-img { transform: none; }
}

/* =====================================================================
   OPCJONALNIE – ukrycie tytułu strony dodawanego przez motyw
   Motyw wyświetla nad treścią własny tytuł strony CMS, a prezentownik
   ma już swój nagłówek. Jeśli widzisz dwa tytuły, usuń znaki komentarza
   z bloku poniżej i wpisz ID strony w miejsce 000 (powtórz obie linie dla każdej z czterech stron,
   oddzielając je przecinkami).
   (ID strony widać na liście: Wygląd -> Strony.)
   Jeżeli tytuł nadal jest widoczny, selektor w Twojej wersji motywu
   jest inny – daj znać, dopasujemy go.
   =====================================================================

body.cms-id-000 #main .page-header,
body.cms-id-000 #main h1.page-title { display: none; }

*/
