/**
 * Theme Name: svethmyzu
 * Template:   blocksy
 * Author: Jachym Malecha
 */

@font-face {
  font-family: 'Cabin';
  src: url('fonts/cabin-var.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Super Boys';
  src: url('fonts/super-boys.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


:root {
  --primary: #dbd8ce;
  --primary-light :#f9f7ee;
  --secondary: #3a5a40;
  --swiper-pagination-color: var(--primary-light);
  --swiper-pagination-bullet-inactive-color: var(--primary-light);
  --swiper-pagination-bullet-size: 11px;

}

.beige {
    background-color: var(--primary-light);
    color: var(--secondary);
}

.green {
    background-color: var(--secondary);
    color: var(--primary-light);
}

a.green:hover {
    color: var(--primary-light);
}

a.beige:hover {
    color: var(--secondary);
}

.bcg-icon-img-beige {
    background-image: url('img/WEBP/Icon-Beige.webp') !important;
}

.bcg-icon-img-black {
    background-image: url('img/WEBP/Icon-Black.webp') !important;
}

.cat-hmyzi-snacky {
    background-color: var(--primary);
    color: var(--secondary);
    background-image: url('img/WEBP/Icon-Black.webp');
}

.cat-krmny-hmyz {
    background-color: var(--primary);
    color: var(--secondary);
    background-image: url('img/WEBP/Icon-Black.webp');
}

.cat-frass{
    background-color: var(--secondary);
    color: var(--primary-light);
    background-image: url('img/WEBP/Icon-Beige.webp');
}




/* --- General Styles --- */
body {
    font-family: 'Cabin', sans-serif !important; 
}

h1, h2, h3 {
    font-family: 'Cabin', sans-serif !important;
}

small {
    font-size: 80%;
    font-weight: 100 !important;
}

.single_add_to_cart_button.loading::after {
    content: "";
    position: absolute;
    right: 0rem;
    width: 3.3em !important;
    height: 3.3em !important;
    border: 2px solid white;
    border-top-color: transparent;
    border-radius: 50%;
    color: var(--primary);
    /*animation: spin 0.6s linear infinite;*/
}

[class*=add_to_cart_button].loading {
    gap: 0 !important;
}

.ct-product-add-to-cart form.cart {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
}

button.single_add_to_cart_button {
    background-color: var(--primary) !important;
    color: var(--secondary) !important;
    padding: 0px !important;
    min-height: 0px !important;
    margin-bottom: 20px;
}

button.single_add_to_cart_button .circle-icon {
    background: var(--secondary);
    color: var(--primary);
}

form.cart .quantity {
    margin-right: 20px;
    margin-bottom: 20px;
    box-shadow: 1px 4px 3px 0px rgb(0 0 0 / 25%) !important;
}

.quantity {
    background-color: var(--primary);
    border-radius: 6px;
}

.quantity input.qty {
    border: none;
    color: var(--secondary);
}
/*
.quantity span.ct-increase {
    
}
*/

.template-button {
    border-radius: 25px !important;
    display: flex !important;
    box-shadow: 1px 4px 3px 0px rgb(0 0 0 / 25%) !important;
    align-items: center !important;
    width: fit-content !important;
}


.template-button .text{
    padding: 11px;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 16px;
    /*font-weight: bold;*/
}
/*
.template-button .text:hover{
    color: inherit;
}
*/

.circle-icon {
    /*background: var(--secondary);
    color: var(--primary);*/
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 2px;

}

.circle-icon svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}


.container {
    max-width: 1320px;
    margin: 0 auto;
    /*padding: 0 20px;*/
}

-.container section {
-    max-width: 1320px;
-    margin: 0 auto;
 }

/*  ----- BLOG SPECIFIC -----  */

/*   ZASILKOVNA   */

body.page-id-407 .wp-block-list a {
  color: #ba1b02;
}

body.page-id-407 .wp-block-list li::marker {
  color: #ba1b02; 
}



/* --- Woocommerce --- */

ul.ajax-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 250px));
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 35px;
    /*background: white;*/
    border-top: 1px solid #ccc;
    padding-top: 25px;
    padding-bottom: 25px;
    row-gap: 50px;
}


@media (max-width: 600px) {
    ul.ajax-products {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 60px;
    }
}


/*
@media (max-width: 570px) {
    ul.ajax-products {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 35px
    }
}*/

/*
.product-shop-card {
    max-width: 450px;
}
*/



/*    CATEGORY KARTS    */
.category-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.category-card {
    font-family: 'Super Boys';
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 127px;
    height: 55px;
    padding: 10px;
    background: #dbd8ce96;
    border-radius: 4px;
    text-decoration: none;
    color: var(--secondary);
    letter-spacing: 0.65px;

}

.category-card:hover {
    background: var(--secondary);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    color: white;
}


/*
.custom-filters-wrapper {
  background: #fffef9;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  display: grid;
  gap: 1rem;
}

.filter-group h4 {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.filter-group label {
  display: block;
  margin-bottom: 0.3rem;
}



.woocommerce .widget select {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
}
*/



/*
.badge-sale,
.badge-new {
    display: inline-block;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    color: #fff;
    margin: 5px 5px 0 0;
}

.badge-sale { background: #e60023; }
.badge-new { background: #009688; }
*/


.badge-sale,
.badge-new,
.badge-b2b {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 11px;
    background-color: #e50000;
    color: white;
    padding: 5px 10px;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 3px;
    z-index: 9;
}

.badge-b2b {
    background-color: #0055a5; /* jiná barva pro rozlišení */
    top: 40px; /* posun, aby se nepřekrývaly */
}

/*
.b2b-note {
    display: inline-block;
    background: #f5f5f5;
    padding: 8px 12px;
    margin-top: 10px;
    font-size: 14px;
    border: 1px dashed #aaa;
    color: #333;
}

*/

.stock-info {
    margin-top: 5px;
    font-size: 13px;
    font-weight: bold;
}

.stock-info.in-stock { color: green; }
.stock-info.out-of-stock { color: red; }



a.added_to_cart {display:none !important}

a.button.cat-frass{
    background-color: var(--primary-light);
    color: var(--secondary);
    background-image: none;
}

a.button.cat-hmyzi-snacky{
    background-color: var(--secondary);
    color: var(--primary-light);
    background-image: none;
}

a.button.cat-krmny-hmyz{
    background-color: var(--secondary);
    color: var(--primary-light);
    background-image: none;
}

.icon-green {
    background: var(--secondary);
}

.icon-beige {
    background: var(--primary-light);
}

a.button.my-add-to-cart-button {
    border-radius: 25px;
    display: flex;
    align-items: center;
    width: fit-content;
    position: absolute;
    right: 10px;
    bottom: -20px;
    box-shadow: 3px 4px 5px 0px rgb(53 53 53 / 30%);
    padding: 0px;
}

.my-add-to-cart-button .text{
    padding-left: 10px;
    padding-right: 5px;
}

.my-add-to-cart-button .circle-icon {
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin: 2px;
}


/* --- Hero --- */
.hero-container {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
}

.hero-background {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.hero-content {
    position: relative;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    gap: 24px;
    /* height: 100%; */
    flex-direction: column;
    align-items: center;
    padding-bottom: 5rem;
}

.hero-container::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 74%);
}

.text-content {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.text-content h1{
    font-size: 3.1em;
    font-size: clamp(35px, 5vw, 48px);
}

h1 {
    font-size: 2.2em;
    line-height: 1.4;
    color: #1f1f1f;
}

h1 strong {
    color: #1a4224;
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: #1a4224;
    padding: 12px 20px;
    border-radius: 25px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
}

.btn span {
    margin-left: 10px;
}


.badges {
  display: inline-flex;
  gap: 16px;
  background-color: var(--primary-light);
  padding: 13px 30px;
  border-radius: 999px;
  z-index: 1;
}

.badge {
    display: flex;
    font-size: 14px;
    color: #214832;
    align-items: center;
}

.badges .separator {
    border: 1px solid #d9d9d9;
}

.badge img {
    width: 40px;
    height: 40px;
}



.card-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


.box {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 300px;

}

#gallery-card {
    width: 100%;
}

.right {
    position: relative;
    width: 100%;
    padding: 0px;
}


.box.right .swiper-slide.zalivka{
    background-color: var(--primary-light);
    background-image: url(img/PNG/zalivka.png); /*#CDCAC0 myslim*/
    background-size: 16rem;
    background-position: right;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.box.right .swiper-slide.zasyp{
    background-color: var(--primary-light);
    background-image: url(img/PNG/zasyp.png); /*#CDCAC0 myslim*/
    background-size: 16rem;
    background-position: right;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.box.right .swiper-slide.zamichat{
    background-color: var(--primary-light);
    background-image: url(img/PNG/zamichat.png); /*#CDCAC0 myslim*/
    background-size: 16rem;
    background-position: right;
    background-repeat: no-repeat;
    border-radius: 20px;
}

.slide-navigation {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    display: inline-flex;
    padding: 18px 18px 18px 20px;
    justify-content: space-between;
}

.slide-pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  /*position: absolute;*/
  left: 28px;
  bottom: 38px;
}

.slide-pagination .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(33, 72, 50, 0.25);
}

.slide-pagination .dot.active {
  background: var(--secondary);
}

.box.right .swiper-slide{
    padding: 28px;
    text-align: left;
}


.box.right .swiper-slide h2 {
    margin: 0 0 10px 0;
    font-size: clamp(22px, 4vw, 30px);
    color: var(--secondary);
    letter-spacing: 1px;
}

.box.right .swiper-slide li {
    font-size: clamp(14px, 2.5vw, 16px);
    line-height: 1.4;
}

.box.right .swiper-slide li::marker {
  font-size: 25px;
  color: var(--secondary);
}

.box .swiper-slide {
    box-shadow: 3px 4px 3px 0px rgb(167 167 167 / 55%);
}

.jak-pestovat-card {
  background: var(--secondary);
}


.jak-pestovat-card img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.jak-pestovat-card .content-wrap {
    position: absolute;
    left: 0px;
    bottom: 0px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--secondary);
    padding: 12px 15px 12px 20px;
    border-top-right-radius: 40px;
    border-bottom-right-radius: 40px;
}
.jak-pestovat-card h3 {
  margin: 0px;
  font-size: clamp(15px, 4vw, 20px);
  color: var(--primary-light);
  font-weight: normal;
}

.jak-pestovat-card p {
  margin: 10px 0;
  color: var(--primary);
}

.jak-pestovat-card a {
    display: flex;
}


.frass-logo {
    background-image: url(img/PNG/FRASS.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 120px;
    width: 300px;
    position: absolute;
    bottom: -50px;
    left: 30px;
    z-index: 1;
}

@media (max-width: 800px) {
    .box.right .swiper-slide {
        padding: 20px 30px;
    }
}

@media (max-width: 768px) { 
    .hero-content {
        padding: 10px 5px;
        padding-bottom: 5rem;
    }

    .slide-navigation {
        background: #ebeae0;
    }

}

@media (max-width: 500px) {
    .hero-content {
        /*padding: 0px;*/
        padding-top: 1rem;
        padding-bottom: 5rem;
    }

    .badges {
        gap: 8px;
        padding: 13px 20px;
    }

    .card-container {
        gap: 10px;
    }

    .box.right .swiper-slide {
        padding: 15px 12px;
    }
    
    .content-wrap a i.circle-icon {
        width: 40px;
        height: 40px;
    }
    
    .slide-navigation a i.circle-icon {
        width: 40px;
        height: 40px;
    }

    .jak-pestovat-card .content-wrap {
        padding: 12px;
        width: 100%;
        justify-content: space-between;
        border-radius: initial;
		gap: initial;
    }

    .slide-navigation {
        padding: 12px;
    }
}



/* ------------- PRODUKTY  -----------  */

/*   -----  FOOD  -----    */

.product-food-header {
    display: flex;
    gap: 30px;
    align-items: center;
}

.product-food-headline{
    flex: 1;
    text-align: center;
}

.product-food-headline h2{
    font-size: 3.5rem;
    font-weight: bold;
    padding: 1rem;
    color: inherit;
    /*font-family: 'Super Boys' !important;*/
}

.product-food-text {
    max-width: 700px;
    line-height: 1.5;
    padding: 30px;
    font-size: 18px;
    font-weight: bold;
    flex: 2;
}

.product-food-text p{
    margin: 0px;
}

@media (max-width: 768px) {
    .product-food-header {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 0px;
    }
}


/*   -----  FRASS  -----    */

.product-container{
    font-size: 1.5em;
    background-color: var(--primary);
    max-width: 1320px;
    margin: 0 auto;
}

.product-header {
    display: flex;
    position: relative;
    flex-direction: row-reverse;
}

.product-header h2 {
    font-size: 3rem;
    font-weight: bold;

}

.product-text {
    max-width: 700px;
    line-height: 1.5;
    padding: 30px;
    font-size: 18px;
    font-weight: bold;
}

.product-text p {
    margin: 0px;
}

@media (max-width: 1010px) {
    .product-text {
        margin-top: 50px;
    }
}

.product-showcase {
    position: relative !important;
    padding-left: 6rem !important;
    padding-right: 6rem !important;
    padding-bottom: 60px !important;
}
.product-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      #d8d5cb 25%,
      #e1ded4 37%,
      #d8d5cb 63%
    );
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 12px;
    z-index: 1;
}
@keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
.product-showcase > * {
    visibility: hidden;
}
.product-showcase.is-loaded::before {
    display: none;
}
.product-showcase.is-loaded > * {
    visibility: visible;
}

@media (max-width: 1160px) {
    .product-showcase {
        padding-left: 3rem !important;
        padding-right: 3rem !important;
    }
}

@media (max-width: 768px) {
    .product-showcase {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

.swiper-button-next, .swiper-button-prev {
    color: var(--secondary);
}


.product-card {
    width: 350px;

}

.product-content-card {
    height: 100%;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 4px;
    border: 0px;
    color: white;
    
}
/* - - - - - - - - - */

.item-image {
    text-align: center;
}

.item-image img {
    width: 92%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    margin: auto;
    box-shadow: 3px 4px 5px 0px rgb(53 53 53 / 20%);
}

.item-info {
    padding: 1rem;
    border-radius: 10px;
    position: relative;
    min-height: 144px;
    max-height: 9rem;

    background-blend-mode: soft-light;
    background-repeat: no-repeat;
    background-position-x: 15.7rem;
    background-position: top right;
    background-size: 80px auto; 
    box-shadow: 3px 4px 5px 0px rgb(53 53 53 / 30%);
}

.item-info p {
    margin-bottom: 10px;
    min-height: 34px;
}

.item-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0px;
    color: inherit;
}

.item-price {
    font-size: 21px;
    margin-bottom: 0px;
}

.stock-status {
    font-size: 13px;
    font-weight: 600;
    padding-left: 5px;
    border-radius: 3px;
    font-weight: normal;
}
/*
.in-stock {
    color: #008000;
    background: #e6f8e6;
}

.out-of-stock {
    color: #c00;
    background: #ffe6e6;
}
*/


/*-------- About us -----------*/
.about-us-container {
    font-size: 1.5em;
    background-color: var(--primary);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.about-us-left,
.about-us-right {
    flex: 1 1 50%;
    box-sizing: border-box;
}

.about-us-left {
    background-color: var(--primary);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-us-left h2 {
    font-size: 3.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.about-us-left p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--secondary);
}

.about-us-left .button {
    display: inline-block;
    background-color: #234c2d;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.about-us-left .button:hover {
  background-color: #1b3e24;
}

/*---*/

.about-us-right {
    position: relative;
    cursor: pointer;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.about-us-right img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

.about-us-right iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


.video-play-button {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 70px;
  height: 70px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}


@media (max-width: 768px) {
  .about-us-container {
    flex-direction: column;
    height: auto;
  }

  .about-us-left, .about-us-right {
    flex: 1 1 100%;
  }
    
   .about-us-left {
     padding: 40px;
   }

  .about-us-left h1 {
    font-size: 2rem;
  }

  .about-us-right .title {
    font-size: 2rem;
    bottom: 20px;
    left: 20px;
  }
}


/*-------- About frass -----------*/
.about-frass-container {
    font-size: 1.5em;
    background-color: var(--secondary);
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.about-frass-right,
.about-frass-left {
    flex: 1 1 50%;
    box-sizing: border-box;
}

.about-frass-right {
    background-color: var(--secondary);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-frass-right h2 {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.about-frass-right p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--primary);
}

.about-frass-right .button {
    display: inline-block;
    background-color: #234c2d;
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.about-frass-right .button:hover {
  background-color: #1b3e24;
}

/*---*/

.about-frass-left {
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-frass-left img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

@media (max-width: 768px) {
  .about-frass-container {
    flex-direction: column;
    height: auto;
  }

  .about-frass-right, .about-frass-left {
    flex: 1 1 100%;
  }

  .about-frass-right {
     padding: 40px;
    }

  .about-frass-left {
    height: 300px; /* adjust height for image on mobile */
  }

  .about-frass-right h1 {
    font-size: 2rem;
  }

  .about-frass-left .title {
    font-size: 2rem;
    bottom: 20px;
    left: 20px;
  }
}



/* -------- Footer -------- */

.custom-footer {
    background-color: var(--secondary);
    color: #fff;
    padding: 60px 30px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1320px;
    margin: auto;
}

.footer-left {
    flex: 1 1 33%;
    min-width: 300px;
    padding: 30px;
}

.footer-logo {
    height: 5rem;
    margin-bottom: 20px;
}

.footer-section {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.footer-section a {
    color: #dfffbf !important;
    text-decoration: none;
}

.footer-section h3 {
    color: white;
    font-size: 27px;
}

.footer-section span {
    font-weight: bold;
    font-size: 27px;
}

.footer-note {
    font-size: 14px;
    opacity: 0.8;
}

.footer-center {
    flex: 1 1 30%;
    min-width: 300px;
    padding: 30px;
}

/*
.socials {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  height: 100%;
}
*/
.socials-list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
}

.socials-list .dot {
  width: 30px;
  height: 30px;
  font-size: 21px;
}


.footer-right {
    flex: 1 1 33%;
    min-width: 300px;
    padding: 30px;
}

.footer-text {
    width: 100% !important;
    padding: 10px !important;
    border: none !important;
    border-radius: 15px !important;
    font-size: 14px !important;
    background-color: #e2e1dc !important;

}

.footer-email {
    width: 100% !important;
    padding: 10px !important;
    border: none !important;
    border-radius: 15px !important;
    font-size: 14px !important;
    background-color: #e2e1dc !important;

}

.footer-textarea {
    min-height: 220px;
    background-color: #e2e1dc !important;
    border-radius: 15px;
    font-size: 14px !important;
}


.footer-button {
    background-color: #e2e1dc !important;
    color: var(--secondary) !important;
    border-radius: 15px !important;
    float: right !important;
    padding: 5px 15px !important;
}

/*
form.wpcf7-form button i {
    margin: unset;
}*/

.footer-right .wpcf7 form .wpcf7-not-valid {
    border: 1px solid #dc3232 !important;
}

.footer-right .wpcf7-not-valid-tip {
  /*display: none !important;*/
    /*font-style: normal !important;*/
    color: #dfffbf !important;
}

.footer-right .wpcf7-spinner {
    display: inline-block !important;
    background-color: #668b6d !important;
    opacity: 0.75 !important;
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    border-radius: 100% !important;
    padding: 0 !important;
    margin: 8px 15px !important;
    position: relative !important;
    float: right !important;
}


/*   Filtry   */

.widget.woocommerce {
    /*border-left: 1px solid #3a5a4038;
    border-right: 1px solid #3a5a4038;
    box-shadow: 4px 6px 5px 0px rgb(0 0 0 / 17%);*/
}

.widget-title {
    padding: 4px;
    padding-left: 10px;
    margin-bottom: 0px;
    font-size: 30px;
    /* border-bottom: 10px solid #fbfbfb; */
    color: #ffffff;
    background: var(--secondary);
    letter-spacing: 1px;
    font-weight: normal;
    border-radius: 6px;
}

.ct-sidebar {
    background-color: #afafaf;
    background: var(--primary);
    height: 100% !important;
    background-size: 45px auto !important;
    background-image: url(img/PNG/icon-beige-bcg.png) !important;
    box-shadow: 3px 2px 4px 0px rgb(0 0 0 / 22%);
    padding-bottom: 15px;
}

.custom-slider {
    position: relative;
    height: 40px;
    margin-bottom: 15px;
}

.custom-slider input[type=range] {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
    z-index: 3;
}

.custom-slider input[type=range]::-webkit-slider-thumb {
    pointer-events: auto;
    width: 10px;
    height: 30px;
    background: var(--secondary);
    border: 2px solid white;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -2px;
}

.custom-slider input[type=range]::-moz-range-thumb {
    pointer-events: auto;
    width: 10px;
    height: 30px;
    background: var(--secondary);
    border: 2px solid white;
    cursor: pointer;
}

/* Základní šedý pruh */
.custom-slider .slider-track {
    position: absolute;
    top: 17px;
    left: 0;
    right: 0;
    height: 8px;
    background: #ccc; /* vybledlá část */
    z-index: 1;
    border-radius: 4px;
}

/* Aktivní žlutý rozsah */
.custom-slider .slider-range {
    position: absolute;
    top: 17px;
    height: 8px;
    background: var(--secondary);
    z-index: 2;
    border-radius: 4px;
}

.price-output {
    display: flex;
    justify-content: center;
}



#active-filters {
    margin: 5px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.filter-tag {
    display: inline-block;
    background: var(--secondary);
    padding: 8px 8px;
    margin: 3px;
    font-size: 13px;
    color: white;
}

.filter-tag .remove {
    margin-left: 8px;
    cursor: pointer;
}

#clear-filters {
    display: none;
    text-decoration: underline;
    color: #000000;
    margin-left: 10px;
}

#clear-filters:hover {
    color: darkred;
    cursor: pointer;
}


.filter-box {
    margin-bottom: 1rem;
    border-bottom: 1px solid #8080805c;
    border-top: 1px solid #8080805c;
    /* padding: 2px; */
    margin: 10px;
    margin-left: 10px;
    margin-right: 10px;;
}


.filter-header {
    /*font-weight: bold;*/
    background: white;
    padding: 10px;
    cursor: pointer;
    position: relative;
    width: 100%;
    color: #000000;
    display: flex;
    align-items: center;
}

.filter-header::after {
    content: "+";
    position: absolute;
    right: 10px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.filter-box.open .filter-header::after {
    content: "−";
}

.filter-content {
    display: none;
    padding: 10px;
    background: #ffffffc4;
}







/*
.stock-status.in-stock {
    color: green;
}
.stock-status.on-backorder {
    color: orange;
}
.stock-status.out-of-stock {
    color: red;
}

*/

/*    SORTING TABS    */

.custom-sorting-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.custom-sorting-tabs button {
    padding: 8px 16px;
    border: 1px solid #ccc;
    border-bottom: none; /* předejdi dvojitému borderu s active */
    cursor: pointer;
    transition: all 0.2s;
    box-sizing: border-box;
    background: #ebebeb;
}

.custom-sorting-tabs button.active {
    border-bottom: 1px solid transparent; /* změna zde */
    position: relative;
    top: 1px;
    background: #f8f8f8;
}




/* 🧩 Základní karta */
.product-shop-card {
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
/*
/* 🖼️ Obrázek */
.product-shop-card .item-image {
    width: 100%;
    height: 250px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    margin-bottom: 0px !important;
}

.product-shop-card .item-image img {
    width: 90%;
    height: 100%;
    object-fit: cover;
    box-shadow: 3px 4px 5px 0px rgb(71 71 71 / 15%);
}



/*  Off canva košík */

#custom-cart-drawer {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    /*box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);*/
    z-index: 99;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

#custom-cart-drawer.open {
    display: block !important;
    transform: translateX(0);
}
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: none;
}
#custom-cart-drawer.open .drawer-overlay {
  display: block;
}
.drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(400px, 100%);
  background: #fff;
  display: flex;
  flex-direction: column; /* header -> items -> summary */
  box-shadow: -4px 0 8px rgba(0, 0, 0, 0.2);
}

.drawer-conten-inner {
    overflow-y: auto;
}

@media (max-width: 450px) {
    .drawer-content {
        width: 100%;
    }
    .drawer-overlay {
        right: 100%;
    }
}


.drawer-content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    margin-bottom: 15px;
    background: var(--secondary);
    padding: 5px;
    padding-left: 15px;
    padding-right: 15px;
}

.drawer-content-header h3 {
    margin: 0px;
    color: white;
    font-size: 21px;
    font-weight: normal;
}

#drawer-close {
  /*position: absolute;
  top: 15px; right: 15px;*/
  background: transparent;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
}
.checkout-button {
  display: block;
  margin-top: 20px;
  text-align: center;
  background: #0073aa;
  color: white;
  padding: 10px;
  border-radius: 4px;
  text-decoration: none;
}

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

.custom-cart-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px;
  background-color: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: background 0.3s;
}

.custom-cart-item:hover {
    /*background-color: #f1f1f1;*/
}

.cart-item-thumbnail img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  text-decoration: none;
}

.cart-item-name:hover {
  color: #000;
}

.cart-item-qty-price {
  font-size: 14px;
  color: #666;
}

.remove-cart-item {
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.2s;
  align-self: flex-start;
}

.remove-cart-item:hover {
  color: #e63946;
}

.custom-cart-summary {
    margin-top: 20px;
    padding: 15px;
    padding-bottom: 35px;
    border-top: 1px solid #ddd;
    /* text-align: right; */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: -webkit-fill-available;
    bottom: 0;
    z-index: 999;
    background: white;
}

.cart-subtotal {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 12px;
  color: #333;
}

.checkout-button {
  display: inline-block;
  background: #0073e6;
  color: #fff;
  padding: 10px 18px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.3s;
}

.checkout-button:hover {
  background: #005bb5;
}

/* menu košík */

.mini-cart-icon {
    position: relative;
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    align-items: center;
    justify-content: center;;
}

.mini-cart-icon .cart-count {
    position: absolute;
    top: -1px;
    right: -1px;
    background-color: white;
    color: black;
    font-size: 11px;
    font-weight: bold;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}


/* Kontejner množství */
.cart-item-qty-price {
    display: flex;
    align-items: center;
    gap: 5px; /* mezera mezi tlačítky a číslem */
}

/* Tlačítka +/- */
.qty-increase,
.qty-decrease {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: 4px 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    /*transition: background 0.2s;*/
}

.qty-increase:hover,
.qty-decrease:hover {
    background-color: var(--secondary); /* tmavší při hover */
}

/* Input pro množství */
.qty-input {
    width: 40px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 4px 0;
    font-size: 14px;
    background-color: #f9f9f9;
    pointer-events: none; /* aby nebylo možné přímo psát */
}

/* Responzivně: menší displeje */
@media (max-width: 768px) {
    .cart-item-qty-price {
        gap: 3px;
    }
    .qty-increase,
    .qty-decrease {
        padding: 3px 8px;
        font-size: 14px;
    }
    .qty-input {
        width: 35px;
        font-size: 13px;
    }
}

.stock-limit-msg {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff4d4f;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    z-index: 9999;
}

.cart-drawer-fsb-banner {
    width: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
    /*position: absolute;
    bottom: 130px;*/
    border-top: 1px solid rgb(221, 221, 221);
}

.cart-drawer-fsb-text {
    text-align: center;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #111111;
}

.cart-drawer-fsb-text strong {
    color: #497d53;; /* Zásilkovna zelená pro důležitý text */
    font-weight: 700;
    font-size: 18px;
}

.cart-drawer-fsb-payments {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cart-drawer-fsb-payments img {
    height: 34px;
    width: auto;
    filter: grayscale(0.2);
    transition: filter 0.2s ease;
}

.cart-drawer-fsb-payments img:hover {
    filter: grayscale(0);
}

.cart-drawer-fsb-delivery-icon {
    height: 28px;
    width: auto;
    filter: grayscale(0.2);
    transition: filter 0.2s ease;
}

.cart-drawer-fsb-delivery-icon:hover {
    filter: grayscale(0);
}


@media (max-width:600px){
    .cart-drawer-fsb-text { font-size: 17px; }
    .cart-drawer-fsb-delivery-icon { height: 28px; }

    .cart-drawer-fsb-text strong {
        font-size: 17px;
    }

}

.off-canva-cart-is-empty {
    text-align: center;
}


/*   MOBILNÍ FILTRY  */


.filter-mobile-box {
    margin-bottom: 1rem;
    margin-top: 1rem;
    border-bottom: 1px solid #ddd;
    display: none;
}

.filter-mobile-header {
    /* font-weight: bold; */
    background-color: var(--secondary);
    padding: 10px;
    cursor: pointer;
    position: relative;
    width: 100%;
    color: white;
    /* display: block; */
    display: flex;
    align-items: center;
}

.filter-mobile-header::after {
    content: "+";
    position: absolute;
    right: 10px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.filter-mobile-box.open .filter-mobile-header::after {
    content: "−";
}

.filter-mobile-content {
    display: none;
    padding: 10px;
    background: whitesmoke;
}

@media (max-width: 1000px) {
    .filter-mobile-box  {
        display: block;
    }

    .filter-mobile-box {
        margin-bottom: 0px;
    }

    .custom-sorting-tabs button {
        border-bottom: 1px solid #ccc;

    }

    .custom-sorting-tabs button.active {
        border-bottom: 1px solid #ccc;
        top: 0px;
    }

}






/* BLOG NA FRONT-PAGE  */

.latest-posts {
    padding: 60px;
    background-color: var(--secondary);
    color: var(--secondary);
}

.latest-posts h2 {
    color: var(--primary);
    font-size: 3.5rem;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.single-fp-post {
    background: var(--primary);
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 3px 4px 3px 0px rgb(0 0 0 / 14%);
    display: flex;
    flex-direction: column;
}
.single-fp-post h3 a {
    text-decoration: none;
    color: var(--secondary);
}

.post-button-container {
    display: flex;
    width: 100%;
    flex-direction: row-reverse;
    margin-top: auto;
}

@media (max-width: 768px) {
    .latest-posts {
        padding: 40px;
    }

}


/* CTA NA FRONT-PAGE  */

.cta-section {
  /*background: linear-gradient(135deg, var(--primary), var(--secondary));*/
  background: var(--primary);
  color: var(--secondary);
  text-align: center;
  padding: 3rem 1rem;
}

.cta-content {
    display: flex;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}
.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  max-width: 500px;
}
.btn-cta {
  background: white;
  color: #4f46e5;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: bold;
}
.btn-cta:hover {
  background: #e0e0ff;
}


/*  LOADOVACÍ SPINNER  */

/* Overlay */
#loader-overlay {
    width: 100%;
    min-height: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Spinner */
.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}









/*   SINGLE PRODUCT PAGE   */
/*
.single-product-page {
    color: var(--secondary);
    background: #fff;
}

.single-product-main {
    display: flex;
}
*/

.product-entry-wrapper {
    flex-direction: row-reverse;
}

.entry-summary {
    margin: 0px;
    margin-right: 40px;
    color: var(--secondary);
    font-weight: bold;
    margin-inline-start: 0px !important;
}

.product_title {
    color: var(--secondary);
    font-size: 3rem;
    font-weight: bold;
}

.summary p.price span {
    color: var(--secondary);
    font-weight: bold;
    font-size: 1.7rem;
}

.single-product.b2b-product fieldset.ct-payment-methods {
    display: none !important;
}

/*
.single-product-images {
    flex: 1;
    max-width: 50%;
}

.single-product-images img {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.single-product-info {
    flex: 1;
    max-width: 50%;
}
*/
/*
@media (max-width: 1000px) {
    .single-product-main {
        display: flex;
        flex-direction: column-reverse;
        gap: 60px;
        padding: 60px;
        align-items: center;
        max-height: none;
    }

    .single-product-images, .single-product-info {
        max-width: none;
    }
}*/

/*
.single-product-title {
    font-size: 3rem;
    font-weight: bold;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.single-product-weight {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.single-product-description {
    color: var(--secondary);
    font-weight: bold;
    margin-bottom: 40px;
}

.price {
    color: var(--secondary) !important;
    font-size: 27px;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

form.cart {
    margin-bottom: 2rem;
}*/
/*
.single_add_to_cart_button {
  background: #264027 !important;
  color: white !important;
  border: none !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 1rem !important;
  border-radius: 999px !important;
  cursor: pointer !important;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease !important;
}

.single_add_to_cart_button:hover {
  background: #1a2e1a !important;
}*/

.product>.woocommerce-tabs {
    padding-top: 60px;
    clear: both;
    padding-bottom: 60px;
}

.related{
    background: var(--primary);
    max-width: 1320px;
    margin: auto;
    margin-top: 0px !important;
}

.up-sells{
    background: var(--secondary);
    max-width: 1320px;
    margin: auto;
    margin-top: 0px !important;
}

h2.ct-module-title {
    font-size: 3rem;
    padding: 40px;
    margin-bottom: 0px !important;
    font-weight: bold;
}

.up-sells h2.ct-module-title {
    color: var(--primary);
    background-color: var(--secondary);
}

.related h2.ct-module-title {
    color: var(--secondary);
    background-color: var(--primary);
}

.related-color {
  background-color: var(--secondary);
  color: var(--primary);
}

.upsell-color {
  background-color: var(--primary);
  color: var(--secondary);
}

a.button.my-add-to-cart-button.upsell-button {
  background-color: var(--secondary);
  color: var(--primary);
}

a.button.my-add-to-cart-button.related-button {
  background-color: var(--primary);
  color: var(--secondary);
}


/*
.crosssell-color {
  background-color: #f0fff5;
}
*/


/*   KONTAKT Page   */

.contact-section {
  padding: 60px 20px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-info,
.contact-form {
  flex: 1 1 400px;
}

.contact-details {
  list-style: none;
  padding: 0;
}

.contact-details li {
  margin-bottom: 8px;
}
/*
.contact-form .wpcf7 form .wpcf7-not-valid {
    border: 1px solid #dc3232 !important;
}*/

.contact-form .wpcf7-not-valid-tip {
  /*display: none !important;*/
    color: #dc3232 !important;
    text-align: center !important;
}

.contact-form .wpcf7-spinner {
    display: inline-block !important;
    background-color: #3a5a40 !important;
    opacity: 0.75 !important;
    width: 24px !important;
    height: 24px !important;
    border: none !important;
    border-radius: 100% !important;
    padding: 0 !important;
    margin: 8px 15px !important;
    position: relative !important;
}

.req {
  color: red;
  margin-left: 4px;
}

.map-container {
  margin-top: 60px;
}


/*     BĚHACÍ BANNER       */	
	
/* Výchozí stav: Banner je skrytý, dokud JS nerozhodne jinak */
.fsb-banner.fsb-initially-hidden {
    display: none !important;
}

/* --- Vaše stávající CSS (ponecháno beze změny) --- */
.fsb-banner {
    background: linear-gradient(90deg, #3a5a40, #687b6d);
    color: #fff;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    padding: 6px 0;
}
.fsb-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.fsb-close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    margin-right: 8px;
    padding: 4px 8px;
    display: inline-block;
}

/* marquee */
.fsb-marquee {
    overflow: hidden;
    flex: 1 1 auto;
}
.fsb-marquee-track {
    display: inline-block;
    white-space: nowrap;
    will-change: transform;
    padding-left: 2rem;
    animation: fsb-scroll 16s linear infinite;
    font-weight: 600;
    font-size: 16px;
}
.fsb-item { margin-right: 1rem; }
.fsb-sep { margin: 0 0.5rem; opacity: 0.8; }

@keyframes fsb-scroll {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-33.333%); }
}

/* malé obrazovky */
@media (max-width:600px) {
    .fsb-inner { padding: 8px; }
    .fsb-marquee-track { font-size: 14px; animation-duration: 12s; }
    .fsb-close { font-size: 18px; }
}

/* Třída pro skrytí po kliknutí na křížek */
.fsb-banner.fsb-hidden { 
    display: none !important; 
}

.fsb-item a {
    color: white;
}
.fsb-item a:hover {
    color: white;
    text-decoration: underline;
}

/*  META INTEGRACE  */

/* Kontejner Swiperu */

.fb-swiper-container {
    padding: 30px 20px 50px 20px !important;
    /*height: 650px;*/
}

.fb-swiper-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        #FAFBFC 25%,
        #dbe5ef 37%,
        #FAFBFC 63%
    );
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 12px;
    z-index: 1;
    /*max-height: 550px;*/
}

.fb-swiper-container > * {
    visibility: hidden;
}
.fb-swiper-container.is-loaded::before {
    display: none;
}
.fb-swiper-container.is-loaded > * {
    visibility: visible;
}

/* Karta příspěvku */
.fb-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Aby byly všechny karty stejně vysoké */
    transition: transform 0.3s ease;
}

.fb-card:hover {
    transform: translateY(-5px);
}

/* Header karty */
.fb-card-header {
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f9f9f9;
}

.fb-logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fb-icon-svg {
    display: flex;
    align-items: center;
}

.fb-date {
    font-size: 12px;
    color: #8a8d91;
    font-weight: 500;
}

/* Obrázek */
.fb-card-img img {
    width: 100%;
    max-height: 500px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
}

/* Obsah */
.fb-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.fb-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #1c1e21;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Odkaz/Tlačítko */
.fb-read-more {
    font-weight: 600;
    font-size: 0.85rem;
    color: #1877F2; /* Facebook modrá */
    text-decoration: none;
    transition: color 0.2s;
}

.fb-read-more:hover {
    color: #145dbf;
    text-decoration: underline;
}

/* Tečky pod swiperem */

.fb-swiper-container .swiper-pagination-bullet-active {
    background: #1877F2 !important;
}

.fb-swiper-container .swiper-pagination-bullet {
    background: #1877f282;
}


/* Footer styl */
.fb-card-footer {
    padding: 12px 15px;
    border-top: 1px solid #ebedf0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fcfcfd;
}

.fb-meta {
    display: flex;
    gap: 12px;
    color: #65676b;
    font-size: 13px;
    font-weight: 600;
}

.fb-meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.fb-meta-item .dashicons {
	display: flex;
    align-items: center;
    font-size: 13px;
    color: #65676b;
    font-weight: 600;
}

.fb-view-link {
    font-size: 13px;
    font-weight: 700;
    color: #1877F2;
    text-decoration: none;
}

.fb-view-link:hover {
    text-decoration: underline;
}
	
	/* Styl pro SVG ikony v metadatech */
.fb-svg-icon {
    width: 16px;
    height: 16px;
    fill: #8a8d91; /* Decentní šedá jako u Smash Balloon */
    display: inline-block;
    vertical-align: middle;
    margin-right: 4px;
}


/* Pokud chceš, aby lajk při hoveru zmodral */
.fb-meta-item:hover .fb-svg-icon {
    fill: #1877F2;
}








/* Výchozí stav: Skryto, aby nic neprobliklo */
.fsp-overlay.fsp-initially-hidden {
    display: none !important;
}

/* Pozadí přes celý web */
.fsp-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Ztmavení webu */
    backdrop-filter: blur(4px); /* Jemné rozmazání pozadí */
    z-index: 999999; /* Nad banner i menu */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Třída pro postupné zobrazení přes JS */
.fsp-overlay.fsp-visible {
    opacity: 1;
}

/* Samotné okno popupu */
.fsp-window {
    background: #ffffff;
    color: #1a1a1a;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    font-family: system-ui, -apple-system, sans-serif;
    
    /* Animace vyskočení */
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fsp-overlay.fsp-visible .fsp-window {
    transform: translateY(0);
}

/* Zavírací křížek */
.fsp-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: 0;
    font-size: 32px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    transition: color 0.2s;
}
.fsp-close:hover { color: white; }

/* Když uživatel popup zavře, úplně ho odstraníme */
.fsp-overlay.fsp-hidden { display: none !important; }
	
/* Zákaz scrollu na pozadí, když je popup aktivní */
body.fsp-no-scroll {
    overflow: hidden !important;
}
    