/* ============================================================
   Blikle WordPress chrome — header + footer
   Skopiowany 1:1 ze strony blikle.pl (kolory + układ).
   Dwa pasy: górny utility bar (oliwka) + główny menu bar (puder).
   Stopka: brązowe tło, logo, 3 kolumny linków.
   ============================================================ */

/* ===== zmienne kolorystyczne Blikle ===== */
:root {
  --bk-olive: #8a724b;       /* górny utility bar - ciepły brąz/oliwka */
  --bk-olive-dark: #715d3d;
  --bk-pink: #d8a59f;        /* główny pasek różowo-pudrowy */
  --bk-pink-dark: #c9938c;
  --bk-cream: #fbf7ee;
  --bk-gold: #c9a875;
  --bk-text-light: #f8f1e4;
  --bk-text-muted: rgba(248, 241, 228, 0.78);
}

/* ============================================================
   HEADER — sticky topbar w stylu blikle.pl
   ============================================================ */
.blikle-chrome-header {
  position: sticky;
  top: 0;
  z-index: 200;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* —— górny utility bar —— */
.bk-utility {
  background: var(--bk-olive);
  color: var(--bk-text-light);
  font-size: 12px;
  letter-spacing: 0.02em;
}
.bk-utility-row {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 32px;
  gap: 24px;
}
.bk-util-left, .bk-util-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.bk-util-left a, .bk-util-right a {
  color: var(--bk-text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
  transition: opacity 0.15s;
}
.bk-util-left a:hover, .bk-util-right a:hover { opacity: 1; }
.bk-util-left svg, .bk-util-right svg {
  width: 12px; height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}
.bk-util-right .bk-social {
  display: flex;
  gap: 10px;
  margin-left: 4px;
}
.bk-util-right .bk-social a svg {
  width: 14px; height: 14px;
  fill: currentColor;
  stroke: none;
}
.bk-util-label {
  color: var(--bk-text-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* —— główny pasek różowy z logo i menu —— */
.bk-main {
  background: var(--bk-pink);
  color: #fff;
}
.bk-main-row {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 32px;
  height: 84px;
  gap: 32px;
}
.bk-nav-left, .bk-nav-right {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}
.bk-nav-right { justify-content: flex-end; }
.bk-nav-left a, .bk-nav-right a {
  color: #fff;
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color 0.15s;
}
.bk-nav-left a:hover, .bk-nav-right a:hover {
  color: var(--bk-cream);
}
.bk-nav-left a::after, .bk-nav-right a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--bk-cream);
  transition: width 0.2s, left 0.2s;
}
.bk-nav-left a:hover::after, .bk-nav-right a:hover::after {
  width: 100%;
  left: 0;
}
.bk-nav-products {
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
}
.bk-nav-products::after {
  content: none !important;
}
.bk-nav-products .caret {
  font-size: 10px;
  margin-left: 2px;
  transition: transform 0.2s;
}
.bk-nav-products:hover .caret { transform: rotate(180deg); }

/* —— logo z prawdziwym brand markiem —— */
.bk-logo {
  text-align: center;
  color: var(--bk-cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
  position: relative;
}
.bk-logo img {
  display: block;
  height: 56px;
  width: auto;
  max-width: 220px;
}

/* —— ikony cart/menu mobile —— */
.bk-nav-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.bk-cart-count {
  background: var(--bk-cream);
  color: var(--bk-pink-dark);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
}

/* —— flyout menu produktów —— */
.bk-products-flyout {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: #fff;
  min-width: 280px;
  padding: 12px 0;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 100;
}
.bk-nav-products:hover .bk-products-flyout {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.bk-products-flyout a {
  display: block;
  padding: 9px 24px;
  color: var(--bk-olive-dark);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.bk-products-flyout a::after { content: none; }
.bk-products-flyout a:hover {
  background: var(--bk-cream);
  color: var(--bk-pink-dark);
}

/* ============================================================
   FOOTER — brązowe tło, logo, kolumny linków
   ============================================================ */
.blikle-chrome-footer {
  background: var(--bk-olive);
  color: var(--bk-text-light);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 80px 0 32px;
  margin-top: 0;
}
.bk-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}
.bk-footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(248, 241, 228, 0.18);
}
.bk-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.bk-footer-brand .bk-logo {
  align-items: flex-start;
  text-align: left;
}
.bk-footer-brand .bk-logo img { height: 96px; max-width: 280px; }
.bk-footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--bk-text-muted);
  max-width: 280px;
  margin: 0;
}
.bk-footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bk-cream);
  margin: 0 0 26px;
}
.bk-footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bk-footer-col a {
  color: var(--bk-text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s;
}
.bk-footer-col a:hover { color: var(--bk-cream); }

.bk-footer-mid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  flex-wrap: wrap;
  gap: 16px;
}
.bk-footer-mid .question {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bk-footer-mid .question .lbl {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bk-text-muted);
}
.bk-footer-mid .question a {
  color: var(--bk-cream);
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-style: italic;
  text-decoration: none;
  font-weight: 500;
}
.bk-footer-mid .question a:hover { color: #fff; }
.bk-footer-mid .totop {
  color: var(--bk-text-muted);
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  background: transparent;
  border: none;
  font-family: inherit;
}
.bk-footer-mid .totop:hover { color: var(--bk-cream); }
.bk-footer-mid .totop::before {
  content: '↑';
  font-size: 14px;
}

.bk-footer-bottom {
  border-top: 1px solid rgba(248, 241, 228, 0.18);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--bk-text-muted);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: 12px;
}
.bk-footer-bottom .legal a {
  color: inherit;
  text-decoration: none;
  margin-left: 18px;
}
.bk-footer-bottom .legal a:hover { color: var(--bk-cream); }

/* ============================================================
   Mobile
   ============================================================ */
@media (max-width: 880px) {
  .bk-utility { display: none; }
  .bk-main-row {
    grid-template-columns: auto 1fr auto;
    height: 64px;
    padding: 0 16px;
  }
  .bk-nav-left, .bk-nav-right { display: none; }
  .bk-mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
  }
  .bk-mobile-toggle span {
    width: 22px;
    height: 1.5px;
    background: #fff;
  }
  .bk-logo img { height: 44px; }
  .bk-mobile-cart {
    display: inline-flex;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    align-items: center;
    gap: 4px;
  }
  .bk-footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .bk-footer-mid { flex-direction: column; align-items: flex-start; }
  .bk-footer-bottom { flex-direction: column; align-items: flex-start; }
  .bk-footer-bottom .legal a { margin-left: 0; margin-right: 18px; }
}
@media (min-width: 881px) {
  .bk-mobile-toggle, .bk-mobile-cart { display: none; }
}
