/* DANZUZ SOURCE: /style.css */
/*
Theme Name: bishops
Theme URI: bishops.pl
Description: <a href="http://bishops.pl">http://bishops.pl</a>
Author: Danzuz
Author URI: http://bishops.pl
Version: 1.1.5
Theme Date: 2023
License: Beerware
License URI: bishops.pl
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
	font-size:1em;
  font: inherit;
  vertical-align: baseline;
}
html {
  scroll-behavior: smooth;
}
body {
  line-height: 1;
}
a {
  text-decoration-skip-ink: auto;
	text-decoration:none;
	color:#000000;
}
a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}
button {
  outline: 0;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
q {
  display: inline;
  font-style: italic;
}
q:before {
  content: '"';
  font-style: normal;
}
q:after {
  content: '"';
  font-style: normal;
}
textarea,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="search"],
input[type="password"] {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
input[type="search"] {
  -webkit-appearance: textfield;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
th,
td {
  padding: 2px;
}
big {
  font-size: 120%;
}
small,
sup,
sub {
  font-size: 80%;
}
sup {
  vertical-align: super;
}
sub {
  vertical-align: sub;
}
dd {
  margin-left: 20px;
}
kbd,
tt {
  font-family: courier;
  font-size: 12px;
}
ins {
  text-decoration: underline;
}
del,
strike,
s {
  text-decoration: line-through;
}
dt {
  font-weight: bold;
}
address,
cite,
var {
  font-style: italic;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
.sticky {
}
.bypostauthor {
}
.wp-caption {
}
.wp-caption-text {
}
.gallery-caption {
}
.alignright {
}
.alignleft {
}
.aligncenter {
}

/* --------------------------------------------------------------------------
   Układ szablonu - przeniesione z _/style/css-all.css
   -------------------------------------------------------------------------- */

.entry-breadcrumbs-meta
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1em;
}

.entry-breadcrumbs-meta > div:first-child
{
    flex: 1 1 auto;
    min-width: 0;
}

.entry-breadcrumbs-meta .entry-date
{
    flex: 0 0 auto;
    text-align: right;
    white-space: nowrap;
}

.ipage
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1em;
}

.ipage > div
{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
}

.ipage > div:first-child
{
    flex: 1 1 auto;
    min-width: 0;
}

.ipage > div:last-child
{
    flex: 0 0 auto;
    justify-content: flex-end;
    text-align: right;
}

.inline
{
    display: inline-block;
}

.mtextm svg
{
    width: 20px;
    height: 20px;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb,
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb a
{
    margin: 0;
    color: unset;
}

/* --------------------------------------------------------------------------
   Stały układ widoków: FLEX, bez CSS Grid.
   widget-left | content       | widget-right
   widget-left | middle-widget | widget-right
   -------------------------------------------------------------------------- */
#container.site-layout
{
    width: 100%;
    display: flex;
    align-items: stretch;
}

#container > .widget-left,
#container > .widget-right
{
    flex: 0 0 21%;
    width: 21%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

#container > .widget-left
{
    align-items: flex-start;
}

#container > .widget-right
{
    align-items: flex-end;
}

#container > .site-layout-center
{
    flex: 1 1 58%;
    width: 58%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

#container > .site-layout-center > #content
{
    width: 100%;
    min-width: 0;
    padding: 0 0.5em;
}

#container > .site-layout-center > .middle-widget
{
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 0.5em;
}

#container > .widget-left:empty,
#container > .widget-right:empty,
#container > .site-layout-center > .middle-widget:empty
{
    min-height: 1px;
}

/* WooCommerce nie tworzy własnych kolumn bocznych wewnątrz centralnej treści. */
#content > #primary,
#content .content-area,
#content .site-main
{
    width: 100%;
    max-width: 100%;
}

#content > #sidebar,
#content .widget-area#sidebar
{
    display: none;
}

/* --------------------------------------------------------------------------
   Separatory pełnej wersji.
   Linia należy do JEDNEGO elementu. Nigdy do li ani ul.children.
   -------------------------------------------------------------------------- */

/* Każdy wpis/wynik jest jednym separatorem, niezależnie od jego typu. */
.post_box,
.archive-content > .post-item,
.archive-content > .post,
.listing-results > .post,
.listing-results > .post-item,
.related-items > .post,
.related-items > .post-item {
    border-bottom: 0.1em solid #000 !important;
}

/* Nagłówki nie dostają osobnych linii. */
hr.hrpage {
    border: 0 !important;
    box-shadow: none !important;
    height: 0;
}

/* Pełna wersja: tytuł jest nad treścią, ale WYŁĄCZNIE w środkowym #content. */
#content > .site-layout-title
{
    width: 100%;
    min-width: 0;
}


/* --------------------------------------------------------------------------
   Pełna wersja - menu prawej kolumny jest zwykłym widgetem WordPressa.
   Nie renderujemy drugiego menu przez theme_location.
   -------------------------------------------------------------------------- */
.widget-left > .widget,
.widget-right > .widget,
.widget-left > .danzuz-context-menu
{
    width: 100%;
    min-width: 0;
}

.widget-right > .widget_nav_menu,
.widget-right > .widget_nav_menu > nav,
.widget-right > .widget_nav_menu > nav > ul
{
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.widget-right > .widget_nav_menu > nav > ul
{
    display: flex;
    flex-direction: column;
}

.product-theme-header,
.entry-actions,
.comments-section,
.opinions-section
{
    width: 100%;
    min-width: 0;
}


/* ==========================================================================
   DANZUZ - meta kart w jednym wierszu (pełna wersja)
   ========================================================================== */
.post-meta-row,
.post_box .post-meta-row,
.archive-content .post-meta-row
{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    align-items:center !important;
    justify-content:flex-start;
    width:100%;
    min-width:0;
    gap:0.25em;
    overflow-x:auto;
    overflow-y:hidden;
}

.post-meta-row > .post-meta-piece,
.post-meta-row > .post-meta-separator
{
    display:inline-flex;
    flex:0 0 auto;
    align-items:center;
    width:auto;
    min-width:0;
    white-space:nowrap;
}

.post-meta-row .post-inline-terms,
.post-meta-row .post-inline-terms > p,
.post-meta-row .post-inline-terms > span,
.post-meta-row .post-type-container,
.post-meta-row .post-comments-count,
.post-meta-row .post-views,
.post-meta-row .post-likes,
.post-meta-row .share,
.post-meta-row .share > a
{
    display:inline-flex !important;
    flex:0 0 auto;
    align-items:center;
    width:auto;
    margin:0;
    padding:0;
    white-space:nowrap;
}

.post-meta-row .post-inline-terms
{
    gap:0.25em;
}

/* Stary CSS archiwum nie może znów zrobić osobnej linii pod samym meta. */
.archive-content .post-meta-row
{
    border-bottom:0 !important;
}


/* Widgety głównego układu: pionowo od góry; poziomo lewy/lewo, prawy/prawo, środkowy/środek.
   Footer celowo nie jest objęty tymi selektorami. */
#container.site-layout > .widget-left
{
    justify-content: flex-start;
    align-items: flex-start;
}

#container.site-layout > .widget-right
{
    justify-content: flex-start;
    align-items: flex-end;
}

#container.site-layout > .site-layout-center > .middle-widget
{
    justify-content: flex-start;
    align-items: center;
}

#container.site-layout > .widget-left > .widget
{
    align-self: flex-start;
    max-width: 100%;
}

#container.site-layout > .widget-right > .widget
{
    align-self: flex-end;
    max-width: 100%;
}

#container.site-layout > .site-layout-center > .middle-widget > .widget
{
    align-self: center;
    max-width: 100%;
}

/* ==========================================================================
   DANZUZ - przełącznik prawego menu: mały hamburger + napis Menu
   Stan domyślny: OTWARTE
   ========================================================================== */

#header #menu-main li.next-menu
{
    display:flex;
    align-items:center;
    white-space:nowrap;
}

#header #menu-main li.next-menu > a
{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:center !important;
    gap:0.45em;
    width:auto !important;
    min-width:0;
    padding:0.2em;
    color:white;
    cursor:pointer;
    user-select:none;
}

/* Hamburger: dokładnie 3 kreski.
 * OTWARTE: górna + dolna tworzą X, środkowa znika.
 * Napis Menu pozostaje zawsze widoczny.
 */
#header #menu-main li.next-menu > a > .next-menu-hamburger
{
    position:relative;
    display:block !important;
    flex:0 0 24px;
    width:24px;
    min-width:24px;
    height:18px;
    margin:0;
    padding:0;
    opacity:1 !important;
    visibility:visible !important;
}

#header #menu-main li.next-menu > a > .next-menu-hamburger > span
{
    display:block !important;
    position:absolute;
    left:0;
    width:100%;
    height:2px;
    margin:0;
    padding:0;
    background:#ff2800;
    border-radius:2px;
    opacity:1;
    visibility:visible;
    transform:rotate(0deg);
    transform-origin:center center;
    transition:top .25s ease-in-out, opacity .18s ease-in-out, transform .25s ease-in-out, background-color .25s ease-in-out;
}

#header #menu-main li.next-menu > a > .next-menu-hamburger > span:nth-child(1)
{
    top:0;
}

#header #menu-main li.next-menu > a > .next-menu-hamburger > span:nth-child(2)
{
    top:8px;
}

#header #menu-main li.next-menu > a > .next-menu-hamburger > span:nth-child(3)
{
    top:16px;
}

/* Menu otwarte: pierwsza i trzecia kreska robią X. */
#header #menu-main li.next-menu > a[aria-expanded="true"] > .next-menu-hamburger > span:nth-child(1)
{
    top:8px;
    transform:rotate(45deg);
}

#header #menu-main li.next-menu > a[aria-expanded="true"] > .next-menu-hamburger > span:nth-child(2)
{
    top:8px;
    opacity:0;
}

#header #menu-main li.next-menu > a[aria-expanded="true"] > .next-menu-hamburger > span:nth-child(3)
{
    top:8px;
    transform:rotate(-45deg);
}

#header #menu-main li.next-menu > a > .next-menu-label
{
    display:inline-flex !important;
    align-items:center;
    flex:0 0 auto;
    width:auto !important;
    min-width:0;
    color:white;
    font-size:1em;
    line-height:1;
    opacity:1 !important;
    visibility:visible !important;
}

/* Jak pozostałe ikony nagłówka: czerwony domyślnie, biały na hover/focus. */
#header #menu-main li.next-menu > a:hover > .next-menu-hamburger > span,
#header #menu-main li.next-menu > a:focus > .next-menu-hamburger > span
{
    background:#fff;
}

#header #menu-main li.next-menu > a:focus-visible
{
    outline:1px solid #ff2800;
    outline-offset:4px;
}

/*
 * Prawa kolumna jest otwarta domyślnie.
 * Po zamknięciu znika sama zawartość menu, ale kolumna NADAL zajmuje 21%.
 * Dzięki temu środek strony pozostaje na 58% i nie rozciąga się na puste miejsce.
 */
#container.site-layout > .widget-right
{
    transition:opacity .25s ease, transform .35s ease, visibility 0s linear 0s;
}

#container.site-layout.next-menu-closed > .widget-right
{
    flex:0 0 21%;
    width:21%;
    min-width:0;
    opacity:0;
    visibility:hidden;
    overflow:hidden;
    pointer-events:none;
    transform:translateX(100%);
    transition:opacity .25s ease, transform .35s ease, visibility 0s linear .35s;
}

#container.site-layout.next-menu-closed > .site-layout-center
{
    flex:1 1 58%;
    width:58%;
}

/* ==========================================================================
   DANZUZ - pionowe wyśrodkowanie całego górnego paska
   Wszystkie pozycje menu mają identyczną wysokość 64px.
   ========================================================================== */

#header > div:nth-child(1)
{
    align-items:center;
}

#header > div:nth-child(1) .menu
{
    display:flex;
    align-items:center;
}

#header > div:nth-child(1) .menu-main-container
{
    display:flex;
    align-items:center;
    align-self:center;
    height:64px;
    min-height:64px;
}

#header > div:nth-child(1) #menu-main
{
    display:flex;
    align-items:stretch;
    align-content:center;
    height:64px;
    min-height:64px;
    padding:0 0.5em;
    margin:0;
}

#header > div:nth-child(1) #menu-main > li
{
    display:flex;
    align-items:stretch;
    align-self:stretch;
    height:64px;
    min-height:64px;
    margin:0;
    padding:0;
}

#header > div:nth-child(1) #menu-main > li > a
{
    display:flex;
    align-items:center !important;
    justify-content:center;
    align-self:stretch;
    height:64px;
    min-height:64px;
    margin:0;
    padding-top:0;
    padding-bottom:0;
    line-height:1.15;
}

#header > div:nth-child(1) #menu-main > li > a > svg,
#header > div:nth-child(1) #menu-main > li > a > .next-menu-hamburger
{
    align-self:center;
    flex-shrink:0;
}

#header > div:nth-child(1) #menu-main > li > a > span,
#header > div:nth-child(1) #menu-main > li.next-menu > a > .next-menu-label
{
    align-items:center;
    align-self:center;
}

#header > div:nth-child(1) #search,
#header > div:nth-child(1) #search form
{
    align-self:center;
    align-items:center;
}


/* ==========================================================================
   DANZUZ - normalizacja ikon SVG w gornym menu
   Centrowanie dotyczy rowniez samego rysunku (path), nie tylko elementu SVG.
   ========================================================================== */
#header > div:nth-child(1) #menu-main > li:not(.next-menu) > a > svg
{
    display:block !important;
    flex:0 0 2em;
    width:2em !important;
    height:2em !important;
    margin:0 0.35em 0 0 !important;
    padding:0 !important;
    align-self:center !important;
    vertical-align:middle;
    overflow:visible;
}

#header > div:nth-child(1) #menu-main > li:not(.next-menu) > a > svg > path
{
    transform:none !important;
    transform-origin:center center;
}

/* Statystyki termów (search + strony taksonomii) pozostają w jednym wierszu. */
.taxonomy-summary-row,
.term-item .post-meta-row,
.danzuz-term-actions {
    display:flex;
    flex-wrap:nowrap;
    align-items:center;
    gap:.25em;
    min-width:0;
}
.taxonomy-summary-row,
.term-item .post-meta-row {
    width:100%;
    overflow-x:auto;
    overflow-y:hidden;
}
.danzuz-term-actions > .danzuz-action-item,
.danzuz-term-actions > .danzuz-action-separator,
.danzuz-term-actions .post-comments-count,
.danzuz-term-actions .post-views,
.danzuz-term-actions .post-likes,
.danzuz-term-actions .share {
    display:inline-flex;
    flex:0 0 auto;
    align-items:center;
    width:auto;
    white-space:nowrap;
}

/* Wyszukiwarka: podczas wpisywania lupka w przycisku ma pozostać widoczna. */
#search form:focus-within .zzs-search-submit:before,
#search form .zzs-search-submit:focus:before
{
    opacity:1 !important;
    visibility:visible !important;
    color:currentColor !important;
}


/* DANZUZ SOURCE: /_/css/actions.css */
/* --------------------------------------------------------------------------
   Wspólny rząd akcji we wszystkich widokach.
   Komentarze | wyświetlenia | polubienia | share zawsze w jednym wierszu.
   -------------------------------------------------------------------------- */
.entry-actions,
.post-meta-actions,
.post-on-bottom
{
    min-width: 0;
}

.danzuz-actions-row
{
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    width: max-content;
    max-width: 100%;
    white-space: nowrap;
    vertical-align: middle;
    overflow-x: auto;
    overflow-y: hidden;
}

.danzuz-actions-row > .danzuz-action-item,
.danzuz-actions-row > .danzuz-action-separator,
.danzuz-actions-row .post-comments-count,
.danzuz-actions-row .post-views,
.danzuz-actions-row .post-likes,
.danzuz-actions-row .share,
.danzuz-actions-row .share > a
{
    display: inline-flex !important;
    flex: 0 0 auto !important;
    align-items: center !important;
    width: auto !important;
    white-space: nowrap !important;
}

.danzuz-actions-row > .danzuz-action-separator
{
    padding: 0 0.25em;
}


/* DANZUZ SOURCE: /_/css/ratings.css */
/*
 * Oceny/opinie motywu.
 * Niezależne od fontu ikon WooCommerce: gwiazdy są rysowane jako SVG.
 */

.danzuz-rating-display {
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    line-height: 1;
    white-space: nowrap;
    vertical-align: middle;
}

.danzuz-rating-stars {
    display: inline-flex;
    align-items: center;
    gap: 0.08em;
    line-height: 1;
}

.danzuz-rating-star {
    position: relative;
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    flex: 0 0 1.15em;
}

.danzuz-rating-star > svg,
.danzuz-rating-star-fill > svg {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 1.15em;
    height: 1.15em;
    max-width: none;
}

.danzuz-rating-star > svg {
    fill: #fff;
    stroke: #b8b8b8;
    stroke-width: 1.6;
}

.danzuz-rating-star-fill {
    position: absolute;
    inset: 0 auto 0 0;
    display: block;
    width: 0;
    overflow: hidden;
}

.danzuz-rating-star-fill > svg {
    fill: #ff2800;
    stroke: #ff2800;
    stroke-width: 1.6;
}

.danzuz-rating-star.is-half .danzuz-rating-star-fill {
    width: 50%;
}

.danzuz-rating-star.is-full .danzuz-rating-star-fill {
    width: 100%;
}

.danzuz-rating-number {
    display: inline-block;
    color: #000;
    font-weight: 600;
    line-height: 1.15;
}

.product-rating-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.product-rating-link:hover .danzuz-rating-number {
    color: #ff2800;
}

.product-rating-summary,
.product-rating-summary-inline,
.opinion-score {
    display: inline-flex;
    align-items: center;
}

.opinion-score {
    margin: 0.25em 0;
}

/* Wybór oceny: wyłącznie pełne gwiazdki 1–5. */
.opinion-rating {
    border: 0;
    margin: 0.4em 0;
    padding: 0;
}

.opinion-rating legend {
    margin: 0 0 0.25em 0;
    padding: 0;
}

.danzuz-rating-picker {
    display: inline-flex;
    align-items: center;
    direction: rtl;
    gap: 0.08em;
    line-height: 1;
}

.danzuz-rating-picker input[type="radio"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.danzuz-rating-picker label {
    display: inline-flex;
    width: 1.55em;
    height: 1.55em;
    margin: 0;
    padding: 0;
    cursor: pointer;
    color: #b8b8b8;
    align-items: center;
    justify-content: center;
}

.danzuz-rating-picker label svg {
    display: block;
    width: 1.4em;
    height: 1.4em;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 1.25;
    pointer-events: none;
}

.danzuz-rating-picker input[type="radio"]:checked ~ label,
.danzuz-rating-picker label:hover,
.danzuz-rating-picker label:hover ~ label {
    color: #ff2800;
}

.danzuz-rating-picker input[type="radio"]:focus-visible + label {
    outline: 2px solid #ff2800;
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .danzuz-rating-star {
        width: 1.05em;
        height: 1.05em;
        flex-basis: 1.05em;
    }

    .danzuz-rating-star > svg,
    .danzuz-rating-star-fill > svg {
        width: 1.05em;
        height: 1.05em;
    }
}


/* DANZUZ SOURCE: /_/css/product-loop.css */
/*
 * Cena w kartach produktów — identyczna prezentacja niezależnie od kontekstu.
 *
 * WooCommerce na stronach sklepu/taksonomii/produktu dodaje własne reguły
 * `.woocommerce ul.products li.product .price`, przez co ta sama cena z
 * wc_price() wygląda inaczej niż w shortcode'ach na stronie głównej.
 * Poniższe reguły nie zmieniają HTML ceny, wartości, promocji ani hooków —
 * neutralizują wyłącznie kontekstowe stylowanie WooCommerce.
 */
ul.products li.product .price,
.woocommerce ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.related.products ul.products li.product .price {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

ul.products li.product .price ins,
.woocommerce ul.products li.product .price ins,
.woocommerce-page ul.products li.product .price ins,
.related.products ul.products li.product .price ins {
  color: inherit !important;
}

ul.products li.product .price del,
.woocommerce ul.products li.product .price del,
.woocommerce-page ul.products li.product .price del,
.related.products ul.products li.product .price del {
  color: inherit !important;
}

