/* 
Theme Name: Sweb
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/



/* przyciski w lightbox */
.elementor-lightbox .e-font-icon-svg {
    fill: #000 !important;
    transition: fill 0.4s ease; /* szybkość animacji */
}

/* hover */
.elementor-lightbox .e-font-icon-svg:hover {
    fill: #AF9775 !important;
}

.elementor-slideshow__header svg {
    vertical-align: middle;
}
.elementor-lightbox .dialog-lightbox-close-button {
    margin-top: 15px !important;
}









.e-rating-wrapper .e-icon {
  position: relative;
}
/* Numeracja od 1 do 10 nad gwiazdkami */
.e-rating-wrapper .e-icon:nth-child(1)::before { content: "1"; }
.e-rating-wrapper .e-icon:nth-child(2)::before { content: "2"; }
.e-rating-wrapper .e-icon:nth-child(3)::before { content: "3"; }
.e-rating-wrapper .e-icon:nth-child(4)::before { content: "4"; }
.e-rating-wrapper .e-icon:nth-child(5)::before { content: "5"; }
.e-rating-wrapper .e-icon:nth-child(6)::before { content: "6"; }
.e-rating-wrapper .e-icon:nth-child(7)::before { content: "7"; }
.e-rating-wrapper .e-icon:nth-child(8)::before { content: "8"; }
.e-rating-wrapper .e-icon:nth-child(9)::before { content: "9"; }
.e-rating-wrapper .e-icon:nth-child(10)::before { content: "10"; }
/* Styl pseudo-elementu */
.e-rating-wrapper .e-icon::before {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: 400;
    color: #5b5b5b;
    pointer-events: none;
}









/* Wszystkie elementy w rzędzie */
.elementor-posts-container .elementor-post {
  flex: 0 0 33%; /* 3 kolumny */
  box-sizing: border-box;
}

/* Opcjonalnie styl dla statycznego kontenera */
.elementor-posts-container .my-custom-item {
  background-color: #f2f2f2;
  text-align: center;
  padding: 20px;
}






b, strong {
    font-weight: 600 !important;
}

.sweb-stroke b,
.sweb-stroke strong {
    font-weight: 600 !important;
    color: #fff !important;
}





 .skala-twardosci.elementor-widget-rating .e-rating .e-icon-wrapper svg  {
    border: 1px solid #000 !important;
}







.sweb-87529 .elementor-icon-list-text {
    margin-top: 10px;
    display: inline-block;
}




h1.entry-title {
	display: none !important;
}
p {
	margin-top: 0px !important;
	margin-bottom: 0px !important;
}
.elementor-widget:not(:last-child) {
	margin-bottom: 0px !important;
}






.kategoria a {
    color: #AE9775 !important;
    font-weight: 600;
}
.kategoria a:hover {
    color: #fff !important;
}





.reveal {
  position: relative;
  overflow: hidden;
  display: block;
}

/* obrazek początkowo ukryty i przesunięty w lewo */
.reveal img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* paski jako pseudo-elementy */
.reveal::before,
.reveal::after,
.reveal span,
.reveal i,
.reveal b,
.reveal em {
  content: "";
  position: absolute;
  top: 0;
  height: 100%;
  background-color: #fff;
  opacity: 0.5;
  z-index: 2;
  transform: translateX(-100%); /* start z lewej */
}

/* ustawienie szerokości i nachodzenia pasków */
.reveal::before { left: 0; width: 100%; }
.reveal::after  { left: 10%; width: 100%; }
.reveal span    { left: 25%; width: 12%; }
.reveal i       { left: 35%; width: 100%; }
.reveal b       { left: 50%; width: 15%; }
.reveal em      { left: 65%; width: 100%; }

.reveal.is-visible::before { animation: paski-do-prawej 1s ease 0.2s forwards; }
.reveal.is-visible::after  { animation: paski-do-prawej 1s ease 0.25s forwards; }
.reveal.is-visible span    { animation: paski-do-prawej 1s ease 0.3s forwards; }
.reveal.is-visible i       { animation: paski-do-prawej 1s ease 0.35s forwards; }
.reveal.is-visible b       { animation: paski-do-prawej 1s ease 0.4s forwards; }
.reveal.is-visible em      { animation: paski-do-prawej 1s ease 0.45s forwards; }


/* keyframes: przesuwanie i znikanie pasków */
@keyframes paski-do-prawej {
  0%   { transform: translateX(-100%); }
  70%  { transform: translateX(50%); }   /* w trakcie przesuwania obrazek się pojawia */
  100% { transform: translateX(100%); opacity: 1; } /* paski znikają */
}

.reveal.is-visible img {
  opacity: 1;
  transform: translateX(0);
}















/* Kontener z trzema kolumnami */
.acf-ikony-materacy-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 3 kolumny równej szerokości */
    gap: 15px; /* odstęp między itemami */
}

/* Pojedynczy element */
.acf-ikony-item {
    display: flex;
    align-items: center; /* ikona zawsze u góry */
    gap: 10px;
    background: #f9f9f9;
    border-radius: 20px;
    padding: 10px;
}

/* Obrazek */
.acf-ikony-image {
    flex: 0 0 15%; 
    max-width: 350px; 
}

.acf-ikony-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Opis */
.acf-ikony-opis {
    flex: 1;
    font-size: 11px;
    line-height: 16px;
    font-weight: 300 !important;
    text-align: justify; /* <-- dodane wyrównanie tekstu */
}

/* Responsywność */
@media (max-width: 1024px) {
    .acf-ikony-materacy-gallery {
        grid-template-columns: repeat(2, 1fr); /* 2 kolumny na tabletach */
    }
}

@media (max-width: 768px) {
    .acf-ikony-materacy-gallery {
        grid-template-columns: 1fr; /* 1 kolumna na telefonach */
    }

    .acf-ikony-item {
        text-align: left;
    }

    .acf-ikony-image {
        max-width: 110px;
    }
}












/* Kontener z dwoma kolumnami dla poduszek */
.acf-ikony-poduszek-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 kolumny równej szerokości */
    gap: 15px; /* odstęp między itemami */
}

/* Pojedynczy element */
.acf-ikony-item {
    display: flex;
    align-items: center; /* ikona zawsze u góry */
    gap: 10px;
    background: #f9f9f9;
    border-radius: 20px;
    padding: 10px;
}

/* Obrazek */
.acf-ikony-image {
    flex: 0 0 10%;
    max-width: 200px; /* mniejsza max szerokość niż materacy */
}

.acf-ikony-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Opis */
.acf-ikony-opis {
    flex: 1;
    font-size: 11px;
    line-height: 16px;
    font-weight: 300 !important;
    text-align: justify; /* wyrównanie tekstu */
}

/* Responsywność */
@media (max-width: 1024px) {
    .acf-ikony-poduszek-gallery {
        grid-template-columns: 1fr; /* 1 kolumna na tabletach */
    }
}

@media (max-width: 768px) {
    .acf-ikony-item {
        text-align: left;
    }

    .acf-ikony-image {
        max-width: 100px;
    }
}




















.elementor-3615 .elementor-element.elementor-element-22e8a7a img {
    width: 200px;
    max-height: 70px !important;
}












.elementor-lightbox .elementor-lightbox-image {
    border-radius: 2px;
    box-shadow: none !important;
}
.elementor-lightbox .dialog-lightbox-close-button svg, .elementor-lightbox .elementor-swiper-button svg {
    fill: hsl(0deg 0% 0% / 90%) !important;
}
.elementor-lightbox {
    --lightbox-ui-color: hsla(0,0%,93%,.9);
    --lightbox-ui-color-hover: #fff;
    --lightbox-text-color: #000 !important;
}




