/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/hello-theme/?utm_source=wp-themes&utm_campaign=theme-uri&utm_medium=wp-dash
Template: hello-elementor
Author: Elementor Team
Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
Description: Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
Tags: accessibility-ready,flexible-header,custom-colors,custom-menu,custom-logo,featured-images,rtl-language-support,threaded-comments,translation-ready
Version: 3.5.23.1793486000
Updated: 2026-10-30 14:55:00

*/

/* ==========================================================================
   Anna Moskala ART — styles for the Elementor home page (moskalaart.pl)
   Hooks are the CSS IDs set on Elementor elements (#site-shell, #topbar, ...).
   ID selectors are used on purpose: they out-rank Elementor's base classes.
   ========================================================================== */

:root {
  --sand: #efede8;
  --sand-strong: #d8d2ca;
  --paper: #f5f0eb;
  --ink: #2a2a27;
  --muted: #585652;
  --line: rgba(42, 42, 39, 0.16);
  --dark: #37443d;
  --dark-soft: #4b5850;
  --shadow: rgba(32, 27, 24, 0.12);
}

/* one milky page colour everywhere; html:root out-ranks the inline :root blocks inside Elementor HTML widgets */
html:root { --sand: #efede8; }
html { scroll-behavior: smooth; }
body:has(#site-shell) { background: var(--sand); }

#site-shell,
#site-shell * { box-sizing: border-box; }

#site-shell {
  display: block;
  position: static;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Top bar ---------- */
#topbar {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  width: 100%;
  margin: 0 auto;
  padding: 18px max(var(--gutter, 20px), calc((100% - var(--content-w, 1040px)) / 2)) 20px;
  background: var(--sand);
  border-bottom: 1px solid var(--line);
}

#brand {
  justify-self: start;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
}

#brand a {
  display: inline;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}

#brand img {
  display: block;
  height: 40px;
  width: auto;
  max-width: 100%;
}

#main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 1.7vw, 34px);
  width: auto;
  min-width: 0;
  padding: 0;
  font-size: 0.63rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

#main-nav > a {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--muted);
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

#main-nav > a:hover,
#main-nav > a:focus-visible {
  opacity: 0.7;
  color: var(--muted);
  background: none;
}

/* ---------- Hero ---------- */
#home {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#hero-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 260px;
  margin: 0;
  object-fit: cover;
  filter: saturate(0.9);
  box-shadow: none;
}

/* ---------- Intro ---------- */
#about {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 58px;
  align-items: center;
  width: 100%;
  max-width: 1360px;
  margin: 70px auto 0;
  padding: 0 32px;
}

#intro-image {
  min-width: 0;
  min-height: 520px;
  padding: 0;
  background: #d7d1c9;
  border: 1px solid rgba(42, 42, 39, 0.1);
  box-shadow: 0 30px 50px var(--shadow);
}

#intro-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

#intro-copy {
  min-width: 0;
  max-width: 560px;
  justify-self: start;
  padding: 0;
}

#intro-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-style: normal;
  font-size: clamp(2.6rem, 3vw, 4rem);
  letter-spacing: 0.04em;
  line-height: 1.08;
  text-transform: none;
  color: var(--ink);
}

#intro-subtitle {
  margin: 10px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--muted);
}

#intro-text-1,
#intro-text-2 {
  margin: 26px 0 0;
  max-width: 500px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

#intro-cta,
#contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  border: 1px solid rgba(42, 42, 39, 0.45);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--ink);
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

#intro-cta {
  margin-top: 32px;
  min-width: 180px;
  min-height: 54px;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

#intro-cta:hover,
#intro-cta:focus-visible,
#contact-cta:hover,
#contact-cta:focus-visible {
  background: rgba(255, 255, 255, 0.25);
  color: var(--ink);
  transform: translateY(-1px);
}

/* ---------- Gallery / products ---------- */

/* "View details" — native <details>, replaces the old JS modal */

/* ---------- Contact ---------- */
#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 92px 20px 60px;
  text-align: center;
}

#contact-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

#contact-mail {
  margin: 18px auto 0;
  max-width: 580px;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--muted);
}

#contact-mail a {
  display: inline;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

#contact-cta {
  margin-top: 26px;
  min-width: 150px;
  height: 54px;
  border-color: rgba(42, 42, 39, 0.4);
  background: rgba(255, 255, 255, 0.08);
  letter-spacing: 0.26em;
  font-size: 0.85rem;
}

/* ---------- Footer ---------- */
#site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
  min-height: 360px;
  margin-top: 32px;
  padding: 40px 20px 54px;
  background: #3b2a20;
  color: rgba(255, 255, 255, 0.8);
}

#socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  width: auto;
  min-width: 0;
  padding: 0;
}

#socials > a {
  display: block;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  background-color: transparent;
  background-position: center;
  background-repeat: no-repeat;
  background-size: 18px 18px;
  color: transparent;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
}

#social-facebook {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.5 21v-7.5h2.6l.4-3h-3V8.6c0-.9.3-1.5 1.6-1.5h1.5V4.4c-.3 0-1.2-.1-2.2-.1-2.3 0-3.9 1.4-3.9 4v2.2H8v3h2.5V21h3z' fill='%23ffffff' fill-opacity='.8'/%3E%3C/svg%3E");
}

#social-instagram {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='4' fill='none' stroke='%23ffffff' stroke-opacity='.8' stroke-width='1.7'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='%23ffffff' stroke-opacity='.8' stroke-width='1.7'/%3E%3Ccircle cx='17.1' cy='6.9' r='1.2' fill='%23ffffff' fill-opacity='.8'/%3E%3C/svg%3E");
}

#footer-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-width: 0;
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

#footer-nav > a {
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, 0.76);
  font-size: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  text-decoration: none;
}

#footer-nav > a:hover,
#footer-nav > a:focus-visible {
  background: none;
  color: #fff;
}

#footer-nav > span {
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
}

/* Footer legal links (menu location: Footer legal link) */
#legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 22px;
}

/* Privacy policy link in the footer (icon via ::before) */
#legal-links > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: none;
  text-decoration: none;
}

#legal-links > a:hover,
#legal-links > a:focus-visible {
  background: none;
  color: #fff;
}
#footer-copy {
  margin: 0;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.76);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  #topbar {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-top: 18px;
    padding-bottom: 22px;
  }
  #brand { justify-self: center; }
  #main-nav { flex-wrap: wrap; }
}

@media (max-width: 560px) {
  #hero-image { height: 210px; }
  #topbar { padding-left: 14px; padding-right: 14px; }
  #main-nav { gap: 10px 16px; letter-spacing: 0.18em; }
  #about { padding-left: 14px; padding-right: 14px; }
  #footer-nav { letter-spacing: 0.12em; }
}

/* ---------- Header: cart button (replaces the theme toggle) ---------- */
#topbar > .header-tools {
  justify-self: end;
}

#topbar .header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

#topbar .bf-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

#topbar .bf-cart-btn:hover,
#topbar .bf-cart-btn:focus-visible,
#topbar .bf-cart-btn[aria-expanded="true"] {
  background: rgba(42, 42, 39, 0.06);
  border-color: var(--line);
  color: var(--ink);
  outline: none;
}

.bf-cart-count {
  position: absolute;
  top: 1px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 18px;
  text-align: center;
}

.bf-cart-count[hidden] { display: none; }

@keyframes bfCartBump {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.bf-cart-btn.is-bump .bf-cart-count { animation: bfCartBump 0.35s ease; }

@media (prefers-reduced-motion: reduce) {
  .bf-cart-btn.is-bump .bf-cart-count { animation: none; }
}
/* ---------- Dark theme (dormant: no toggle on the site any more, kept in case it is brought back) ---------- */
body.dark-theme {
  --sand: #1a1a1a;
  --sand-strong: #2c2c2a;
  --paper: #21211f;
  --ink: #f4f0eb;
  --muted: #d3cbc4;
  --line: rgba(255, 255, 255, 0.12);
  --dark: #e9e1d6;
  --dark-soft: #f1e7db;
  --shadow: rgba(0, 0, 0, 0.32);
  background: var(--sand);
  color: var(--ink);
}

body.dark-theme #topbar {
  background: rgba(31, 31, 30, 0.96);
}

body.dark-theme #intro-image {
  background: #2a2927;
  border-color: rgba(255, 255, 255, 0.12);
}

body.dark-theme #intro-cta,
body.dark-theme #contact-cta {
  border-color: rgba(255, 255, 255, 0.22);
}

/* order button: --dark turns light in dark mode, so flip the label colour */

body.dark-theme #site-footer {
  background: #171714;
}

/* ---------- Search + filters for paintings: compact toolbar (home #shop, /sklep/) ---------- */
.bf-bar {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  width: 100%;
  margin: 0 0 22px;
  padding: 0 0 12px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
}

.bf-left,
.bf-right {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.bf-left { flex: 1 1 auto; flex-wrap: wrap; min-width: 0; }
.bf-right { flex: 0 0 auto; margin-left: auto; gap: 4px; }
.bf-chips { display: contents; }
.bf-search { display: flex; align-items: center; gap: 4px; }

.bf-bar button {
  margin: 0;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  line-height: normal;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
}

.bf-chip {
  display: inline-flex;
  align-items: stretch;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(128, 128, 128, 0.08);
}

.bf-bar .bf-chip__main,
.bf-bar .bf-chip__x {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.85rem;
}

.bf-bar .bf-chip__main { padding: 0 6px 0 14px; }
.bf-bar .bf-chip__x { padding: 0 11px 0 4px; color: var(--muted); font-size: 1.05rem; }

.bf-bar .bf-chip__main:hover,
.bf-bar .bf-chip__x:hover,
.bf-bar .bf-chip__main:focus-visible,
.bf-bar .bf-chip__x:focus-visible {
  background: rgba(128, 128, 128, 0.14);
  color: var(--ink);
  outline: none;
}

.bf-bar .bf-add,
.bf-bar .bf-reset {
  height: 34px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.bf-bar .bf-add:hover,
.bf-bar .bf-add:focus-visible,
.bf-bar .bf-reset:hover,
.bf-bar .bf-reset:focus-visible,
.bf-bar .bf-add[aria-expanded="true"] {
  background: rgba(128, 128, 128, 0.12);
  color: var(--ink);
  outline: none;
}

.bf-bar .bf-add[hidden],
.bf-bar .bf-reset[hidden],
.bf-bar .bf-chip[hidden] { display: none; }

.bf-bar .bf-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  transition: background-color 0.2s ease;
}

.bf-bar .bf-icon:hover,
.bf-bar .bf-icon:focus-visible,
.bf-bar .bf-icon[aria-expanded="true"] {
  background: rgba(128, 128, 128, 0.12);
  color: var(--ink);
  outline: none;
}

.bf-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
}

.bf-dot[hidden] { display: none; }

.bf-input {
  box-sizing: border-box;
  height: 34px;
  margin: 0;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: normal;
  -webkit-appearance: none;
  appearance: none;
}

.bf-input::placeholder { color: var(--muted); opacity: 0.8; }

.bf-input:focus,
.bf-input:focus-visible {
  outline: none;
  border-color: var(--ink);
}

.bf-search__input { width: 200px; }
.bf-search__input[hidden] { display: none; }

input.bf-input[type="number"] { -moz-appearance: textfield; }
input.bf-input[type="number"]::-webkit-outer-spin-button,
input.bf-input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bf-pop {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 30;
  min-width: 200px;
  max-width: calc(100vw - 28px);
  padding: 6px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
  color: var(--ink);
}

.bf-pop--right { left: auto; right: 0; }

.bf-list { display: flex; flex-direction: column; }

.bf-bar .bf-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.88rem;
  text-align: left;
}

.bf-bar .bf-item:hover,
.bf-bar .bf-item:focus-visible {
  background: rgba(128, 128, 128, 0.14);
  color: var(--ink);
  outline: none;
}

.bf-check { min-width: 12px; font-size: 0.8rem; color: var(--ink); }

.bf-price {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
}

.bf-price .bf-input { width: 92px; }
.bf-price__sep,
.bf-price__cur { color: var(--muted); font-size: 0.85rem; }

.bf-hidden { display: none !important; }

.bf-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 56px 0;
  text-align: center;
  font-size: 1rem;
  color: var(--muted);
}

.bf-empty[hidden] { display: none; }

.bf-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 560px) {
  .bf-search__input { width: 140px; }
  .bf-pop { min-width: 180px; }
}

/* ---------- Product modal (shared by home #shop and /sklep/) ---------- */
.bf-clickable { cursor: pointer; }

body.bfm-open { overflow: hidden; }

.bfm {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.bfm.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.bfm__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.64);
}

.bfm__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(1000px, 100%);
  height: min(720px, calc(100vh - 48px));
  background: #161615;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
  color: rgba(255, 255, 255, 0.86);
  overflow: hidden;
  outline: none;
  transform: translateY(18px) scale(0.985);
  transition: transform 0.25s ease;
}

.bfm.is-open .bfm__panel { transform: none; }

.bfm__gallery {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #0f0f0e;
}

.bfm__stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
  background: #d8d1ca;
}

.bfm__track {
  display: flex;
  height: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.bfm__slide {
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
}

.bfm__img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

.bfm .bfm__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -20px 0 0;
  padding: 0 0 3px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: none;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.bfm .bfm__nav--prev { left: 12px; }
.bfm .bfm__nav--next { right: 12px; }

.bfm .bfm__nav:hover,
.bfm .bfm__nav:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  outline: none;
}

.bfm .bfm__nav[hidden] { display: none; }

.bfm__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.bfm__dots[hidden] { display: none; }

.bfm .bfm__dot {
  position: relative;
  width: 10px;
  height: 10px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  box-shadow: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.bfm .bfm__dot::after {
  content: "";
  position: absolute;
  inset: -8px;
}

.bfm .bfm__dot:hover,
.bfm .bfm__dot:focus-visible {
  background: rgba(255, 255, 255, 0.6);
  outline: none;
}

.bfm .bfm__dot.is-active { background: #fff; }
.bfm__content {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  padding: 52px 36px 32px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.bfm__tag {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.bfm__title {
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: 0.01em;
  color: #fff;
}

.bfm__price {
  margin: 14px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
}

.bfm__desc {
  margin-top: 20px;
  font-size: 0.98rem;
  line-height: 1.7;
}

.bfm__desc p { margin: 0 0 12px; color: rgba(255, 255, 255, 0.86); }
.bfm__desc strong { font-weight: 600; color: #fff; }

.bfm__meta {
  margin-top: 6px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.bfm__meta strong { font-weight: 600; color: #fff; }

.bfm .bfm__meta a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bfm__actions {
  margin-top: auto;
  padding-top: 24px;
}

.bfm__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.bfm .bfm__cart,
.bfm .bfm__order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin: 0;
  padding: 0 26px;
  border: 1px solid #fff;
  border-radius: 0;
  box-shadow: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: normal;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.bfm .bfm__cart {
  background: #fff;
  color: #161615;
}

.bfm .bfm__order {
  background: transparent;
  color: #fff;
}

.bfm .bfm__cart:hover,
.bfm .bfm__cart:focus-visible {
  background: #fff;
  color: #161615;
  opacity: 0.9;
  outline: none;
}

.bfm .bfm__order:hover,
.bfm .bfm__order:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  outline: none;
}

.bfm .bfm__cart[hidden] { display: none; }

.bfm .bfm__uncart {
  margin: 0;
  padding: 6px 2px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.7);
  font-family: inherit;
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.bfm .bfm__uncart:hover,
.bfm .bfm__uncart:focus-visible {
  background: none;
  color: #fff;
  outline: none;
}

.bfm .bfm__uncart[hidden] { display: none; }

.bfm .bfm__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: none;
  color: #fff;
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.bfm .bfm__close:hover,
.bfm .bfm__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  outline: none;
}

@media (max-width: 760px) {
  .bfm {
    align-items: flex-start;
    padding: 10px;
  }

  .bfm__panel {
    display: block;
    height: auto;
    max-height: calc(100vh - 20px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
  }

  .bfm__gallery { display: block; }
  .bfm__stage { height: min(62vh, 125vw); }
  .bfm__content { padding: 24px 20px 26px; overflow: visible; }
  .bfm__actions { margin-top: 12px; }
  .bfm .bfm__cart,
  .bfm .bfm__order { width: 100%; }
}

/* ---------- Responsive fixes (home sections, tap targets) ---------- */
@media (max-width: 960px) {
  #about {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
    margin-top: 48px;
    padding-left: 20px;
    padding-right: 20px;
  }
  #intro-image { min-height: 380px; }
  #intro-img { min-height: 380px; }
  #intro-copy { max-width: none; }
  #contact { padding: 72px 20px 48px; }
  #site-footer { min-height: 0; padding: 44px 20px 48px; }
}

@media (max-width: 560px) {
  #about {
    gap: 28px;
    margin-top: 36px;
    padding-left: 14px;
    padding-right: 14px;
  }
  #intro-image { min-height: 300px; }
  #intro-img { min-height: 300px; }
  #intro-title { font-size: clamp(2rem, 9vw, 2.6rem); }
  #intro-text-1,
  #intro-text-2 { margin-top: 20px; font-size: 1rem; }
  #intro-cta { display: flex; width: 100%; min-width: 0; }
  #contact { padding: 56px 14px 40px; }
  #contact-title { letter-spacing: 0.04em; }
  #contact-cta { width: 100%; max-width: 320px; }
  #main-nav { gap: 2px 14px; }
  #main-nav > a { display: inline-block; padding: 10px 2px; }
  #footer-nav { gap: 2px 10px; }
  #footer-nav > a { display: inline-block; padding: 10px 2px; }
  #legal-links > a { min-height: 40px; }
  #socials > a { width: 42px; height: 42px; }
}

@media (max-width: 960px) {
  #main-nav > a { display: inline-block; padding: 10px 2px; }
  #footer-nav > a { display: inline-block; padding: 10px 2px; }
  #legal-links > a { min-height: 40px; }
}

/* ---------- Header on tablet/phone: logo + theme toggle on one row, menu below ---------- */
@media (max-width: 960px) {
  #topbar {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand tools" "nav nav";
    align-items: center;
    justify-items: stretch;
    gap: 6px 12px;
    padding-top: 14px;
    padding-bottom: 8px;
  }
  #brand { grid-area: brand; justify-self: start; }
  #topbar > .header-tools { grid-area: tools; justify-self: end; }
  #main-nav { grid-area: nav; justify-content: center; }
}

@media (max-width: 560px) {
  #brand { font-size: clamp(1.2rem, 5.6vw, 1.5rem); }
  #brand img { height: 30px; }
}

/* ---------- Cart drawer ---------- */
body.bfc-open { overflow: hidden; }

.bfc {
  position: fixed;
  inset: 0;
  z-index: 100001;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.bfc.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.bfc__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.55);
}

.bfc__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  background: #161615;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -20px 0 50px rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.86);
  outline: none;
  transform: translateX(28px);
  transition: transform 0.3s ease;
}

.bfc.is-open .bfc__panel { transform: none; }

.bfc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bfc__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  font-weight: 400;
  line-height: 1.1;
  color: #fff;
}

.bfc .bfc__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.4);
  box-shadow: none;
  color: #fff;
  font-family: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.bfc .bfc__close:hover,
.bfc .bfc__close:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  outline: none;
}

.bfc__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 6px 24px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.bfc__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bfc__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  margin: 0;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bfc__thumb {
  display: block;
  width: 56px;
  height: 74px;
  object-fit: cover;
  background: #d8d1ca;
}

.bfc__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.bfc__name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  line-height: 1.25;
  color: #fff;
}

.bfc__price {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.bfc .bfc__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.bfc .bfc__remove:hover,
.bfc .bfc__remove:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  outline: none;
}

.bfc__empty {
  margin: 28px 0 14px;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.bfc .bfc__link {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bfc__foot {
  padding: 18px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bfc__foot[hidden] { display: none; }

.bfc__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.bfc__row strong {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

.bfc__note {
  margin: 8px 0 18px;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.bfc .bfc__order {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 1px solid #fff;
  border-radius: 0;
  background: #fff;
  color: #161615;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.bfc .bfc__order:hover,
.bfc .bfc__order:focus-visible {
  background: #fff;
  color: #161615;
  opacity: 0.9;
  outline: none;
}

.bfc .bfc__clear {
  display: block;
  margin: 14px auto 0;
  padding: 6px 2px;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: inherit;
  font-size: 0.86rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.bfc .bfc__clear:hover,
.bfc .bfc__clear:focus-visible {
  background: none;
  color: #fff;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .bfc, .bfc__panel { transition: none; }
}

/* Header side padding on tablet/phone (placed last so it wins over the desktop alignment rule) */
@media (max-width: 960px) {
  #topbar { padding-left: 20px; padding-right: 20px; }
}

@media (max-width: 560px) {
  #topbar { padding-left: 14px; padding-right: 14px; }
}

/* ---------- One narrow content column on every page + compact "about" ---------- */
:root {
  --content-w: 1040px;
  --gutter: 20px;
}

@media (max-width: 560px) {
  :root { --gutter: 14px; }
}

#topbar {
  padding-left: max(var(--gutter), calc((100% - var(--content-w)) / 2));
  padding-right: max(var(--gutter), calc((100% - var(--content-w)) / 2));
}

#about {
  width: min(var(--content-w), calc(100% - 2 * var(--gutter)));
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

#site-shell .shop-page,
#site-shell .content-wrap {
  max-width: calc(var(--content-w) + 2 * var(--gutter));
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

#contact { padding: 72px var(--gutter) 48px; }

#intro-copy { max-width: none; }
#intro-title { font-size: clamp(2.1rem, 2.6vw, 3rem); }
#intro-subtitle { margin-top: 8px; font-size: 1rem; }
#intro-text-1,
#intro-text-2 {
  max-width: none;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.62;
}
#intro-cta { margin-top: 24px; min-height: 50px; }

/* Desktop: photo + text share one screen (photo height follows the window height) */
@media (min-width: 961px) {
  #about {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: clamp(32px, 4vw, 56px);
    margin-top: 56px;
  }
  #intro-image { height: clamp(380px, 68vh, 600px); min-height: 0; }
  #intro-img { min-height: 0; object-position: 50% 28%; }
}

/* Tablet/phone: stacked, photo kept modest */
@media (max-width: 960px) {
  #about { gap: 28px; margin-top: 40px; }
  #intro-image { height: min(86vw, 460px); min-height: 0; }
  #intro-img { min-height: 0; object-position: 50% 28%; }
}

/* ---------- Home: "Nowosci" (new arrivals) block, shortcode [bf_nowosci] ---------- */
.bfn {
  width: min(var(--content-w), calc(100% - 2 * var(--gutter)));
  margin: 72px auto 0;
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.bfn__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.bfn__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.bfn .bfn__all {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--muted);
  transition: opacity 0.2s ease;
}

.bfn .bfn__all:hover,
.bfn .bfn__all:focus-visible {
  color: var(--muted);
  opacity: 0.7;
}

.bfn__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bfn-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  background: #d9d4ce;
  border: 1px solid rgba(42, 42, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bfn-card:hover,
.bfn-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

.bfn-card__img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.bfn-card__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
}

.bfn-card__title { font-size: 0.98rem; font-weight: 500; line-height: 1.3; }
.bfn-card__price { font-size: 0.95rem; font-weight: 600; }

.bfn .bfn-card__btn {
  align-self: flex-start;
  min-height: 38px;
  margin: 6px 0 0;
  padding: 0 16px;
  border: 1px solid rgba(42, 42, 39, 0.35);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  line-height: normal;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.bfn .bfn-card__btn:hover,
.bfn .bfn-card__btn:focus-visible {
  background: rgba(42, 42, 39, 0.04);
  border-color: rgba(42, 42, 39, 0.35);
  color: var(--ink);
  outline: none;
}

@media (max-width: 960px) {
  .bfn { margin-top: 56px; }
  .bfn__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .bfn__grid { gap: 12px; }
  .bfn-card__info { padding: 12px; }
  .bfn .bfn-card__btn { align-self: stretch; padding: 0; }
}

/* ---------- Home: Newsletter block, shortcode [bf_newsletter] ---------- */
.bfnl {
  width: 100%;
  max-width: none;
  margin: 72px 0 0;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  background: #3b2a20;
  color: #f5f0eb;
  text-align: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.bfnl__title {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: #f5f0eb;
}

.bfnl__lead {
  max-width: 560px;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.5;
  color: rgba(245, 240, 235, 0.88);
}

.bfnl__lead strong {
  color: #fff;
  font-weight: 600;
}

.bfnl__form {
  max-width: 560px;
  margin: 0 auto;
}

.bfnl__row {
  display: flex;
  gap: 10px;
}

.bfnl__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 52px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid rgba(245, 240, 235, 0.5);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  font-size: 1rem;
}

.bfnl__input::placeholder {
  color: rgba(245, 240, 235, 0.6);
}

.bfnl__input:focus {
  outline: 2px solid #f5f0eb;
  outline-offset: 2px;
}

.bfnl__btn {
  flex: 0 0 auto;
  height: 52px;
  margin: 0;
  padding: 0 28px;
  border: 1px solid #f5f0eb;
  border-radius: 0;
  background: #f5f0eb;
  color: #3b2a20;
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bfnl__btn:hover,
.bfnl__btn:focus-visible {
  background: transparent;
  color: #f5f0eb;
}

.bfnl__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  text-align: left;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(245, 240, 235, 0.7);
}

.bfnl__consent input {
  flex: 0 0 auto;
  margin: 2px 0 0;
}

.bfnl__consent a {
  color: inherit;
  text-decoration: underline;
}

.bfnl__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.bfnl__msg {
  margin: 0 auto 20px;
  max-width: 560px;
  font-size: 1.05rem;
}

.bfnl__msg--err {
  color: #ffb4a8;
}

@media (max-width: 560px) {
  .bfnl__row {
    flex-direction: column;
  }
  .bfnl__btn {
    width: 100%;
  }
}

/* ---------- Footer e-mail + legal pages ---------- */
#footer-email {
  margin: 0;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.85);
}

#footer-email a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

#footer-email a:hover,
#footer-email a:focus-visible {
  border-bottom-color: #fff;
}

#legal-links > a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.bf-legal {
  width: min(860px, calc(100% - 2 * var(--gutter)));
  margin: 56px auto 72px;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.02rem;
  line-height: 1.7;
}

.bf-legal h1,
.bf-legal h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  color: var(--ink);
}

.bf-legal h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.1;
}

.bf-legal h2 {
  margin: 34px 0 10px;
  font-size: 1.45rem;
  line-height: 1.25;
}

.bf-legal p {
  margin: 0 0 14px;
}

.bf-legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Shop: 4 per row + category pages (shortcode [bf_shop]) ---------- */
#site-shell .shop-page {
  margin: 0 auto;
  padding-top: 62px;
  padding-bottom: 80px;
}

#site-shell .shop-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 36px;
}

#site-shell .shop-header .eyebrow {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
}

#site-shell .shop-header .eyebrow a {
  color: inherit;
  text-decoration: none;
}

#site-shell .shop-header h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 1.08;
  letter-spacing: 0.04em;
  color: var(--ink);
}

#site-shell .shop-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

#site-shell .product-card {
  margin: 0;
  overflow: hidden;
  background: #d9d4ce;
  border: 1px solid rgba(42, 42, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#site-shell .product-card:hover,
#site-shell .product-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

#site-shell .product-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

#site-shell .product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 18px;
}

#site-shell .product-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#site-shell .product-title {
  font-size: 0.95rem;
  font-weight: 500;
}

#site-shell .product-price {
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
}

#site-shell .product-button {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  justify-content: center;
  min-width: 120px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(42, 42, 39, 0.35);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

#site-shell .product-button:hover,
#site-shell .product-button:focus-visible {
  background: rgba(42, 42, 39, 0.04);
  color: var(--ink);
}

.bf-shop-empty {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

@media (max-width: 960px) {
  #site-shell .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #site-shell .product-card img { height: 280px; }
}

@media (max-width: 560px) {
  #site-shell .shop-grid { grid-template-columns: minmax(0, 1fr); }
  #site-shell .product-top { flex-direction: column; align-items: flex-start; }
}

/* ---------- Header dropdown (Sklep > Pastele, Oleje, ...) ---------- */
#main-nav .bf-has-sub {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

#main-nav .bf-has-sub > a {
  color: var(--muted);
  text-decoration: none;
}

#main-nav .bf-sub-toggle {
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--muted);
  cursor: pointer;
}

#main-nav .bf-sub-toggle::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin: 0 auto;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

#main-nav .bf-has-sub.is-open .bf-sub-toggle::before {
  transform: translateY(1px) rotate(-135deg);
}

#main-nav .bf-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 80;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 10px 0;
  margin-top: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(32, 27, 24, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transform-origin: 50% 0;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}

/* invisible bridge so the hover does not break between the link and the panel */
#main-nav .bf-sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}

#main-nav .bf-sub a {
  display: block;
  padding: 11px 22px;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.15s ease;
}

#main-nav .bf-sub a:hover,
#main-nav .bf-sub a:focus-visible {
  background: rgba(42, 42, 39, 0.06);
  color: var(--ink);
}

#main-nav .bf-has-sub.is-open > .bf-sub,
#main-nav .bf-has-sub:not(.is-closed):has(:focus-visible) > .bf-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
}

#main-nav .bf-has-sub.is-open > .bf-sub a,
#main-nav .bf-has-sub:not(.is-closed):has(:focus-visible) > .bf-sub a {
  opacity: 1;
  transform: none;
}

@media (hover: hover) and (min-width: 961px) {
  #main-nav .bf-has-sub:not(.is-closed):hover > .bf-sub {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
  }
  #main-nav .bf-has-sub:not(.is-closed):hover > .bf-sub a {
    opacity: 1;
    transform: none;
  }
}

/* staggered fade-in of the items */
#main-nav .bf-sub a:nth-child(1) { transition-delay: 0.02s, 0.02s, 0s; }
#main-nav .bf-sub a:nth-child(2) { transition-delay: 0.05s, 0.05s, 0s; }
#main-nav .bf-sub a:nth-child(3) { transition-delay: 0.08s, 0.08s, 0s; }
#main-nav .bf-sub a:nth-child(4) { transition-delay: 0.11s, 0.11s, 0s; }
#main-nav .bf-sub a:nth-child(5) { transition-delay: 0.14s, 0.14s, 0s; }

@media (prefers-reduced-motion: reduce) {
  #main-nav .bf-sub,
  #main-nav .bf-sub a,
  #main-nav .bf-sub-toggle::before { transition: none !important; }
}

/* ---------- Contact page: info + photo | form ---------- */
.content-wrap .contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  margin-top: 24px;
}

.content-wrap .contact-info {
  padding: 0;
}

.content-wrap .contact-photo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 340px;
  margin-top: 0;
  object-fit: cover;
}

.content-wrap .contact-form-wrap {
  padding: 0;
}

.bfcf {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.bfcf__title {
  margin: 0 0 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--ink);
}

.bfcf__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.bfcf__field input,
.bfcf__field textarea {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(42, 42, 39, 0.35);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.35);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: normal;
  text-transform: none;
}

.bfcf__field textarea {
  min-height: 150px;
  resize: vertical;
}

.bfcf__field input:focus,
.bfcf__field textarea:focus {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.bfcf__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.bfcf__consent input { margin: 2px 0 0; flex: 0 0 auto; }
.bfcf__consent a { color: inherit; text-decoration: underline; }

.bfcf__btn {
  align-self: flex-start;
  min-width: 160px;
  height: 50px;
  padding: 0 28px;
  border: 1px solid #3b2a20;
  border-radius: 0;
  background: #3b2a20;
  color: #f5f0eb;
  font: inherit;
  font-size: 0.82rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.bfcf__btn:hover,
.bfcf__btn:focus-visible {
  background: transparent;
  color: #3b2a20;
}

.bfcf__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.bfcf__msg { margin: 0; font-size: 1rem; }
.bfcf__msg--ok { color: #3b5a2e; }
.bfcf__msg--err { color: #a1301f; }

@media (max-width: 760px) {
  .content-wrap .contact-split { grid-template-columns: minmax(0, 1fr); }
  .content-wrap .contact-split { gap: 20px; }
}

/* ---------- Header logo inset + taller contact hero strip ---------- */
@media (min-width: 961px) {
  #brand { margin-left: 48px; }
}

#site-shell .hero-strip img {
  height: clamp(260px, 34vw, 520px);
  object-position: center 70%;
}

@media (max-width: 560px) {
  #site-shell .hero-strip img { height: 280px; }
}

/* ---------- Blog teaser (home) ---------- */
#site-shell .bfblog { width: 100%; margin: 72px 0 0; padding: 0 var(--gutter); }
#site-shell .bfblog-inner {
  max-width: var(--content-w); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 72px); align-items: center;
}
#site-shell .bfblog-photo { display: block; overflow: hidden; }
#site-shell .bfblog-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s ease; }
#site-shell .bfblog-photo:hover img { transform: scale(1.03); }
#site-shell .bfblog-copy { text-align: center; padding: 8px 0; font-family: Georgia, "Times New Roman", serif; }
#site-shell .bfblog-copy h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; letter-spacing: .14em; text-transform: uppercase; }
#site-shell .bfblog-sub { margin: 18px 0 0; font-style: italic; font-size: 15px; opacity: .8; }
#site-shell .bfblog-text { margin: 32px auto 0; max-width: 420px; font-size: 17px; line-height: 1.75; }
#site-shell .bfblog-btn {
  display: inline-block; margin-top: 36px; padding: 14px 28px; border: 1px solid currentColor;
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; color: inherit;
  transition: background-color .25s ease, color .25s ease;
}
#site-shell .bfblog-btn:hover, #site-shell .bfblog-btn:focus-visible { background: #3b2a20; color: #fff; border-color: #3b2a20; }
@media (max-width: 760px) {
  #site-shell .bfblog { margin-top: 48px; }
  #site-shell .bfblog-inner { grid-template-columns: 1fr; gap: 24px; }
  #site-shell .bfblog-photo img { aspect-ratio: 4 / 4.2; }
}

/* ---------- Footer: e-mail as icon next to Instagram ---------- */
#social-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='5.5' width='17' height='13' rx='2' fill='none' stroke='%23ffffff' stroke-opacity='.8' stroke-width='1.7'/%3E%3Cpath d='M4.5 7.5l7.5 6 7.5-6' fill='none' stroke='%23ffffff' stroke-opacity='.8' stroke-width='1.7' stroke-linejoin='round' stroke-linecap='round'/%3E%3C/svg%3E");
}
#socials > a { transition: border-color .25s ease, background-color .25s ease; }
#socials > a:hover, #socials > a:focus-visible { border-color: rgba(255, 255, 255, 0.85); background-color: rgba(255, 255, 255, 0.08); }

/* ---------- Gallery-style product cards (shop pages) ---------- */
#site-shell .shop-grid { gap: 40px 24px; }
#site-shell .product-card {
  overflow: visible; background: transparent; border: 0; box-shadow: none; transform: none;
  cursor: pointer; position: relative;
}
#site-shell .product-card:hover,
#site-shell .product-card:focus-within { transform: none; box-shadow: none; }
#site-shell .product-card img {
  height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .35s ease;
}
#site-shell .product-card:hover img { opacity: .88; }
#site-shell .product-card:focus-within img { outline: 2px solid var(--ink); outline-offset: 3px; }
#site-shell .product-info { display: block; padding: 22px 0 0; background: transparent; }
#site-shell .product-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
#site-shell .product-title {
  font-size: .8rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
#site-shell .product-price {
  font-size: .72rem; font-weight: 400; letter-spacing: .1em; color: var(--muted); opacity: .75;
}
/* the "Zobacz" button stays in the DOM (the card click uses it) but is visually hidden */
#site-shell .product-card .product-button {
  position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}
@media (max-width: 960px) {
  #site-shell .product-card img { height: auto; }
  #site-shell .shop-grid { gap: 32px 16px; }
}
@media (max-width: 560px) {
  #site-shell .shop-grid { gap: 28px 0; }
}

/* ---------- Product modal: light theme ---------- */
.bfm .bfm__backdrop { background: rgba(48, 40, 34, 0.48); }
.bfm .bfm__panel {
  background: #efede8; border-color: rgba(42, 42, 39, 0.12);
  box-shadow: 0 24px 60px rgba(40, 32, 26, 0.22); color: #2a2a27;
}
.bfm .bfm__gallery { background: #e5e1da; }
.bfm .bfm__content { scrollbar-color: rgba(42, 42, 39, 0.3) transparent; }
.bfm .bfm__tag { color: rgba(42, 42, 39, 0.55); }
.bfm .bfm__title, .bfm .bfm__price { color: #2a2a27; }
.bfm .bfm__desc p { color: rgba(42, 42, 39, 0.86); }
.bfm .bfm__desc strong, .bfm .bfm__meta strong { color: #2a2a27; }
.bfm .bfm__meta { color: rgba(42, 42, 39, 0.72); }
.bfm .bfm__meta a { color: #2a2a27; }
.bfm .bfm__cart { background: #3b2a20; border-color: #3b2a20; color: #fff; }
.bfm .bfm__cart:hover, .bfm .bfm__cart:focus-visible { background: #2a1d15; border-color: #2a1d15; color: #fff; }
.bfm .bfm__order { background: transparent; border-color: #2a2a27; color: #2a2a27; }
.bfm .bfm__order:hover, .bfm .bfm__order:focus-visible { background: rgba(42, 42, 39, 0.07); color: #2a2a27; }
.bfm .bfm__uncart { color: rgba(42, 42, 39, 0.65); }
.bfm .bfm__uncart:hover, .bfm .bfm__uncart:focus-visible { color: #2a2a27; }
.bfm .bfm__close { background: #efede8; border-color: rgba(42, 42, 39, 0.28); color: #2a2a27; }
.bfm .bfm__close:hover, .bfm .bfm__close:focus-visible { background: #e3dfd8; color: #2a2a27; }
@media (max-width: 760px) {
  .bfm .bfm__panel { scrollbar-color: rgba(42, 42, 39, 0.3) transparent; }
}

/* ---------- Mobile / tablet header: burger left, logo centre, cart right ---------- */
.bf-burger { display: none; }

@media (max-width: 960px) {
  #topbar {
    z-index: 70;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-areas: "burger brand tools";
    gap: 0 8px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  #brand { grid-area: brand; justify-self: center; margin-left: 0; }
  #topbar > .header-tools { grid-area: tools; justify-self: end; }

  .bf-burger {
    grid-area: burger; justify-self: start;
    position: relative; display: block; width: 44px; height: 44px; margin: 0 0 0 -8px; padding: 0;
    border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .bf-burger__bar {
    position: absolute; left: 8px; right: 8px; height: 1px; background: currentColor;
    transition: transform .3s ease, top .3s ease;
  }
  .bf-burger__bar:nth-child(1) { top: 17px; }
  .bf-burger__bar:nth-child(2) { top: 26px; }
  #topbar.is-menu-open .bf-burger__bar:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
  #topbar.is-menu-open .bf-burger__bar:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }
  .bf-burger:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }

  /* the nav becomes a drop-down panel under the header */
  #main-nav {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 71;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    max-height: calc(100vh - 80px); overflow-y: auto;
    padding: 8px var(--gutter) 22px;
    background: var(--sand); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(32, 27, 24, 0.10);
    font-size: .82rem; letter-spacing: .2em; text-align: center;
    opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  #topbar.is-menu-open #main-nav {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: opacity .25s ease, transform .25s ease, visibility 0s;
  }
  #main-nav > a, #main-nav .bf-has-sub > a { display: block; padding: 15px 0; }
  #main-nav > a + a, #main-nav > a + .bf-has-sub, #main-nav > .bf-has-sub + a { border-top: 1px solid var(--line); }

  #main-nav .bf-has-sub { display: block; position: static; border-top: 1px solid var(--line); }
  #main-nav .bf-has-sub > a { display: inline-block; }
  #main-nav .bf-sub-toggle { width: 34px; height: 34px; vertical-align: middle; margin-left: 2px; }
  #main-nav .bf-sub {
    position: static !important; display: none; min-width: 0; margin: 0; padding: 0 0 10px;
    border: 0; box-shadow: none; background: transparent;
    opacity: 1 !important; visibility: visible !important; transform: none !important; pointer-events: auto;
  }
  #main-nav .bf-sub::before { display: none; }
  #main-nav .bf-has-sub.is-open > .bf-sub { display: flex; }
  #main-nav .bf-sub a {
    padding: 11px 0; text-align: center; white-space: normal; font-size: .74rem; color: var(--muted);
    opacity: 1 !important; transform: none !important;
  }
}

@media (max-width: 560px) {
  #topbar { grid-template-columns: 44px minmax(0, 1fr) 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .bf-burger__bar, #main-nav { transition: none !important; }
}

/* burger: kill the theme's pink button hover/focus/active colours */
#topbar .bf-burger,
#topbar .bf-burger:hover,
#topbar .bf-burger:focus,
#topbar .bf-burger:active,
#topbar .bf-burger:focus-visible {
  background: transparent !important; background-color: transparent !important;
  color: var(--ink) !important; border-color: transparent !important; box-shadow: none !important; text-decoration: none;
}
#topbar .bf-burger:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
#topbar .bf-burger__bar { background: var(--ink) !important; }
#topbar .bf-burger:hover .bf-burger__bar { opacity: .65; }

/* ---------- Kontakt page: wider column (smaller side margins) + intro as numbered points ---------- */
body.page-id-38 { --content-w: 1120px; --gutter: 24px; }
/* header keeps the standard width, so the logo sits where it does on the other pages */
body.page-id-38 #topbar { --content-w: 1040px; --gutter: 20px; }
@media (max-width: 560px) { body.page-id-38 { --gutter: 14px; } }

body.page-id-38 #site-shell .content-wrap { counter-reset: svc; }
body.page-id-38 #site-shell .content-wrap > h1 { margin-bottom: 22px; }
body.page-id-38 #site-shell .content-wrap > .lead {
  max-width: 760px; margin: 0 0 14px; font-size: 1.05rem; line-height: 1.7; color: var(--muted);
}
body.page-id-38 #site-shell .content-wrap > .lead:first-of-type {
  font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.45; color: var(--ink);
}
body.page-id-38 #site-shell .services {
  list-style: none; margin: 26px 0 44px; padding: 0; width: 100%; max-width: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
}
body.page-id-38 #site-shell .services li {
  counter-increment: svc; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--line);
  font-size: .98rem; line-height: 1.6; color: var(--ink);
}
body.page-id-38 #site-shell .services li::before {
  content: "0" counter(svc); display: block; margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; letter-spacing: .06em; color: rgba(42, 42, 39, .45);
}
@media (max-width: 960px) {
  body.page-id-38 #site-shell .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
}
@media (max-width: 560px) {
  body.page-id-38 #site-shell .services { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-bottom: 32px; }
  body.page-id-38 #site-shell .services li { display: grid; grid-template-columns: 44px 1fr; align-items: baseline; }
  body.page-id-38 #site-shell .services li::before { margin: 0; font-size: 1.2rem; }
}

/* ---------- Home intro: larger photo ---------- */
@media (min-width: 961px) {
  #about { grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr); gap: clamp(32px, 4.5vw, 64px); }
  #intro-image { height: clamp(500px, 86vh, 820px); }
  #intro-img { object-position: 50% 30%; }
}
@media (max-width: 960px) {
  #intro-image { height: min(118vw, 640px); }
}

/* ---------- Home "Nowosci": same gallery-style cards as the shop ---------- */
#site-shell .bfn__grid { gap: 40px 24px; }
#site-shell .bfn .bfn-card {
  display: block; overflow: visible; background: transparent; border: 0; box-shadow: none; transform: none;
  position: relative; cursor: pointer;
}
#site-shell .bfn .bfn-card:hover,
#site-shell .bfn .bfn-card:focus-within { transform: none; box-shadow: none; }
#site-shell .bfn .bfn-card__img { transition: opacity .35s ease; }
#site-shell .bfn .bfn-card:hover .bfn-card__img { opacity: .88; }
#site-shell .bfn .bfn-card:focus-within .bfn-card__img { outline: 2px solid var(--ink); outline-offset: 3px; }
#site-shell .bfn .bfn-card__info { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 22px 0 0; }
#site-shell .bfn .bfn-card__title {
  font-size: .8rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); line-height: 1.4;
}
#site-shell .bfn .bfn-card__price {
  font-size: .72rem; font-weight: 400; letter-spacing: .1em; color: var(--muted); opacity: .75;
}
/* the "Zobacz" button stays in the DOM (the card click uses it) but is visually hidden */
#site-shell .bfn .bfn-card .bfn-card__btn {
  position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap;
}
@media (max-width: 960px) { #site-shell .bfn__grid { gap: 32px 16px; } }
@media (max-width: 560px) { #site-shell .bfn__grid { gap: 28px 12px; } #site-shell .bfn .bfn-card__info { padding: 18px 0 0; } }

/* ---------- Product modal: brown buttons ---------- */
.bfm .bfm__cart { background: #7a5238; border-color: #7a5238; color: #fff; }
.bfm .bfm__cart:hover, .bfm .bfm__cart:focus-visible { background: #623f2a; border-color: #623f2a; color: #fff; }
.bfm .bfm__order { background: transparent; border-color: #7a5238; color: #7a5238; }
.bfm .bfm__order:hover, .bfm .bfm__order:focus-visible { background: rgba(122, 82, 56, 0.1); border-color: #623f2a; color: #623f2a; }

/* ---------- Blog (list /blog/ and single posts) ---------- */
#site-shell .bf-blog-lead {
  max-width: 620px;
  margin: 4px 0 0;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--muted);
}

#site-shell .bf-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 22px;
}

#site-shell .bf-post-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  overflow: hidden;
  background: #d9d4ce;
  border: 1px solid rgba(42, 42, 39, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#site-shell .bf-post-card:hover,
#site-shell .bf-post-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
}

#site-shell .bf-post-card__img { display: block; overflow: hidden; }

#site-shell .bf-post-card__img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: 50% 42%;
}

#site-shell .bf-post-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
}

#site-shell .bf-post-card__date,
#site-shell .bf-post__date {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

#site-shell .bf-post-card__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

#site-shell .bf-post-card__title a { color: inherit; text-decoration: none; }

#site-shell .bf-post-card__excerpt {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

#site-shell .bf-post-card__more {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-top: 6px;
  padding: 0 16px;
  border: 1px solid rgba(42, 42, 39, 0.35);
  color: var(--ink);
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

#site-shell .bf-post-card__more:hover,
#site-shell .bf-post-card__more:focus-visible {
  background: rgba(42, 42, 39, 0.04);
  color: var(--ink);
  outline: none;
}

/* Single post */
#site-shell .bf-post__hero {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  margin-bottom: 56px;
}

#site-shell .bf-post__photo { margin: 0; overflow: hidden; }

#site-shell .bf-post__photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 600px;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

#site-shell .shop-header.bf-post__intro { margin-bottom: 0; }

#site-shell .shop-header.bf-post__intro h1 { font-size: clamp(2rem, 3.2vw, 3rem); }

#site-shell .bf-post__lead {
  margin: 6px 0 0;
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--muted);
}

#site-shell .bf-post__content {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink);
}

#site-shell .bf-post__content p { margin: 0 0 1.2em; }

#site-shell .bf-post__content h2,
#site-shell .bf-post__content h3 {
  margin: 1.7em 0 0.6em;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0.02em;
  color: var(--ink);
}

#site-shell .bf-post__content h2 { font-size: clamp(1.55rem, 2.3vw, 2rem); }
#site-shell .bf-post__content h3 { font-size: 1.3rem; }

#site-shell .bf-post__content a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

#site-shell .bf-post__content figure { margin: 2em 0; }

#site-shell .bf-post__content img {
  display: block;
  width: 100%;
  height: auto;
}

#site-shell .bf-post__content figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}

#site-shell .bf-post__content .wp-block-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 2em 0;
}

#site-shell .bf-post__content .wp-block-gallery figure.wp-block-image { margin: 0; width: auto; }

#site-shell .bf-post__content .wp-block-gallery img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

#site-shell .bf-post__content blockquote {
  margin: 2em 0;
  padding: 0 0 0 20px;
  border-left: 2px solid var(--line);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  line-height: 1.5;
}

#site-shell .bf-post__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 720px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

#site-shell .bf-post__btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid rgba(42, 42, 39, 0.35);
  color: var(--ink);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

#site-shell .bf-post__btn:hover,
#site-shell .bf-post__btn:focus-visible {
  background: rgba(42, 42, 39, 0.04);
  color: var(--ink);
  outline: none;
}

@media (max-width: 960px) {
  #site-shell .bf-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #site-shell .bf-post__hero { grid-template-columns: 1fr; gap: 24px; margin-bottom: 40px; }
  #site-shell .bf-post__intro { order: -1; }
  #site-shell .bf-post__photo img { max-height: 460px; aspect-ratio: 4 / 3; object-position: 50% 40%; }
}

@media (max-width: 560px) {
  #site-shell .bf-posts { grid-template-columns: 1fr; }
  #site-shell .bf-post__content { font-size: 1rem; }
}

/* bf-single-figure: a lone portrait photo in an article stays modest */
#site-shell .bf-post__content > figure.wp-block-image {
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}


/* ---------- Header / footer built in Elementor (Header Footer Elementor templates) ---------- */
/* Elementor wraps every widget in extra <div>s; "display: contents" lets the original grid/flex rules (#topbar, #site-footer) see the real elements. */
#topbar > .elementor-widget,
#topbar > .elementor-widget > .elementor-widget-container,
#site-footer > .elementor-widget,
#site-footer > .elementor-widget > .elementor-widget-container { display: contents; }

#topbar.e-con,
#site-footer.e-con { max-width: none; }

#topbar.e-con { margin: 0 auto; }

#topbar > #brand.e-con,
#topbar > .header-tools.e-con {
  display: block;
  width: auto;
  min-width: 0;
  padding: 0;
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
}

#topbar > .header-tools.e-con { display: flex; flex-direction: row; margin: 0; }

/* Elementor sets its own line-height inside .elementor; the classic header/footer use "normal" */
#topbar,
#site-footer { line-height: normal; }

#brand .elementor-widget-image,
#brand .elementor-widget-image .elementor-widget-container { margin: 0; line-height: 0; }

#brand .elementor-widget-image a { display: inline-block; }

#site-footer.e-con { --padding-top: 40px; --padding-bottom: 54px; }

/* ---------- Footer: native Elementor widgets (Social Icons + Text Editor), classes set on the widgets ---------- */
#site-footer > .elementor-widget.bf-f { display: block; width: auto; max-width: 100%; margin: 0; text-align: center; }
#site-footer > .elementor-widget.bf-f > .elementor-widget-container { display: block; margin: 0; padding: 0; }

#site-footer .bf-f-social .elementor-social-icons-wrapper { display: flex; align-items: center; justify-content: center; gap: 28px; }
#site-footer .bf-f-social .elementor-grid-item { margin: 0; }
#site-footer .bf-f-social .elementor-social-icon {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; margin: 0; padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%;
  background: transparent; color: rgba(255, 255, 255, 0.8); font-size: 16px;
}
#site-footer .bf-f-social .elementor-social-icon:hover,
#site-footer .bf-f-social .elementor-social-icon:focus-visible { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
#site-footer .bf-f-social .elementor-social-icon i { color: inherit; }
#site-footer .bf-f-social .elementor-social-icon svg { width: 16px; height: 16px; fill: currentColor; }

#site-footer .bf-f p { margin: 0; }

#site-footer .bf-f-nav p { font-size: 0.72rem; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255, 255, 255, 0.76); }
#site-footer .bf-f-nav a { color: inherit; text-decoration: none; }
#site-footer .bf-f-nav a:hover,
#site-footer .bf-f-nav a:focus-visible { color: #fff; }

#site-footer .bf-f-legal p { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px; }
#site-footer .bf-f-legal a { color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; letter-spacing: 0.04em; text-decoration: none; }
#site-footer .bf-f-legal a:hover,
#site-footer .bf-f-legal a:focus-visible { color: #fff; }

#site-footer .bf-f-copy p { font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.76); }

@media (max-width: 960px) {
  #site-footer .bf-f-nav a { display: inline-block; padding: 10px 2px; }
  #site-footer .bf-f-legal a { display: inline-flex; align-items: center; min-height: 40px; }
  #site-footer .bf-f-social .elementor-social-icon { width: 42px; height: 42px; }
}
@media (max-width: 560px) {
  #site-footer .bf-f-nav p { letter-spacing: 0.12em; }
}


/* ---------- Header navigation: native Elementor widget "Navigation Menu" (class .bf-nav on the widget) ---------- */
/* desktop (> 1024px): inline links like before, "Sklep" opens a panel on hover/focus */
#topbar > .bf-nav.elementor-widget { display: flex; align-items: center; justify-content: center; min-width: 0; margin: 0; }
#topbar .bf-nav .elementor-widget-container { width: auto; margin: 0; padding: 0; }
#topbar .bf-nav .hfe-nav-menu__toggle { display: none; }

#topbar .bf-nav nav.hfe-nav-menu__layout-horizontal,
#topbar .bf-nav ul.hfe-nav-menu {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(16px, 1.7vw, 34px);
  margin: 0; padding: 0; list-style: none;
}
#topbar .bf-nav nav.hfe-nav-menu__layout-horizontal { gap: 0; }

#topbar .bf-nav li.menu-item { margin: 0; padding: 0; list-style: none; background: none; }

#topbar .bf-nav a.hfe-menu-item {
  display: inline-flex; align-items: center; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: none; box-shadow: none;
  color: var(--muted); font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 0.63rem; font-weight: 400; line-height: normal; letter-spacing: 0.28em; text-transform: uppercase; text-decoration: none;
  transition: opacity 0.2s ease;
}
#topbar .bf-nav a.hfe-menu-item:hover,
#topbar .bf-nav a.hfe-menu-item:focus-visible { background: none; color: var(--muted); opacity: 0.7; }

#topbar .bf-nav li.hfe-has-submenu { position: relative; }
#topbar .bf-nav .hfe-has-submenu-container { display: inline-flex; align-items: center; gap: 2px; }
#topbar .bf-nav .hfe-has-submenu-container a.hfe-menu-item { padding: 0; }

/* chevron next to "Sklep" (drawn with borders, as before) */
#topbar .bf-nav .sub-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; margin: 0; padding: 0; color: var(--muted); cursor: pointer;
}
#topbar .bf-nav .sub-arrow i,
#topbar .bf-nav .sub-arrow svg { display: none; }
#topbar .bf-nav .sub-arrow::before {
  content: ""; display: block; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease;
}

#topbar .bf-nav ul.sub-menu {
  position: absolute; top: 100%; left: 50%; z-index: 80;
  display: flex; flex-direction: column; min-width: 190px; margin: 10px 0 0; padding: 10px 0;
  list-style: none; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 14px 30px rgba(32, 27, 24, 0.12);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translate(-50%, -8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
#topbar .bf-nav ul.sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
#topbar .bf-nav ul.sub-menu li.menu-item { display: block; }
#topbar .bf-nav ul.sub-menu a.hfe-sub-menu-item {
  display: block; padding: 11px 22px; margin: 0; border: 0; background: none;
  color: var(--ink); font-size: 0.63rem; letter-spacing: 0.28em; line-height: normal; text-transform: uppercase; text-align: left; text-decoration: none; white-space: nowrap;
  transition: background 0.15s ease;
}
#topbar .bf-nav ul.sub-menu a.hfe-sub-menu-item:hover,
#topbar .bf-nav ul.sub-menu a.hfe-sub-menu-item:focus-visible { background: rgba(42, 42, 39, 0.06); color: var(--ink); }

@media (hover: hover) {
  #topbar .bf-nav li.hfe-has-submenu:hover > ul.sub-menu,
  #topbar .bf-nav li.hfe-has-submenu:focus-within > ul.sub-menu {
    opacity: 1; visibility: visible; pointer-events: auto; transform: translate(-50%, 0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s;
  }
  #topbar .bf-nav li.hfe-has-submenu:hover .sub-arrow::before { transform: translateY(1px) rotate(-135deg); }
}

/* tablet / phone (<= 1024px = Elementor "tablet" breakpoint): burger left, logo centre, cart right; menu drops down under the header */
@media (max-width: 1024px) {
  #topbar {
    z-index: 70;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    grid-template-areas: "burger brand tools";
    gap: 0 8px; padding-top: 12px; padding-bottom: 12px;
  }
  #topbar > #brand { grid-area: brand; justify-self: center; margin-left: 0; }
  #topbar > .header-tools { grid-area: tools; justify-self: end; }

  #topbar > .bf-nav.elementor-widget,
  #topbar > .bf-nav > .elementor-widget-container,
  #topbar .bf-nav .hfe-nav-menu { display: contents; }

  #topbar .bf-nav .hfe-nav-menu__toggle {
    grid-area: burger; justify-self: start;
    position: relative; display: block; width: 44px; height: 44px; margin: 0 0 0 -8px; padding: 0;
    border: 0; border-radius: 0; background: transparent; box-shadow: none; color: var(--ink); cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  #topbar .bf-nav .hfe-nav-menu__toggle:hover,
  #topbar .bf-nav .hfe-nav-menu__toggle:focus { background: transparent; color: var(--ink); }
  #topbar .bf-nav .hfe-nav-menu__toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
  #topbar .bf-nav .hfe-nav-menu__toggle .hfe-nav-menu-icon { display: none; }
  #topbar .bf-nav .hfe-nav-menu__toggle::before,
  #topbar .bf-nav .hfe-nav-menu__toggle::after {
    content: ""; position: absolute; left: 8px; right: 8px; height: 1px; background: var(--ink);
    transition: transform 0.3s ease, top 0.3s ease;
  }
  #topbar .bf-nav .hfe-nav-menu__toggle::before { top: 17px; }
  #topbar .bf-nav .hfe-nav-menu__toggle::after { top: 26px; }
  #topbar .bf-nav .hfe-nav-menu__toggle.hfe-active-menu::before { top: 21.5px; transform: rotate(45deg); }
  #topbar .bf-nav .hfe-nav-menu__toggle.hfe-active-menu::after { top: 21.5px; transform: rotate(-45deg); }

  #topbar .bf-nav nav.hfe-dropdown {
    position: absolute; top: 100%; left: 0; right: 0; z-index: 71; width: auto;
    display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    max-height: calc(100vh - 80px); overflow-y: auto;
    margin: 0; padding: 8px var(--gutter) 22px;
    background: var(--sand); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(32, 27, 24, 0.10);
    opacity: 0; visibility: hidden; transform: translateY(-8px); pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  }
  #topbar .bf-nav .hfe-nav-menu__toggle.hfe-active-menu + nav.hfe-dropdown {
    opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
  }
  #topbar .bf-nav nav.hfe-dropdown ul.hfe-nav-menu { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; }
  #topbar .bf-nav nav.hfe-dropdown li.menu-item { display: block; width: 100%; text-align: center; border-top: 1px solid var(--line); }
  #topbar .bf-nav nav.hfe-dropdown li.menu-item:first-child { border-top: 0; }
  #topbar .bf-nav nav.hfe-dropdown a.hfe-menu-item {
    display: block; width: auto; padding: 15px 0; text-align: center;
    font-size: 0.82rem; letter-spacing: 0.2em;
  }
  #topbar .bf-nav nav.hfe-dropdown .hfe-has-submenu-container { display: inline-flex; justify-content: center; }
  #topbar .bf-nav nav.hfe-dropdown .hfe-has-submenu-container a.hfe-menu-item { display: inline-block; }
  #topbar .bf-nav nav.hfe-dropdown .sub-arrow { width: 34px; height: 34px; }
  #topbar .bf-nav nav.hfe-dropdown ul.sub-menu {
    position: static; display: none; min-width: 0; margin: 0; padding: 0 0 10px; border: 0; box-shadow: none; background: transparent;
    opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition: none;
  }
  #topbar .bf-nav nav.hfe-dropdown ul.sub-menu::before { display: none; }
  #topbar .bf-nav nav.hfe-dropdown ul.sub-menu.sub-menu-open { display: flex; }
  #topbar .bf-nav nav.hfe-dropdown .hfe-has-submenu-container.sub-menu-active .sub-arrow::before { transform: translateY(1px) rotate(-135deg); }
  #topbar .bf-nav nav.hfe-dropdown ul.sub-menu li.menu-item { border-top: 0; }
  #topbar .bf-nav nav.hfe-dropdown ul.sub-menu a.hfe-sub-menu-item { padding: 11px 0; text-align: center; font-size: 0.74rem; color: var(--muted); white-space: normal; }
}

@media (max-width: 560px) {
  #topbar { grid-template-columns: 44px minmax(0, 1fr) 44px; }
}

@media (prefers-reduced-motion: reduce) {
  #topbar .bf-nav .hfe-nav-menu__toggle::before,
  #topbar .bf-nav .hfe-nav-menu__toggle::after,
  #topbar .bf-nav nav.hfe-dropdown { transition: none !important; }
}

/* nav tweaks: plugin separators off, arrow inside the link on one line, submenu open state in "self link" mode */
#topbar .bf-nav li.menu-item,
#topbar .bf-nav a.hfe-menu-item,
#topbar .bf-nav a.hfe-sub-menu-item { border-bottom: 0; }
#topbar .bf-nav ul.sub-menu li.menu-item { border: 0; }
#topbar .bf-nav a.hfe-menu-item { gap: 2px; }

@media (max-width: 1024px) {
  #topbar .bf-nav nav.hfe-dropdown li.menu-item { border-bottom: 0; border-top: 1px solid var(--line); }
  #topbar .bf-nav nav.hfe-dropdown li.menu-item:first-child { border-top: 0; }
  #topbar .bf-nav nav.hfe-dropdown ul.sub-menu li.menu-item { border: 0; }
  #topbar .bf-nav nav.hfe-dropdown .hfe-has-submenu-container a.hfe-menu-item { display: inline-flex; align-items: center; justify-content: center; }
  #topbar .bf-nav nav.hfe-dropdown .hfe-has-submenu-container.menu-active + ul.sub-menu { display: flex; }
  #topbar .bf-nav nav.hfe-dropdown .hfe-has-submenu-container.menu-active .sub-arrow::before { transform: translateY(1px) rotate(-135deg); }
}

/* nav tweaks 2: submenu typography like the top level */
#topbar .bf-nav a.hfe-sub-menu-item { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 400; }

/* ---------- Native Elementor widgets: home blog teaser (container .bfblog) ---------- */
#site-shell .bfblog.e-con { max-width: none; }
#site-shell .bfblog-inner.e-con { width: 100%; max-width: var(--content-w); margin: 0 auto; padding: 0; }
#site-shell .bfblog .elementor-widget { margin: 0; }
#site-shell .bfblog-photo { width: 100%; }
#site-shell .bfblog-photo a { display: block; overflow: hidden; }
#site-shell .bfblog-photo img { width: 100%; max-width: 100%; }
#site-shell .bfblog-copy.e-con { padding: 8px 0; align-items: center; }
#site-shell .bfblog-copy .elementor-heading-title { margin: 0; font-family: inherit; font-size: clamp(28px, 3.4vw, 40px); font-weight: 400; line-height: normal; letter-spacing: .14em; text-transform: uppercase; color: inherit; text-align: center; }
#site-shell .bfblog-copy p { margin: 0; font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; }
#site-shell .bfblog-sub { font-family: Georgia, "Times New Roman", serif; }
#site-shell .bfblog-text { width: 100%; font-family: Georgia, "Times New Roman", serif; }
#site-shell .bfblog-cta { margin-top: 36px; }
#site-shell .bfblog-cta .elementor-button-wrapper { text-align: center; }
#site-shell .bfblog-cta .elementor-button {
  display: inline-block; padding: 14px 28px; border: 1px solid currentColor; border-radius: 0;
  background: transparent; box-shadow: none; color: var(--ink);
  font-family: Georgia, "Times New Roman", serif; font-size: 12px; font-weight: 400; line-height: normal; letter-spacing: .22em; text-transform: uppercase; text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}
#site-shell .bfblog-cta .elementor-button:hover,
#site-shell .bfblog-cta .elementor-button:focus-visible { background: #3b2a20; color: #fff; border-color: #3b2a20; }
@media (max-width: 760px) {
  #site-shell .bfblog-inner.e-con { flex-direction: column; }
}

/* home blog teaser: spacing/colour parity with the former shortcode markup */
#site-shell .bfblog .bfblog-copy .elementor-widget { width: 100%; text-align: center; }
#site-shell .bfblog .bfblog-sub.elementor-widget { margin: 18px 0 0; color: inherit; opacity: .8; }
#site-shell .bfblog .bfblog-text.elementor-widget { margin: 32px auto 0; max-width: 420px; color: inherit; }
#site-shell .bfblog .bfblog-cta.elementor-widget { margin: 36px 0 0; }
#site-shell .bfblog .bfblog-copy .elementor-heading-title { line-height: 1.2; }
#site-shell .bfblog-cta .elementor-button { line-height: 20px; }

/* ---------- Native Elementor widgets: Kontakt page ---------- */
#site-shell .content-wrap.e-con { width: 100%; }
#site-shell .content-wrap .elementor-widget { margin: 0; }
#site-shell .content-wrap h1.elementor-heading-title {
  margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.8rem, 3vw, 4rem);
  letter-spacing: 0.04em; line-height: 1.08; color: var(--ink); text-align: left;
}
#site-shell .content-wrap .elementor-widget-text-editor { font-family: inherit; color: inherit; font-size: inherit; line-height: inherit; }
#site-shell .content-wrap .contact-split.e-con { display: grid; width: 100%; padding: 0; }
#site-shell .content-wrap .contact-info.e-con,
#site-shell .content-wrap .contact-form-wrap.e-con { display: block; padding: 0; min-width: 0; }
#site-shell .content-wrap .contact-photo-w img { display: block; width: 100%; height: auto; max-height: 340px; margin-top: 0; object-fit: cover; }
#site-shell .hero-strip.e-con { padding: 0; width: 100%; }
#site-shell .hero-strip .elementor-widget { margin: 0; line-height: 0; }
#site-shell .bfblog-cta .elementor-button { line-height: 18px; }

/* ---------- Stock-aware shop: "Sprzedany" label, quantity pickers ---------- */
.bfn-card { position: relative; }

#site-shell .product-card .bf-sold,
.bfn-card .bf-sold {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 6px 10px; background: #3b2a20; color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif; font-size: 0.66rem; letter-spacing: 0.22em; line-height: 1; text-transform: uppercase;
  pointer-events: none;
}
#site-shell .product-card.is-sold img,
.bfn-card.is-sold .bfn-card__img { opacity: 0.55; }
#site-shell .product-card.is-sold:hover img { opacity: 0.55; }

.bfm .bfm__sold {
  display: inline-block; margin: 10px 0 0; padding: 6px 12px; background: #3b2a20; color: #fff;
  font-size: 0.7rem; letter-spacing: 0.22em; line-height: 1; text-transform: uppercase;
}
.bfm .bfm__stock { margin: 8px 0 0; font-size: 0.85rem; color: rgba(42, 42, 39, 0.72); }
.bfm .bfm__qty { display: flex; align-items: center; gap: 8px; margin: 18px 0 0; }
.bfm .bfm__qty-label { margin-right: 4px; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(42, 42, 39, 0.72); }
.bfm .bfm__qty-btn {
  width: 38px; height: 38px; padding: 0; border: 1px solid rgba(42, 42, 39, 0.35); border-radius: 0;
  background: transparent; color: #2a2a27; font-size: 1.1rem; line-height: 1; cursor: pointer;
}
.bfm .bfm__qty-btn:hover:not(:disabled) { background: rgba(42, 42, 39, 0.06); color: #2a2a27; }
.bfm .bfm__qty-btn:disabled { opacity: 0.35; cursor: default; }
.bfm .bfm__qty-input {
  width: 64px; height: 38px; padding: 0 6px; border: 1px solid rgba(42, 42, 39, 0.35); border-radius: 0;
  background: transparent; color: #2a2a27; font: inherit; text-align: center;
}

.bfc .bfc__qty { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.bfc .bfc__qty-btn {
  width: 28px; height: 28px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 0;
  background: transparent; color: #fff; line-height: 1; cursor: pointer;
}
.bfc .bfc__qty-btn:disabled { opacity: 0.35; cursor: default; }
.bfc .bfc__qty-n { min-width: 22px; text-align: center; color: #fff; font-size: 0.9rem; }

/* the hidden attribute must win over the display rules above */
.bfm .bfm__sold[hidden],
.bfm .bfm__stock[hidden],
.bfm .bfm__qty[hidden],
.bfm .bfm__order[hidden],
.bfm .bfm__cart[hidden],
.bfm .bfm__uncart[hidden],
.bfm .bfm__meta[hidden] { display: none !important; }

/* iPhone / Safari: the widget script sets inline position/height on the submenu; pin it in the dropdown so it can never be offset or overlap the next items */
@media (max-width: 1024px) {
  #topbar .bf-nav nav.hfe-dropdown ul.sub-menu {
    position: static !important; top: auto !important; left: auto !important; right: auto !important; bottom: auto !important;
    height: auto !important; max-height: none !important; transform: none !important; margin: 0 !important; width: 100%;
  }
  #topbar .bf-nav nav.hfe-dropdown li.menu-item { position: static; }
  #topbar .bf-nav nav.hfe-dropdown {
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}

/* iPhone / Safari 2: modal and cart fit the visible area (dvh), 16px quantity field (no zoom on focus) */
@media (max-width: 760px) {
  .bfm .bfm__panel { max-height: calc(100vh - 20px); max-height: calc(100dvh - 20px); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .bfm .bfm__qty-input { font-size: 16px; }
}
@media (min-width: 761px) {
  .bfm .bfm__panel { height: min(720px, calc(100vh - 48px)); height: min(720px, calc(100dvh - 48px)); }
}
.bfc .bfc__panel { max-height: 100vh; max-height: 100dvh; }
.bfc .bfc__body { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
