/* --- Definicja kolorów z projektu --- */
        :root {
            --bg-beige: #F3E9D9;
            --text-dark: #52584a; /* Ciemny, prawie czarny kolor tekstów i bloków */
            --accent-brown: #8D7B68; /* Brązowy kolor bloku ze statystyką */
        }

        body {
            background-color: var(--bg-beige);
            color: var(--text-dark);
            font-family: 'Outfit', Roboto, 'Helvetica Neue', Arial, sans-serif;
        }

                /* --- Stylowanie Nawigacji --- */
        .navbar {
            padding-top: 0rem;
            padding-bottom: 0rem;
            transition: transform 0.25s ease-in-out;

        }

        .navbar-hidden {
            transform: translateY(-100%);
            transition: transform 0.25s ease-in-out;
        }
        .navbar-brand {
            font-weight: 700;
            font-size: 1.8rem;
            letter-spacing: 1px;
            color: var(--text-dark) !important;
            margin-right: 0.75rem;
        }
        .navbar-brand .logo,
        .logo {
            max-height: 90px; 
            width: auto;
        }

        .nav-link {
            color: var(--text-dark) !important;
            font-weight: 500;
            text-transform: uppercase;
            font-size: 1rem;
            margin-right: 1.5rem;
        }
        .nav-link.active {
            text-decoration: underline;
        }

        .nav-icons .btn-icon {
            border: 1px solid #ccc;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-left: 10px;
            color: var(--text-dark);
            background: transparent;
        }

        .btn-contact {
            background-color: var(--text-dark) !important;
            color: white !important;
            border-radius: 30px;
            padding: 0.5rem 1.25rem;
            font-weight: 600;
            white-space: nowrap;
            border: none;
        }
        .btn-contact:hover {
            background-color: #000;
            color: white;
        }

        .sticky-top {
            z-index: 1030; 
        }

        .navbar-light .navbar-toggler {
            border: none;
        }
        .navbar-light .navbar-toggler-icon {
            background-image: url("data:image/svg+xml;charset=UTF8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0,0,0,0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
        }

          .navbar-toggler {
          margin-bottom: 0;
          order: 2;
          }
        .navbar-nav {
            gap: 0.25rem; 
        }

        @media (max-width: 991.98px) {
            .logo { max-height: 60px; }             
            .nav-link { font-size: 0.95rem; margin-right: 0.5rem; } 
            .nav-icons { display: none !important; } 
            .navbar { padding-top: 0.25rem; padding-bottom: 0.25rem; }
            .navbar .container { padding-left: 1rem; padding-right: 1rem; justify-content: center; align-items: center;} 
            .navbar-collapse {flex-basis: 100%; flex-grow: 1;    text-align-last: center; width: 100%;}
        }
        @media (min-width: 992px) {
            .navbar-brand { margin-right: 2.5rem; }
            .navbar .container {justify-content: space-between;}
            .navbar .container > .collapse,
            .navbar .container > .nav-icons {flex-basis: auto;}
        }

@media (max-width: 484px) {
  /* Container jako flex: logo po lewej, toggler po prawej */
  .navbar .container {
    display: flex !important;
    align-items: center;
    justify-content: space-between !important;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  /* Usuń dolny margin bootstrapowy na togglerze (mb-2) */
  .navbar-toggler.mb-2 {
    margin-bottom: 0 !important;
  }

  /* Zadbaj o to, żeby toggler był widoczny po prawej i wyrównany pionowo */
  .navbar-toggler {
    order: 2;
    align-self: center;
    padding: 0.35rem 0.6rem;
  }

  /* Logo po lewej, nie łamiące się, proporcjonalnie mniejsze */
  .navbar-brand {
    margin-right: 0;
    padding-right: 0.5rem;
    display: flex;
    align-items: center;
    order: 1;
  }
  .navbar-brand .logo,
  .logo {
    max-height: 36px; /* zmniejszone na bardzo małych ekranach */
    width: auto;
    display: block;
  }

  /* Zapobiegnij zawijaniu tekstu nazwy jeśli masz tekst obok logo (bez obrazka) */
  .navbar-brand { white-space: nowrap; }

  /* Przywróć normalne zachowanie collapse (menu pod spodem po rozwoju) */
  .navbar-collapse {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
    order: 3;
  }

  /* Jeśli masz dodatkowe ikony ukryj je (już masz d-none d-lg-flex) */
  .nav-icons { display: none !important; }
}
                
        /* Styl dla nowego przycisku "Kontakt" */
        .btn-contact {
            background-color: var(--text-dark) !important;
            color: white !important;
            border-radius: 30px;
            padding: 0.5rem 1.5rem;
            font-weight: 600;
        }
        .btn-contact:hover {
            background-color: #000;
            color: white;
        }


        /* --- Główne Typografie --- */
        h1.hero-title {
            font-weight: 700;
            font-size: 3.5rem;
            line-height: 1.2;
        }

        h5.feature-title {
            font-weight: 700;
            margin-bottom: 1rem;
        }

        /* --- Komponenty Własne --- */
        .btn-dark-custom {
            background-color: var(--text-dark);
            color: white;
            border-radius: 30px;
            padding: 0.75rem 2rem;
            font-weight: 600;
            display: inline-flex;
            align-items: center;
        }
        .btn-dark-custom:hover {
             background-color: #000;
             color: white;
        }

        .bg-dark-theme {
            background-color: var(--text-dark);
            color: white;
        }

        .bg-brown-theme {
            background-color: var(--accent-brown);
            color: white;
            display: flex;
            align-items: center;
            gap: 1rem;           
            flex-wrap: wrap;    
        }

        .bg-brown-theme .fs-5.fw-bold.lh-sm {
          flex: 1 1 auto;      
          min-width: 0;        
          word-break: break-word; 
          margin: 0;           
        }

        .stat-number {
            font-size: 4rem;
            font-weight: 800;
            line-height: 1;
            flex: 0 0 auto;      
            min-width: 0;
        }
@media (max-width: 420px) {
  .stat-number {
    font-size: 2.2rem;
  }
  .bg-brown-theme {
    padding: .75rem;
  }
}
        /* Zaokrąglenia zdjęć */
        .rounded-custom {
            border-radius: 20px;
        }
        .rounded {
            border-radius: 100px!important;
        }
.photo {
  width: min(200px, 100%);      /* maksymalnie 200px, ale nie więcej niż szer. kolumny */
  max-width: 100%;
  aspect-ratio: 1 / 1;         /* gwarantuje kwadrat/koło */
  border-radius: 50%;
  overflow: hidden;
  margin: 1rem auto 0;
  flex: 0 0 auto;
  display: block;
  box-sizing: border-box;
}

/* Obraz wewnątrz: zajmuje cały kontener i jest wykadrowany */
.photo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50%;
}
        .tab-rounded-custom {
            display: flex;
            align-items: center;
            background: #ffffff61;
            padding: 10px 20px;
            border-radius: 20px;
        }
        .card {
            background: #ffffff61;
            padding: 10px 20px;
            border-radius: 20px;
            align-items: center;
        }
        .card.d-flex {
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
        }

        .card .p-3 {
          flex-grow: 1; 
        }

@media (max-width: 575.98px) {
  .photo { width: min(160px, 90%); }  /* mniejsze na bardzo małych ekranach */
}
@media (max-width: 375px) {
  .photo { width: min(140px, 90%); }
}

/* Zapobiegamy przeciekaniu obrazów jeśli gdzieś indziej masz nadpisania */
.card .photo,
.card .photo img {
  max-width: 100%;
  box-sizing: border-box;
}

        .card h3 { font-size: 1.05rem; margin: 0.25rem 0; }
        .card p { margin-bottom: 1rem; }

        /* Separator w prawej kolumnie */
        .section-divider {
             border-top: 2px solid #ddd;
             margin: 3rem 0;
        }


        .site-footer {
        --footer-bg: #ffffff;         /* tło stopki */
        --footer-text: #52584a;       /* podstawowy kolor tekstu (nagłówki) */
        --footer-muted: #52584a;      /* tekst pomocniczy / opisowy */
        --footer-link: #52584a;       /* kolor linków */
        --footer-accent: #8D7B68;     /* akcent (np. przyciski) */
        --footer-border: rgba(255,255,255,0.06); /* kolor separatora */

        background: var(--footer-bg);
        color: var(--footer-text);
        padding-top: 3rem;
        padding-bottom: 2.5rem;
        }

        .site-footer h6,
        .site-footer .fw-bold {
        color: var(--footer-text);
        margin-bottom: 11px;
        }

        .site-footer a {
        color: var(--footer-link);
        text-decoration: none;
        }
        .site-footer a:hover {
        color: #8D7B68;
        text-decoration: underline;
        }

        .site-footer .text-muted,
        .site-footer .small,
        .site-footer .form-text {
        color: var(--footer-muted) !important;
        }

        .site-footer .btn-outline-light {
        color: var(--footer-text);
        border-color: rgba(255,255,255,0.12);
        background: transparent;
        }
        .site-footer .btn-outline-light:hover {
        background: var(--footer-accent);
        color: #fff;
        border-color: transparent;
        }

        .site-footer input.form-control {
        background: transparent;
        border: 1px solid rgba(255,255,255,0.08);
        color: var(--footer-text);
        }
        .site-footer input::placeholder {
        color: var(--footer-muted);
        }

        .site-footer hr {
        border-color: #52584a;
        }
        .site-footer ul {
        padding-left: 0;
        }
        .site-footer .list-unstyled li {
        margin-bottom: 0.45rem;
        font-size: .875em;
        }

        @media (max-width: 767px) {
        .site-footer .col-lg-4 { margin-bottom: 1.25rem; }
        }


        /* BLOG SECTION */
        .blog-section {
        margin-top: 40px;
        background-color: #f8f1e7;
        }

        .blog-card {
        background: #ffffff;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 4px 14px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        }

        .blog-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.12);
        }

        .blog-card-image img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        display: block;
        }

        .blog-card-content {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        }

        .blog-card-title {
        font-size: 1.1rem;
        font-weight: 600;
        line-height: 1.4;
        margin-bottom: 12px;
        }

        .blog-card-title a {
        color: var(--footer-text-color, #222);
        text-decoration: none;
        }

        .blog-card-title a:hover {
        color: var(--footer-link-hover, #8D7B68);
        }

        .blog-card-text {
        color: #555;
        font-size: 0.95rem;
        margin-bottom: 16px;
        }

        .blog-card-meta {
        font-size: 0.85rem;
        color: #888;
        border-top: 1px solid #eee;
        padding-top: 12px;
        margin-top: auto;
        }


.find-us-section {
  background: #f3e9d9;
  color: #222;
  padding: 60px 15px;
  font-family: 'Outfit', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.find-us-container {
  max-width: 1200px;
  margin: 0 auto;
}

.find-us-container h2 {
  color: #52584a;
  font-size: 32px;
  margin-bottom: 12px;
}

.find-us-subtitle {
  font-size: 16px;
  color: #52584a;
  margin-bottom: 32px;
}

.find-us-map-full {
  height: 450px;
  overflow: hidden;
  margin-bottom: 32px;
}

.find-us-map-full iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 20px;
}

.btn-directions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #8D7B68;
  color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  margin-bottom: 20px;
}

.btn-directions:hover {
  opacity: 0.95;
  text-decoration: none;
}

.col-6, .col-md-4, .col-lg-3 {
  box-sizing: border-box;
}

.hero-image {
  width: 100%;
  max-width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;       
}

@media (max-width: 991.98px) {
  .hero-image {
    aspect-ratio: 16 / 9;   
    max-height: 420px;
  }
}
@media (max-width: 575.98px) {
  .hero-image {
    aspect-ratio: 4 / 3;
    max-height: 320px;       
  }
}

.tab-rounded-custom {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  border-radius: 12px;
  background: #f7f4ef;      
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  min-height: 64px;
}

.tab-rounded-custom i {
  flex: 0 0 auto;
}

.btn-dark-custom {
  background-color: var(--text-dark);
  color: #fff;
  border-radius: 8px;
  padding: .6rem 1rem;
  border: none;
}
@media (max-width: 767.98px) {
  .btn-dark-custom {
    display: block;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .col-12.col-lg-5,
  .col-12.col-lg-6 {
    width: 100%;
    max-width: 100%;
  }
}

.row .d-flex.align-items-stretch > .tab-rounded-custom {
  height: 100%;
}
.blog-sidebar {
  background: #ffffff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.blog-sidebar-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.blog-sidebar .popular-feed-loop .single-popular-feed {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.blog-sidebar .single-popular-feed:last-child {
  border-bottom: none;
}

.blog-sidebar a {
  color: var(--text-dark);
  text-decoration: none;
}

.blog-sidebar a:hover {
  color: var(--accent-brown);
}


/* ===== BLOG - TAGI ===== */

.blog-tags a {
  display: inline-block;
  background: #f7f4ef;
  padding: 6px 12px;
  border-radius: 12px;
  margin: 4px;
  color: var(--text-dark);
  font-size: 0.9rem;
  text-decoration: none;
}

.blog-tags a:hover {
  background: var(--accent-brown);
  color: #fff;
}

/* ===== BLOG – KARTY POSTÓW ===== */

.blog-post-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  transition: transform .2s ease;
  display: flex;
  flex-direction: column;
}

.blog-post-card:hover {
  transform: translateY(-4px);
}

.blog-post-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.blog-post-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-post-body h3 a {
  color: var(--text-dark);
  text-decoration: none;
}

.blog-post-body h3 a:hover {
  color: var(--accent-brown);
}

.btn-read-more {
  color: var(--accent-brown) !important;
  font-weight: 600;
  text-decoration: none;
}

.btn-read-more:hover {
  text-decoration: underline;
}
/* ===== BLOG HERO / SUB-HERO ===== */

.blog-hero {
  background: var(--bg-beige);
  padding: 70px 0 60px;
  text-align: center;
}

.blog-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.blog-hero-desc {
  font-size: 1.15rem;
  color: var(--text-dark);
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.85;
  line-height: 1.6;
}

@media (max-width: 575.98px) {
  .blog-hero-title {
    font-size: 2.4rem;
  }
  .blog-hero-desc {
    font-size: 1rem;
  }
}
/* ===== HERO BOXED ===== */
.post-hero-boxed {
  margin-top: 70px;
  margin-bottom: 50px;
}

.post-hero-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.post-hero-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  opacity: 0.85;
}

@media (max-width: 768px) {
  .post-hero-image img {
    height: 260px;
  }
}

/* Overlay */
.post-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0));
  color: #fff;
  align-content: center;
}

/* Tytuł */
.post-hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.75rem 0;
  color: #fff;
}

@media (max-width: 768px) {
  .post-hero-title {
    font-size: 1.7rem;
  }
}

/* Opis */
.post-hero-desc {
  font-size: 1.25rem;
  color: #f1f1f1;
  max-width: 700px;
  line-height: 1.55;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Czytelność */
.post-hero-desc,
.post-hero-title {
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.35));
}

@media (max-width: 768px) {
  .post-hero-desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;   
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 400px) {
  .post-hero-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;   
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}


/* ===== TREŚĆ POSTA ===== */
.post-content-section-wide {
  margin-top: 60px;
  margin-bottom: 80px;
}

.post-content {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #444;
}

.post-content p {
  margin-bottom: 1.6em;
}

.post-content h2,
.post-content h3 {
  margin-top: 2.2em;
  margin-bottom: 0.7em;
  color: var(--bs-heading-color);
}

/* Obrazki w treści */
.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 25px 0;
}

/* ===== UDOSTĘPNIANIE ===== */
.post-share i {
  font-size: 1.4rem;
  color: #777;
  transition: 0.3s;
}

.post-share i:hover {
  color: #f8f1e7;
}


.about-hero.container { padding-left: 0 !important; padding-right: 0 !important; }
.about-hero {
  position: relative; width: 100%; height: 45vh; min-height: 380px;
  display: flex; align-items: flex-end; padding-bottom: 60px;
  overflow: hidden; border-radius: 12px; margin-top: 70px;
}
.about-hero-bg {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover; background-position: center center; background-repeat: no-repeat;
  z-index: 1; transform: scale(1.05);
}
.about-hero-overlay {
  position: absolute; bottom: 0; width: 100%; padding: 2.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0)); z-index: 2;
}
.about-hero-title {
  font-size: 2.6rem; line-height: 1.2; font-weight: 700; color: #fff; margin: 0;
  z-index: 3; position: relative; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.3));
}


@media (max-width: 575.99px) {
    .container, .container-sm {
        max-width: 320px;
    }
}

/* Sekcje tekstowe */
.about-section { margin-top: 70px; margin-bottom: 70px; }
.about-section p { font-size: 1.15rem; line-height: 1.85; margin-bottom: 1.6em; color: #444; }
.about-section h2,
.about-block-text h2,
.about-gallery h2 { margin-top: 2rem; margin-bottom: 1rem; font-weight: 700; color: var(--bs-heading-color); }
.about-block-text h2 { font-size: 2rem; margin-bottom: 1.2rem; }
.about-block-text p { font-size: 1.15rem; line-height: 1.8; color: #444; margin-bottom: 1.3rem; }

/* Bloki o nas */
.about-block {
  margin-top: 90px; margin-bottom: 90px; display: flex; align-items: center; gap: 50px;
}
.about-block img {
  width: 100%; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  object-fit: cover; height: 360px;
}
.about-block.reverse { flex-direction: row-reverse; }
@media (max-width: 992px) {
  .about-block, .about-block.reverse { flex-direction: column; text-align: center; }
  .about-block img { height: 280px; }
}

/* Galeria */
.about-gallery { margin-top: 40px; }
.about-gallery h2 { margin-top: 70px; margin-bottom: 30px; }
.about-gallery img {
  width: 100%; height: 230px; object-fit: cover; border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12); transition: 0.3s ease;
}
.about-gallery img:hover { transform: scale(1.03); }

/* Karty produktów */
.product-card {
  height: 100%; background: #f7f4ef; border-radius: 15px; overflow: hidden;
  text-align: center; padding-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card img { width: 100%; height: 220px; object-fit: cover; }
.product-card h3 { font-size: 1.1rem; margin-top: 15px; padding: 0 10px; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }

/* Swiper */
.swiper { padding-bottom: 0 !important; }
.swiper-pagination { margin-top: 24px !important; bottom: 0 !important; position: relative !important; }
.swiper-slide,
.swiper-wrapper { height: auto !important; }
.swiper-pagination-bullet-active { background: #f7f4ef !important; opacity: 1; }

/* Delikatna animacja kafelków asortymentu */
#asortyment .card {
  transition: 
    transform 260ms ease,
    box-shadow 260ms ease;
  will-change: transform;
}

/* Hover / focus */
#asortyment .card:hover,
#asortyment .card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.12);
}

/* Mobile – minimalniejszy ruch */
@media (max-width: 576px) {
  #asortyment .card:hover {
    transform: translateY(-3px);
  }
}

/* Preferencje dostępności */
@media (prefers-reduced-motion: reduce) {
  #asortyment .card {
    transition: none;
  }
  #asortyment .card:hover,
  #asortyment .card:focus-within {
    transform: none;
    box-shadow: none;
  }
}


