* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Poppins';
    src: local(''),
         url('/fonts/poppins-v22-latin-regular.woff2?v=1.1') format('woff2');
    font-weight: 400;
    font-style: normal;
  }
  
  
  @font-face {
    font-family: 'Bodoni Moda';
    src: url('/fonts/bodoni-moda-v25-latin-regular.woff2?v=1.1') format('woff2');
    font-weight: 400;
    font-style: normal;
  }

html, body {
    overflow-x: hidden;
}

.form-control:focus {
    border-color: #aaa !important; /* Szary kolor ramki */
    box-shadow: 0 0 5px rgba(170, 170, 170, 0.5) !important; /* Delikatny szary cień */
}

body {
	font-family: "Poppins", sans-serif;
	background-color:#ffffff;
	font-size:15px;
    padding-top: 56px;
}
h1 {
    font-family: 'Bodoni Moda', serif;
    font-size: 36px;
}
h2 {
    font-family: 'Bodoni Moda', serif;
    font-size: 36px;
}
h4 {
    font-weight: 400;
}
p{
    font-size: 13px;
    font-weight: 500;
}
.navi{
    font-weight: 600;
    cursor:pointer;
}
.navbar-nav {
    display:flex;
    align-items:center;
}
.bg-black{
    background-color: #000;
    color:white;
    text-align: center;
}
.instr{
    width: 100vw;  /* Pełna szerokość ekranu */
    margin: 0;
}
.bg-mail{
    background-color: #e9e9e9;
    
}
.tytul{
    text-align: center;
}

.instagram-post {
    position: relative;
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.instagram-image {
    position: relative;
    width: 100%;
    padding-top: 100%; /* Proporcje 1:1 */
    overflow: hidden;
}

.instagram-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Zapobiega rozciąganiu */
    display: block;
}

/* Liczba polubień - lewy górny róg */
.likes {
    position: absolute;
    top: 12px;
    left: 12px;
    color: white;
    font-size: 18px;
    line-height: 18px;
    display: flex;
    align-items: center;
}

.likes svg {
    margin-right:5px;
}

/* Typ posta - prawy górny róg */
.media-type {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
}


.akapit {
    text-align: left; /* Tekst wyrównany do lewej */
    margin-left: auto;
    margin-right: auto;
   
    padding-left: 5vw; /* Uniwersalny margines po lewej */
    padding-right: 5vw; /* Uniwersalny margines po prawej */
    box-sizing: border-box; /* Uwzględnia padding w szerokości */
}

.toggle-text {
    color: gray; /* Domyślny kolor tekstu */
    cursor: pointer; /* Zmiana kursora na wskazujący */
    transition: color 0.3s; /* Płynna zmiana koloru */
}

/* Efekt po najechaniu */
.toggle-text:hover {
    color: white;
}

/* Aktywny tekst (kliknięty) */
.toggle-text.active {
    color: white;
}

/* Dolne teksty domyślnie białe */
.dolny-tekst {
    color: white;
    display: none; /* Ukrywamy teksty na początku */
    text-align: left; /* Tekst wyrównany do lewej */
    margin-left: auto;
    margin-right: auto;
   
    padding-left: 5vw; /* Uniwersalny margines po lewej */
    padding-right: 5vw; /* Uniwersalny margines po prawej */
    box-sizing: border-box; /* Uwzględnia padding w szerokości */
}

/* Aktywny dolny tekst, który ma być widoczny */
.dolny-tekst.active {
    display: block;
}
.fixed-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    padding: 10px;
    text-align: center;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

.fixed-footer .btn {
    margin: 0 10px;
}
.maincatt{
   
    border: 1px solid #fff; 
    display: inline-block; 
    padding: 5px 10px; 
    z-index: 1;
    position: relative;
}
.image-container1 {
    position: relative;
    overflow: hidden; /* Zapobiega wychodzeniu poza kontener */
    z-index: -1; 
}
.btn-success {
	border-radius:0px;
	border:0;
	color:white;
	background-color:black;
}
.btn-success:hover, .btn-success:focus, .btn-success:active, .btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
	border-radius:0px;
	border:0;
	color:black;
	background-color:white;
}
.btn-grey {
    padding: 10px 40px;
    border-radius:0px;
	border:1px #989797 solid;
	color:white;
	background-color:#989797;
    font-size:12px;
    text-transform: uppercase;
}
.btn-grey:hover, .btn-grey:focus, .btn-grey:active, .btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
	border-radius:0px;
	border:1px black solid;
	color:black;
	background-color:white; 
}
.btn-white {
    padding: 10px 40px;
    border-radius:0px;
	border:1px black solid;
	color:black;
	background-color:white;
    font-size:12px;
    text-transform: uppercase;
}
.btn-white:hover, .btn-white:focus, .btn-white:active, .btn-check:checked+.btn, .btn.active, .btn.show, .btn:first-child:active, :not(.btn-check)+.btn:active {
	border-radius:0px;
	border:1px black solid;
	color:white;
	background-color:black; 
}
.dimension-unit-btn {
    min-width: 48px;
    padding: 4px 14px !important;
    line-height: 1.2;
    font-size: 13px;
}
.dimension-unit-btn.is-active,
.dimension-unit-btn.is-active:hover,
.dimension-unit-btn.is-active:focus,
.dimension-unit-btn.is-active:active {
    border: 1px #989797 solid;
    color: white;
    background-color: #989797;
}
.dimension-unit-btn:not(.is-active),
.dimension-unit-btn:not(.is-active):focus {
    border: 1px black solid;
    color: black;
    background-color: white;
}
.best{
    width: 100%;
    margin: 0;      /* usuwa marginesy zewnętrzne */
    padding: 0;     /* usuwa wewnętrzne odstępy, jeśli nie są potrzebne */
    box-sizing: border-box; /* uwzględnia padding i border w szerokości elementu */

}
.pcolor{
    color:#5F6368;
}
.image-container1::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* 20% czerni */
    pointer-events: none;
  }
.image-container1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit; /* Dziedziczy tło z głównego elementu */
    background-size: 100%;
    transition: transform 0.3s ease-in-out;
    z-index: 0; 
}

.image-container1:hover::before {
    transform: scale(1.1); /* Powiększa tło */
}
.navbar.bg-colored {
    background-color: #ffffff;
	box-shadow:#aaaaaa 0px 0px 15px;
}
.footer, .footer-container {
	background-color: #000;
    color: #fff;
}
.footer-link {
	color: #fff;
	text-decoration:none;
	font-size:0.8rem;
}

.revselect {
	border:1px solid #000;
	border-radius:0;
}
.price-box {
	font-size:12px;
	color:grey;
}

.kol-background{
    position: relative;
  }

.kol-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
  }

  .kol-background > * {
    position: relative;
    z-index: 2;
  }


.carousel-caption {
    position:absolute;
    top: 40%;
    text-align: center;
}

#errorX, #errorY, #errorXY {
    color:red;
    font-weight: bold;
}

.btn-primary, .page-item:first-child .page-link, .page-item:last-child .page-link {
	padding: 10px 40px;
    border-radius:0px;
	border:1px black solid;
	color:white;
	background-color:black;
    font-size:12px;
    text-transform: uppercase;
}
.page-item:first-child .page-link, .page-item:last-child .page-link
{
	margin-right:1px;
	margin-left:1px;
}
.page-counter {
	border:0;
	background:transparent;
	color:black;
	position: relative;
    display: block;
    padding: var(--bs-pagination-padding-y) var(--bs-pagination-padding-x);
    font-size: var(--bs-pagination-font-size);
}
.btn-primary:hover, .btn-primary:active {
	border-radius:0px;
	border:1px #000000 solid;
	color:black;
	background-color:white;
}
.btn-primary:focus {
	border-radius:0px;
	border:1px #000000 solid;
	color:black;
	background-color:white;
    font-size:12px;
}
.btn-transparent {
    background-color:transparent;
    border:1px solid white;
    color:white;
    margin-top:300px;
}
.btn-transparent:hover {
    background-color:white;
    border:1px solid white;
    color:black;
}
.nav-link {
    position: relative;
    color: #000000 !important;  /* Domyślny kolor tekstu */
    font-size: 16px !important; 
    transition: color 0.3s ease;  /* Płynna zmiana koloru */
}

.nav-link:hover {
    color: #8b8b8b !important; 
}
.cart-badge {
    position: absolute;
    top: 20px;   /* Dostosuj odległość od góry */
    right: 5px; /* Dostosuj odległość od prawej */
    background-color: black; /* Kolor tła kółka, np. czerwony */
    color: white; /* Kolor tekstu w kółku */
    border-radius: 50%; /* Sprawia, że element jest okrągły */
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
  }
#restartCanvas {
    font-size:10px;
    color:#464545;
    cursor:pointer;
}
.newsletter-form {
	border-radius:0px;
	margin-bottom:15px; 
    padding: 10px 20px;
    text-align:center;
    border:1px solid #464545;
    width:40%;
    margin:0 auto;
    color:#464545;
}
.kollink {
    display: block;
    position: relative;
    color:#000000;
}
.kollink:hover {
    color:#5F6368;
}
.kollink img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.kollink .text-end {
    text-align: right;
    padding-top: 10px;
}
.cta, .cta svg {
    color:#000000;
    stroke:#000000;
    fill: #000000;
}
.cta:hover {
    color:#5F6368;
}
.cta:hover svg {
    stroke: #5F6368;
    fill: #5F6368;
}
.col-box {
    transition: background-image 0.8s ease-in-out;
    position: relative;
}
.arrow {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
    text-align: center;
    line-height: 30px;
    font-size: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}
.arrow-left {
    left: 40px;
}
.arrow-right {
    right: 40px;
}
.produkt-form {
    border-radius:0px;
    width:100%;
}
        .custom-checkbox .form-check-input {
            opacity: 0; /* Ukrycie domyślnego checkboxa */
            position: absolute;
            width: 20px;
            height: 20px;
        }

        .custom-checkbox .form-check-label {
            position: relative;
            padding-left: 30px; /* Dodatkowa przestrzeń na niestandardowy checkbox */
            cursor: pointer; /* Styl kursora wskazujący na interaktywny element */
        }

        .custom-checkbox .form-check-label::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0;
            width: 20px;
            height: 20px;
            border: 1px solid black; /* Czarna ramka kwadratu */
            display: block;
        }

        .custom-checkbox .form-check-input:checked + .form-check-label::before {
            background-color: black; /* Czarne tło po zaznaczeniu */
        }
		  .image-container {
			height: 285px;
			overflow: hidden;
			position: relative;
		  }

          .product-bg-change {
            height: 400px;
            transition: background-image 0.5s ease-in-out;
          }
          .product-img-replace {
            transition: opacity 0.5s ease-in-out;
          }

		  .image-container img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		  }
		  .favorite-btn {
            position: absolute;
            top: 10px; /* Umieszczenie przycisku w górnej części obrazu */
            right: 10px; /* Umieszczenie przycisku w prawej części obrazu */
            border: none;
            background: transparent;
            color: red; /* Kolor ikony */
            cursor: pointer;
            z-index: 2; /* Zapewnienie, że przycisk będzie na wierzchu */
        }

        #promo-code {
            text-align: center;
            font-size: 12px;
            color: #979797;
            border-radius: 0;
            padding: 10px;
        }
    
		.col-box {
			color:white;
			text-decoration:none;
			background-size:cover; 
			background-position:center center; 
			background-repeat:none;
			position:relative;
		}
		.col-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.25); /* Przyciemnienie */
            transition: opacity 0.25s ease; /* Animacja zmiany przeźroczystości */
            opacity: 1; /* Domyślna przezroczystość przyciemnienia */
        }
		.col-box:hover::before {
            opacity: 0; /* Przezroczystość po najechaniu */
        }
		.col-box h3 {
            font-size:20px;
			font-weight:normal;
			z-index:100;
			position: absolute;
			padding:10px;
		} 
	
        .range-tooltip {
            position: absolute;
            bottom: -50%;  /* Ustawienie dymka nad suwakiem */
            left: 0;
            transform: translateX(20px);
            padding: 2px 4px;
            /* background-color: #333; */
            color: #000;
            font-size: 9px;
            border-radius: 5px;
            white-space: nowrap;
            pointer-events: none;
            opacity: 1; /* Dymek jest zawsze widoczny */
        }

    #zoomRange {
      -webkit-appearance: none;
      width: 100%;
      height: 8px;
      background: #aaa; /* Track color */
      outline: none;
      opacity: 0.7;
      transition: opacity .2s;
    }
    #zoomRange:hover {
      opacity: 1;
    }
    #zoomRange::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 16px;
      height: 16px;
      background: #000; /* Thumb color */
      cursor: pointer;
      border-radius: 50%;
    }
    #zoomRange::-moz-range-thumb {
      width: 16px;
      height: 16px;
      background: #000; /* Thumb color */
      cursor: pointer;
      border-radius: 50%;
    }
    #zoom-range-value, #saturation-range-value, #hue-range-value, #brightness-range-value 
    {
        font-size:10px;
        border:#5F6368 1px solid;
        padding:1px 3px;
        margin:0;
        width:40px;
        text-align:center;
        font-weight: 400;
    }

    .modal-backdrop.show.topmost {
        z-index: 1058;
        opacity: 0.7; 
    }
    
    #fullscreenModal {
        z-index: 1055;
    }
    
    #productModal {
        z-index: 1060;
    }
    
    
    
    
    

    
    /* Nova wersja suwaka */
    .custom-range {
        -webkit-appearance: none;
        padding:0;
        height: 8px;
        background: #aaa; /* Track color */
        outline: none;
        opacity: 0.7;
        transition: opacity .2s;
      }
      .custom-range:hover {
        opacity: 1;
      }
      .custom-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        appearance: none;
        width: 16px;
        height: 16px;
        background: #000; /* Thumb color */
        cursor: pointer;
        border-radius: 50%;
      }
      .custom-range::-moz-range-thumb {
        width: 16px;
        height: 16px;
        background: #000; /* Thumb color */
        cursor: pointer;
        border-radius: 50%;
      }


/* Slider produktów na stronie głównej */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}
/* Slider */
.slick-loading .slick-list
{
    background: #fff url('ajax-loader.gif') center center no-repeat;
}

/* Arrows */
.slick-prev,
.slick-next
{
    font-size: 0;
    line-height: 0;

    position: absolute;
    bottom: -9%;

    display: block;

    width: 50px;
    height: 50px;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);

    cursor: pointer;

    color: transparent;
    border: none;
    outline: none;
    background: transparent;

    z-index:1;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus
{
    color: transparent;
    outline: none;
    background: none;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before
{
    opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before
{
    opacity: .25;
}

.slick-prev:before,
.slick-next:before
{

    font-size: 20px;
    line-height: 1;

    opacity: .75;
    color: white;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-prev
{
    left: 50px;
}
[dir='rtl'] .slick-prev
{
    right: 50px;
    left: auto;
}
/*
.slick-prev:before
{
    content: '←';
}
[dir='rtl'] .slick-prev:before
{
     content: '→';
}
*/
.slick-next
{
    right: 50px;
}
[dir='rtl'] .slick-next
{
    right: auto;
    left: 50px;
}
/*
.slick-next:before
{
    content: '→';
}
[dir='rtl'] .slick-next:before
{
    content: '←';
}
*/
/* Dots */
.slick-dotted.slick-slider
{
    margin-bottom: 30px;
}

.slick-dots
{
    position: absolute;
    bottom: -25px;

    display: block;

    width: 100%;
    padding: 0;
    margin: 0;

    list-style: none;

    text-align: center;
}
.slick-dots li
{
    position: relative;

    display: inline-block;

    width: 20px;
    height: 20px;
    margin: 0 5px;
    padding: 0;

    cursor: pointer;
}
.slick-dots li button
{
    font-size: 0;
    line-height: 0;

    display: block;

    width: 20px;
    height: 20px;
    padding: 5px;

    cursor: pointer;

    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus
{
    outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before
{
    opacity: 1;
}
.slick-dots li button:before
{

    font-size: 6px;
    line-height: 20px;

    position: absolute;
    top: 0;
    left: 0;

    width: 20px;
    height: 20px;

    content: '•';
    text-align: center;

    opacity: .25;
    color: black;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.slick-dots li.slick-active button:before
{
    opacity: .75;
    color: black;
}
.product-carousel a {
	color:black;
	text-decoration:none;
}

.language-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#languageDropdown + .dropdown-menu {
    min-width: 170px;
}

.language-flag {
    width: 22px;
    height: auto;
    display: inline-block;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, .16);
}

.main-blog-slider-section {
    width: 100%;
    overflow: hidden;
}

.main-blog-slider {
    width: 100%;
}

.main-blog-slide {
    position: relative;
    height: 75vh;
    min-height: 560px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.main-blog-slide:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .35);
}

.main-blog-slide-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    padding: 80px 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    text-align: center;
}

.main-blog-slide-content h2 {
    max-width: 900px;
    margin: 0;
    color: #ffffff;
    font-size: 42px;
    line-height: 1.2;
}

.main-blog-slider .slick-prev,
.main-blog-slider .slick-next {
    top: 50%;
    bottom: auto;
}

@media (max-width: 768px) {
    .main-blog-slide {
        height: 75vh;
        min-height: 420px;
    }

    .main-blog-slide-content {
        padding: 64px 58px;
    }

    .main-blog-slide-content h2 {
        font-size: 30px;
    }
}

.fixed-top {
    background-color: #ffffff;
}

.footer-mobile-main {
    background-color: white;
    color: #000;
}


@media (max-width: 768px) {

    :root {
        --header-height: 80px;
        --footer-height: 60px;
        --available-height: calc(100vh - var(--header-height) - var(--footer-height));
    }
    .btn-transparent {
        margin-top:0px;
    }
    .footer-link {
        color:#000;
        font-size:11px;
        padding-top:15px;
    }
    .navbar-nav {
        display:block;
        align-items:left;
    }
    .footer-link a {
        color: #000;
    }

    .navbar-toggler {
        border:none;
    }
    
    .carousel-inner {
        width: 100vw;
        height: var(--available-height);
    }
    
    .carousel-item {
        width: 100vw;
        height: var(--available-height);
    }
    
    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .container-fluid {
        padding: 0;
    }

    .carousel-catption {
        position:relative;
        top: 50%;
        left: 50%;
        text-align: center;
    }

    .col-box {
        height:250px !important;
        margin-top:0px !important;
        margin-bottom:2px !important;
        border:0 !important;
    }

	.carousel-caption h1 {
		display:none;
	}
	.carousel-caption p {
        position:absolute;
        padding:0;
        margin-bottom:50px;
        left:35%;
        bottom:70%;
        text-align:center;
	}
	.btn-success {
		font-size:13px;
	}
	.btn-success:hover {
		font-size:13px; 
	}
    .slick-next {
        right: 0px;
    }
    .slick-prev {
        left: 0px;
    }
    .footer-desktop {
        /* display:none; */
        margin-bottom:25px;
    }
    .footer-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: black;
        color: white;
        justify-content: space-between;
        align-items: center;
        padding: 10px;
        z-index: 1000;
    }
    .footer-mobile .icon {
        font-size: 1.5em;
        cursor: pointer;
    }
    .footer-mobile .navbar-toggler {
        border: none;
        padding: 3px;
    }
    .footer-mobile .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
    .bottom-menu {
        display: none; 
        position: fixed;
        bottom: 0;
        width: 100%;
        background-color: black;
        color: white;
        padding: 10px;
        z-index: 1000;
    }
    .close-menu {
        position: absolute;
        top: 0;
        right: 10px;
        font-size: 2em;
        cursor: pointer;
        color: white;
    }
    .bottom-menu a {
        text-decoration: none;
        display: block;
        margin: 10px;
    }
    #image-container {
        margin-right:15px;
    }
    .params {
        padding-left:0px !important;
        padding-top:15px;
    }

    .params .col-12 {
        padding-left:15px !important;
        padding-right:15px !important;
    }
    #material {
        margin-bottom:15px;
    }
    
}
@media (min-width: 768px) {
	.carousel-caption h1 {
		font-size:3rem;
		padding-bottom:10%;
	}
	.carousel-caption p {
		padding-bottom:15%;
	}
	.btn-success {
		font-size:16px;
	}
	.btn-success:hover {
		font-size:16px; 
	}
    .slick-next {
        right: 50px;
    }
    .slick-prev {
        left: 50px;
    }
    .footer-desktop {
        display:block;
    }
    .footer-mobile {
        display:none;
    }
    .bottom-menu {
        display:none;
    }
}
@media (min-width: 992px) {
	.carousel-caption h1 {
		font-size:4rem;
		padding-bottom:20%;
	}
	.carousel-caption p {
		padding-bottom:15%;
	}
	.btn-success {
		font-size:18px;
	}
	.btn-success:hover {
		font-size:18px;
	}
}
@media (min-width: 1200px) {
	.carousel-caption h1 {
		font-size:4.5rem;
		padding-bottom:20%;
	}
	.carousel-caption p {
		padding-bottom:15%;
	}
	.btn-success {
		font-size:20px;
	}
	.btn-success:hover {
		font-size:20px;
	}
}
@media (min-width: 1400px) {
	.carousel-caption h1 {
		font-size:72px;
		padding-bottom:10%;
	}
	.carousel-caption p {
		padding-bottom:30%;
	}
	.btn-success {
		font-size:20px;
	}
	.btn-success:hover {
		font-size:20px;
	}
	.nav-link {
		font-size:15px;
		padding-left:40px!important;
	} 
}

@media (min-width: 1300px) {
    .container-wrapper {
        max-width:1280px;
    }
}

@media (min-width: 1600px) {
    .container-wrapper {
        max-width:1440px;
    }
}


@media (min-width: 1800px) {
    .container-wrapper {
        max-width:1660px;
    }
}

@media (max-width: 767.98px){

   #fullscreenModal{
    /* sterujesz tu wysokością preview */
    --cfg-topbar: 52px;
    --cfg-preview: 33vh;      /* <- zmieniasz na 20vh/30vh itd */
    --cfg-preview-min: 140px; /* <- minimalna wysokość, żeby nie było za mało */
    --cfg-preview-max: 320px; /* <- max na telefonach */
  }

  /* Modal fullscreen */
  #fullscreenModal{ padding:0 !important; }
  #fullscreenModal .modal-dialog{
    margin:0 !important;
    width:100% !important;
    max-width:100% !important;
    height:100vh !important;
  }
  #fullscreenModal .modal-content{
    height:100vh !important;
    border-radius:0 !important;
  }

  /* Scroll ma być w modalu, nie na stronie */
  body.modal-open{ overflow:hidden !important; }

  #fullscreenModal .modal-body{
    height:100vh !important;
    padding:0 !important;
    overflow-y:auto !important;
    -webkit-overflow-scrolling: touch;
    background:#fff;
  }

  /* usuń marginesy/padding wewnętrzne (m-5 / container-fluid) */
  #fullscreenModal .container-fluid,
  #fullscreenModal .container-fuid{
    margin:0 !important;
    padding:0 !important;
  }
  #fullscreenModal #load-modal-content{ margin:0 !important; width:100% !important; }
  #fullscreenModal #load-modal-content > .col-12{ padding:0 !important; }

  /* =========================
     1) FIXED TOPBAR (strzałka)
     ========================= */
  #fullscreenModal #load-modal-content > .col-12 > span[data-bs-dismiss="modal"]{
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: var(--cfg-topbar) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    padding: 0 14px !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,.12) !important;
  }

  /* =========================
     2) FIXED PREVIEW VIEWPORT
     ========================= */

  /* Kontener, w którym jest #canvasContainer (kolumna z preview) */
  #fullscreenModal #load-modal-content .col-12.col-md-8.px-0{
    position: fixed !important;
    top: var(--cfg-topbar) !important;
    left: 0 !important;
    right: 0 !important;

    /* najważniejsze: wysokość z clamp() */
    height: clamp(var(--cfg-preview-min), var(--cfg-preview), var(--cfg-preview-max)) !important;

    z-index: 9998 !important;
    background: #fff !important;
    border-bottom: 1px solid rgba(0,0,0,.12) !important;
    overflow: hidden !important;

    /* usuń ewentualne dziedziczone min-height */
    min-height: 0 !important;
  }

  /* canvasContainer musi wypełniać viewport i być wycentrowany */
#fullscreenModal #canvasContainer{
    position: absolute !important;
    overflow: hidden !important;
    background:#fff !important;
  }

  /* IMG/SVG/canvas mają się mieścić w oknie (pionowe paski też) */
  #fullscreenModal #canvasContainer img,
  #fullscreenModal #canvasContainer svg,
  #fullscreenModal #canvasContainer canvas{
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    display:block !important;
  }

  /* Jeśli gdzieś jest object-fit (img) – wymuś contain */
  #fullscreenModal #canvasContainer img{
    object-fit: contain !important;
    object-position: center center !important;
  }

  /* =========================
     3) CONTENT SCROLLS UNDER
     ========================= */

  /* Dajemy górny padding w scrollowanej treści,
     żeby pola zaczynały się POD fixed topbar+preview,
     ale przy scrollu będą "wchodziły pod spód" (bo preview jest nad nimi z-indexem). */
  #fullscreenModal #load-modal-content > .col-12 > .row{
    margin: 0 !important;

    /* klucz: odsuwamy treść o realną wysokość preview */
    padding-top: calc(
      var(--cfg-topbar) + clamp(var(--cfg-preview-min), var(--cfg-preview), var(--cfg-preview-max))
    ) !important;
  }

  /* Parametry – normalny padding */
  #fullscreenModal .params{
    padding: 14px 14px 24px 14px !important;
  }
}

/* KOSZYK – mobile: tabela -> karty */
@media (max-width: 768px) {
  table.table {
    width: 100%;
  }

  table.table thead {
    display: none;
  }

  table.table,
  table.table tbody,
  table.table tr,
  table.table td {
    display: block;
    width: 100%;
  }

  table.table tr {
    border: 1px solid rgba(0,0,0,.08);
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 12px;
    background: #fff;
  }

  /* wyłącz klasyczne „linie” tabeli */
  table.table td {
    border: 0 !important;
    padding: 8px 0 !important;
  }

  /* 1 kolumna (obraz) – wycentruj i ogranicz rozmiar */
  table.table td:first-child {
    text-align: center !important;
    padding-top: 0 !important;
  }

  table.table td:first-child img.img-fluid {
    max-width: 100% !important;
    height: auto !important;
    max-height: 180px !important;
    border-radius: 12px;
  }

  /* Nazwa produktu – bardziej „nagłówkowo” */
  table.table td:nth-child(2) p {
    margin: 6px 0 0 0;
    font-weight: 600;
    line-height: 1.2;
  }

  /* Parametry – ciaśniej */
  table.table td:nth-child(3) p {
    margin: 0;
  }
  table.table td:nth-child(3) small {
    display: inline-block;
    line-height: 1.25;
  }

  /* Ilość + wartość + usuń – ułóż w 1 wierszu (grid) */
  table.table td:nth-child(4),
  table.table td:nth-child(5),
  table.table td:nth-child(6) {
    display: inline-block;
    width: auto;
    vertical-align: middle;
    padding: 10px 0 0 0 !important;
  }

  table.table td:nth-child(4) { width: 40%; }
  table.table td:nth-child(5) { width: 45%; text-align: right; }
  table.table td:nth-child(6) { width: 15%; text-align: right; }

  /* input ilości – większy i czytelniejszy */
  table.table input.ilosc {
    width: 70px !important;
    height: 38px;
    border-radius: 10px;
  }

  /* ikona usuń – większy „tap target” */
  table.table .usun-produkt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }
}

/* PRELOADER OVERLAY */
#page-preloader {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.75); /* mleczna szyba */
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: opacity .4s ease, visibility .4s ease;
}

/* ukrycie preloadra */
#page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

/* ===== TWÓJ LOADER ===== */
.loader {
  width: 40px;
  aspect-ratio: 1;
  --c: linear-gradient(#000 0 0);
  --r1: radial-gradient(farthest-side at bottom,#000 93%,#0000);
  --r2: radial-gradient(farthest-side at top   ,#000 93%,#0000);
  background: 
    var(--c) ,var(--r1),var(--r2),
    var(--c) ,var(--r1),var(--r2),
    var(--c) ,var(--r1),var(--r2);
  background-repeat: no-repeat;
  animation: l2 1s infinite alternate;
}

@keyframes l2 {
  0%,25% {
    background-size: 8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
    background-position: 0 50%,0 calc(50% - 2px),0 calc(50% + 2px),
                         50% 50%,50% calc(50% - 2px),50% calc(50% + 2px),
                         100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
 }
 50% {
    background-size: 8px 100%,8px 4px,8px 4px,8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
    background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),
                         50% 50%,50% calc(50% - 2px),50% calc(50% + 2px),
                         100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
 }
 75% {
    background-size: 8px 100%,8px 4px,8px 4px,8px 100%,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
    background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),
                         50% 50%,50% calc(0% - 2px),50% calc(100% + 2px),
                         100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
 }
 95%,100% {
    background-size: 8px 100%,8px 4px, 8px 4px,
                     8px 100%,8px 4px,8px 4px,
                     8px 100%,8px 4px,8px 4px;
    background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),
                         50% 50%,50% calc(0% - 2px),50% calc(100% + 2px),
                         100% 50%,100% calc(0% - 2px),100% calc(100% + 2px);
 }
}

.reve-kids-collection-banner {
    width: 100%;
    margin-top: 70px;
    background: #c2dedc;
    overflow: hidden;
}

.reve-kids-collection-content {
    min-height: 470px;
}

.reve-kids-collection-copy {
    gap: 28px;
    padding: 64px 24px;
    text-align: center;
}

.reve-kids-collection-logo {
    width: 160px;
    max-width: 55vw;
    height: auto;
}

.reve-kids-collection-copy h2 {
    margin: 0;
    color: #ffffff;
    font-family: 'Sansita Swashed', serif;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
}

.reve-kids-collection-image {
    align-items: stretch;
}

.reve-kids-collection-image img {
    display: block;
    min-height: 470px;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

@media (max-width: 767.98px) {
    .reve-kids-collection-copy {
        min-height: 320px;
        padding: 48px 20px;
    }

    .reve-kids-collection-copy h2 {
        font-size: 32px;
    }

    .reve-kids-collection-image img {
        min-height: auto;
    }
}

/* Prywatna sekcja ReveKids: własne menu i kafle w istniejącej siatce. */
.revekids-menu .dropdown-menu {max-height: 70vh; overflow-y: auto;}
.revekids-catalog .revekids-tile {display: block; color: #000; text-decoration: none;}
.revekids-catalog .revekids-tile img {aspect-ratio: 1; object-fit: cover;}
.revekids-catalog .revekids-tile h3 {font-size: 18px;}
.revekids-catalog .revekids-types .btn {white-space: normal;}
@media (max-width: 767.98px) {
    .revekids-menu .dropdown-menu {max-width: 100%;}
    .revekids-menu .dropdown-item {white-space: normal;}
    .revekids-catalog .revekids-types .btn {flex: 1 1 45%; font-size: 12px; padding: 10px;}
}
