/*
 CSS: ostatni w kolejce
*/

/* szerokość przycisków */
.btn-min-width {
    min-width: 8em;
}

/* przyciski w formularzach, text wyrównany do lewej, symbol rozwinięcia od prawej */
.btn-input .btn.form-control {
  text-align: left;
}
.btn-input .btn.form-control .caret {
  position: absolute;
  right: 1em;
  top: 50%;
}

/* wyłączenie w menu elementów "disabled" */
.dropdown-menu > .disabled {
  cursor: not-allowed;
}
.dropdown-menu > .disabled > a {
  pointer-events: none;
}

/* miniatura towaru */
.product-thumbnail {
  max-width: 266px;
  width: 266px;
  height: auto;
  display: block;
}
/* obrazek towaru */
.product-image {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}
img.product-image {
  cursor: zoom-in;
}  
/* FIXME: obejście problemu z za dużymi obrazkami */
img.img-responsive {
  width: 50% !important;
  margin-left: 25% !important;
}

/* FIXME: obejście obejścia problemu z za dużymi obrazkami :-) */
#StartModalBanner img.img-responsive {
  width: 100% !important;
  margin-left: 0% !important;
}

/* checkbox */
input[type=checkbox] { display:none; }
input[type=checkbox] + label:before {
  font-family: FontAwesome;
  display: inline-block;
  padding-left: 15px;
}

/* combo box z wyborem cen */
.price-dropdown .price-item,
.price-dropdown .price-name,
.price-dropdown .price-price {
  display: block;
}

.price-dropdown .price-price {
  font-weight: bold;
  text-align: right;
}

.price-dropdown .price-name {
  font-style: italic;
}

.dropdown-toggle .price-item,
.dropdown-toggle .price-name,
.dropdown-toggle .price-price {
  display: inline;
}

.dropdown-toggle .price-price {
  font-weight: bold;
  position: absolute;
  right: 2.3em;
}

.dropdown-toggle .price-name {
  font-style: italic;
}

/* combo box z wyborem punktów dostaw */
.delivery-point-dropdown .delivery-point-item,
.delivery-point-dropdown .delivery-point-name,
.delivery-point-dropdown .delivery-point-details {
  display: block;
}

.delivery-point-dropdown .delivery-point-details {
  font-weight: bold;
  text-align: right;
}

.delivery-point-dropdown .delivery-point-name {
  font-style: italic;
}

.dropdown-toggle .delivery-point-item,
.dropdown-toggle .delivery-point-name,
.dropdown-toggle .delivery-point-details {
  display: inline;
}

.dropdown-toggle .delivery-point-details {
  display: none;
}

.dropdown-toggle .delivery-point-name {
  font-style: italic;
}

/* podglad produktow, wersja w tabelce bez obrazkow */
table .price.cart .dec {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin:0;
  color:#6a6a6a;
  line-height:1;
  background:#fff;
  width:1.8em;
  cursor:pointer;
  border:1px solid #c4c7c8;
  border-right:none;

  /* dla zgodności z bootstrap */
  height:34px;
  border-radius: 4px 0px 0px 4px;
}
table .price.cart .inc {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin: 0;
  color:#6a6a6a;
  line-height:1;
  background:#fff;

  width:1.8em;
  cursor:pointer;
  border:1px solid #c4c7c8;
  border-left:none;

  /* dla zgodności z bootstrap */
  height:34px;
  border-radius: 0px 4px 4px 0px;
}
table .price.cart .input {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin: 0;
  background:#fff;
  width:3em;
  border:1px solid #c4c7c8;
  border-right:none;
  border-left:none;

  /* dla zgodności z bootstrap */
  height: 34px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
}
table .price.cart .inc:hover {
  background:#F1F1F1
}
table .price.cart .dec:hover {
  background:#F1F1F1
}

/* podglad produktow, wersja z boxami */
div.product-wrapper {
  padding: 0;
  border-bottom: 1px solid #eceef3;
  min-height: 200px;
}
div.product-wrapper:hover {
  box-shadow: 1px 1px 10px #bbb;
}
div.product-wrapper .icon {
  display: inline-block;
  overflow: hidden;
  text-align: center;
  cursor: pointer;
  width: 25%;
  min-height: 200px;
}
div.product-wrapper .desc {
  display: inline-block;
  width: 35%;
  font-size: 15px;
  padding: 0px 20px 5px;
}
div.product-wrapper .desc .top {
  position: absolute;
  top: 0;
  width: 35%;
  padding: 5px 0px 0px;
}
div.product-wrapper .desc .bottom {
  padding: 5px 0px 0px;
}
div.product-wrapper .desc .availability {
  /* ? */
}
div.product-wrapper .desc .name {
  display: inline-block;
  margin: 0;
}
div.product-wrapper .desc .name strong {
  font-weight: bold;
  font-size: 1.1em;
  line-height: 1;
}
div.product-wrapper .desc .detail {
  font-weight: bold;
}
div.product-wrapper .features {
  display: inline-block;
  width: 15%;
  font-size: 15px;
  padding: 0px 20px 5px;
  vertical-align: bottom;
  text-align: right;
}
div.product-wrapper .features .name {
  font-size: 80%;
  font-weight: 900;
}
div.product-wrapper .features .value {
  font-weight: normal;
}
div.product-wrapper .price {
  bottom: 0;
  position: absolute;
  right: 0;
  top: 0;
  vertical-align: top;
  width: 25%;
  display: block;
  font-size: 20px;
  left: unset;
  background: #eeeeee none repeat scroll 0 0;
}
div.product-wrapper .price .amount {
  display: block;
  font-size: 1.6em;
  padding-bottom: 10px;

  font-weight: 600;
  line-height: 1;
}
div.product-wrapper .price .income {
  display: block;
  font-size: 0.5em;
}
div.product-wrapper .price .cart {
  bottom: 0px;
  display: block;
  left: 20px;
  position: absolute;
  padding-bottom: 10px;
}
div.product-wrapper .price .cart .bottom {
  display: inline-block;                  /* edytor +/- obok przycisku */
  padding-bottom: 10px;
}
div.product-wrapper .price .cart .bottom .dec {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin:0;
  color:#6a6a6a;
  line-height:1;
  background:#fff;
  width:30px;
  cursor:pointer;
  border:1px solid #c4c7c8;
  border-right:none;

  /* dla zgodności z bootstrap */
  height:34px;
  border-radius: 4px 0px 0px 4px;
}
div.product-wrapper .price .cart .bottom .inc {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin: 0;
  color:#6a6a6a;
  line-height:1;
  background:#fff;

  width:30px;
  cursor:pointer;
  border:1px solid #c4c7c8;
  border-left:none;

  /* dla zgodności z bootstrap */
  height:34px;
  border-radius: 0px 4px 4px 0px;
}
div.product-wrapper .price .cart .bottom .input {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin: 0;
  background:#fff;
  width:3em;
  border:1px solid #c4c7c8;
  border-right:none;
  border-left:none;

  /* dla zgodności z bootstrap */
  height: 34px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
}
div.product-wrapper .price .cart .bottom .inc:hover {
  background:#F1F1F1
}
div.product-wrapper .price .cart .bottom .dec:hover {
  background:#F1F1F1
}


/* cenowka na produkcie */
div.product .price {
  display: block;
  font-size: 20px;
  left: unset;
}
div.product .price .amount {
  display: block;
  font-size: 1.6em;
  padding-bottom: 10px;
  line-height: 1;
}
div.product .price .income {
  display: block;
  font-size: 0.5em;
}
div.product .price .cart {
  bottom: 0px;
  display: block;
  left: 20px;
  padding-bottom: 10px;
}
div.product .price .cart .bottom {
  display: inline-block;                  /* edytor +/- obok przycisku */
  padding-bottom: 10px;
}
div.product .price .cart .bottom .dec {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin:0;
  color:#6a6a6a;
  line-height:1;
  background:#fff;
  width:30px;
  cursor:pointer;
  border:1px solid #c4c7c8;
  border-right:none;

  /* dla zgodności z bootstrap */
  height:34px;
  border-radius: 4px 0px 0px 4px;
}
div.product .price .cart .bottom .inc {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin: 0;
  color:#6a6a6a;
  line-height:1;
  background:#fff;

  width:30px;
  cursor:pointer;
  border:1px solid #c4c7c8;
  border-left:none;

  /* dla zgodności z bootstrap */
  height:34px;
  border-radius: 0px 4px 4px 0px;
}
div.product .price .cart .bottom .input {
  text-align:center;
  border:none;
  vertical-align:middle;
  padding:0;
  margin: 0;
  background:#fff;
  width:3em;
  border:1px solid #c4c7c8;
  border-right:none;
  border-left:none;

  /* dla zgodności z bootstrap */
  height: 34px;
  font-size: 14px;
  line-height: 1.42857143;
  color: #555;
}
div.product .price .cart .bottom .inc:hover {
  background:#F1F1F1
}
div.product .price .cart .bottom .dec:hover {
  background:#F1F1F1
}
  

/* product-flags */

  
.product-flags {
  position: relative;
  left: 0;
  width: 100%;
  display: inline-block;
}

.product-flags span {
    display: block;
    font-family: rajdhani;
    font-size: 0.85em;
    font-weight: bold;
    margin: 5px 0px 5px 0px;
    text-align: center;
    text-transform: uppercase;
    vertical-align: top;
    padding: 5px;
    position: relative;
    z-index: 1;
}
.product-flags .promotion {
  color: #fff;
  background: #4356b2;
}
.product-flags .outlet {
  color: #fff;
  background: #b24343;
}
.product-flags .new {
  color: #fff;
  background: #7CB243;
}


.product-flags span {
  float: left;
  margin-right: 0.2vw;
  border-radius: 0.2vw;
}

  /* na liście produktów ... */
.product-wrapper .product-flags {
  width: unset;
  position: absolute;
  left: 15px
}
.product-wrapper .product-flags span {
  float: unset;
}
  /* ... na li�cie produkt�w */


@media only screen and (max-width : 900px) {

  .product-flags span {
    float: left;
    margin-right: 1vw;
    border-radius: 1vw;
  }
}


/* product-flags */

  table.product-features {
    width:100%;
  }
  
  table.product-features th, table.product-features td {
    width:50%;
  }
  
  table.product-features th, table.product-features td {
    border: none;
    vertical-align: middle;
    padding: 0.2vw 1vw;
    -webkit-transition: all .3s ease-out;
    /*font-size:0.8vw;*/
  }
  
  table.product-features tr:nth-child(2n) {
      background: #f8f8f8;
  }
  
  table.product-features tr {
    transition: all .3s ease-out;
  }
  table.product-features tr:hover {
    transition: all .3s ease-out;
    background: #d3d3d3;
  }

  /* nowy widok karty produktu */

  .product-dodatowe {
    margin-top: 1.5vw;
    margin-bottom: 0.5vw;
    width: 100%;
  }

  .product-dodatkowe-title {
    margin-bottom: 1vw;
    border-bottom: 1px solid silver;

    font-weight: 600;
    font-size: 1vw;
    line-height: 1.16;
  }

  .product-separator {
    /*padding-top:1vw;*/
    /*margin-top:1vw;*/
    margin-bottom:1vw;
    border-top:1px solid silver;
  }

  .dodatkowe-produkt {
    margin-top: 1.5vw;
    margin-bottom: 0.5vw;
    width: 100%;
  }

  .product-file-link {
    /* empty */
  }

  a.product-file-link:before {
    font-family: FontAwesome;
    content: "\f016";
    margin-right:0.5vw;
    float: left;
  }

  .product-box-link {
    border-right: 1px solid #dfdfdf;
    margin-top: 1vw !important;
    margin-bottom: 1vw !important;
    padding: 1vw;
  }


  .product-box-link:hover {
	  -webkit-box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.06);
	  -moz-box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.06);
	  box-shadow: 0px 0px 8px 3px rgba(0,0,0,0.06);
  }

  .product-box-link:nth-child(4n+0) {
	  border-right: none!important;
  }

  .product-box-link .akc-name-li {
    font-weight:normal;
  }

  .product-box-link .akc-name {
    font-weight: 600;
    text-transform: uppercase;
  }

  .product-box-link .akc-img {
    text-align: center;
  }

  /* */


  /* specyficzna korekta marginesów i paddingu dla nagłówka widoku "Produkty" */
  .breadcrumb {
    padding: 0px 0px;
    margin-bottom: 10px;
  }
/* 
  #DGPHeader.breadcrumb   {
    padding: 0px 0px;
    margin-bottom: 10px;
  }
*/

  
  #Search-config-tree {
    height: 200px!important;
    width: 100%!important;
  }

@media only screen and (max-width : 887px) {
	.product-wrapper .icon {
    width: 100%!important;
    padding-top: 15px!important;
  }
    
  .product-wrapper .price {
    position: unset!important;
    padding-left: 5%!important;
    width: 100%!important;
    background: #fff!important;
  }
    
  .product-wrapper .price .cart {
    position: unset!important;
  }
    
  .product-wrapper .desc {
    width: 100%!important;
  }
    
  .product-wrapper .features {
    width: 100%!important;
    padding: 15px 20px 15px!important;
    text-align: left!important;
  }
    
  .product-wrapper .desc .top {
    position: unset!important;
    top: 0;
    width: 100%!important;
    padding: 15px 0px 15px!important;
  }

  .product-wrapper .desc .availability {
    position: unset!important;
  }
}

/**/

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.splide__slide {
  opacity: 0.6;
}

.splide__slide.is-active {
  opacity: 1;
}

.splide__pagination__page.is-active {
  background:grey!important;
}


#main-carousel, #thumbnail-carousel {
	display:flex;
	height:fit-content;
}

#thumbnail-carousel {
	padding-left:6rem;
	padding-right:6rem;
  margin-bottom: 6rem;
}
.splide__track--nav>.splide__list>.splide__slide.is-active {
    border: unset!important;
}

#thumbnail-carousel .splide__slide img {   
    border: 1px solid silver;
}

.gallery-shadow-gallery {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
  transition: all 0.5s;
  opacity:0;
  visibility: hidden;
  display: none;
}

.gallery-shadow-gallery-visible {
	transition: all 0.5s;
	opacity:1!important;
	visibility:visible!important;
	z-index: 1000!important;
}

.gallery-content {
  position: absolute;
  width:40%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.gallery-close-button {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 20px;
  color: #000;
  z-index:2;
}


.show-product-gallery img, .show-product-gallery {
	cursor:zoom-in;
}


@media only screen and (max-width : 800px) {

  .gallery-content {
    width: 100%;
    top: 50%;
    left: 0;
    transform: translate(0%, -50%);
    padding: 0;
  }  
  
  .gallery-close-button {
    position: absolute;
    top: 3vw;
    right: 6vw;
    cursor: pointer;
    font-size: 20px;
    color: #000;
    z-index: 2;
  }
}

/**/

.cart-order-total {
  font-size: 22px;
  text-align: right;
}

.cart-order-total .cart-order-total-text {
  font-weight: 600;
}

.cart-order-total .cart-order-total-value {
}

.cart-order-total .cart-order-total-info {
  color: #b3c85c;
  font-weight: 600;
}

/**/

div.box-list-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-row-gap: 1vw;
  grid-column-gap: 1vw;
}

div.box-list-container div {
  display: grid;
  align-items: start;
}

div.box-list-container div {
  display: grid;
  align-items: start;
}

@media only screen and (max-width : 900px) {
	
  div.box-list-container {
    grid-row-gap: 4vw;
    grid-column-gap: 4vw;
  }
  
  .gridspan3, .gridspan4 {
    grid-column-end: span 6;
  }
  
  .font-size-6 {
    font-size: calc( (((20vw/1.618)/1.618)/1.618)/1.618 );
  }
  
  .font-size-4 {
    font-size: calc( ((20vw/1.618)/1.618)/1.618 );
  }
}

/**/

.novelties {
  background: #eee;
  overflow: hidden;
}

.novelties img {
  width: 100%;
}

.novelties .name {
  color: black;
  padding: 2vw 2vw 2vw 2vw;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap:.5vw;
}

.novelties .btns {
  display: flex;
  gap:.5vw;
}

.novelties .btns button{
  font-size: calc( ((((8vw/1.618)/1.618)/1.618)/1.618)/1.618 );
}

.novelties .name i {
  padding: 0.5vw 0vw;
}

/**/

.font-size-6 {
  font-size: calc( ((((8vw/1.618)/1.618)/1.618)/1.618)/1.618 );
}

.font-size-4 {
  font-size: calc( ((8vw/1.618)/1.618)/1.618 );
}

.font-h {
  font-weight: 500!important;
  font-weight: 800!important;
  line-height: 1.1;
}

/**/

.gridspan4 {
  grid-column-end: span 4;
}
