/*
Theme Name:   		Unicase Child Theme
Theme URI:    		https://themeforest.net/item/unicase-electronics-store-woocommerce-theme/13626672/
Description:  		This is a blank child theme for Unicase
Author:       		Transvelo
Author URI:			http://transvelo.com
Template:       	unicase
Template Version: 	1.6.10
Version:      		1.6.10
License:      		GNU General Public License v2 or later 
License URI:  		http://www.gnu.org/licenses/gpl-2.0.html
Tags:         		black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
Text Domain:  		unicase-child

Unicase is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of

Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/

FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */

    .single-product .entry-summary .price-container .prices .price {
      margin-bottom: 0;
      line-height: 40px;
      font-size: 52px; 

}
/* Zmniejszenie groszy w cenie WooCommerce */
.woocommerce-Price-amount .grosze {
    font-size: 0.6em; /* 40% mniejsze */
    vertical-align: super;
    margin-left: 1px;
    color: #666; /* Możesz zmienić kolor jeśli chcesz */
}

.archive ul.products li.product .price,
.woocommerce-shop ul.products li.product .price,
.woocommerce-page ul.products li.product .price,
.woocommerce ul.products li.product .price {
    font-size: 2em;
    text-align: center ;
    display: block;
    margin-top: 10px;
    margin-bottom: 10px;
}

.size-woocommerce_thumbnail {
    max-height: 240.48px; 
    height: 240.48px;
    width: auto; 
    margin: 0 auto;
    object-fit: scale-down;
}
.single-product .entry-summary .price-container {
    border-bottom: 0px solid #f2f2f2;
    border-top: 1px solid #f2f2f2;
    margin-bottom: 0;
    padding: 26px 0;
    display: table;
    width: 100%;
}
li.product a.add_to_cart_button, li.product a.added_to_cart, li.product .product-item > a.button, .product a.add_to_cart_button, .product a.added_to_cart, .product-item {
    text-align: center;
    border: solid 1px #dddddd;
    padding: 10px;
}

li.product a.add_to_cart_button:hover, li.product a.added_to_cart:hover, li.product .product-item > a.button:hover, .product a.add_to_cart_button:hover, .product a.added_to_cart:hover, .product .product-item > a.button:hover {
    background-color: #f39c12;
    border-color: #f39c12;
}

/*===================================================================================*/
/*	Product Item
/*===================================================================================*/
li.product,
.product {
  position: relative;
  margin-bottom: 35px; }
  li.product .wp-post-image,
  .product .wp-post-image {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto; }
  li.product h3,
  li.product h2,
  li.product .woocommerce-loop-product__title,
  .product h3,
  .product h2,
  .product .woocommerce-loop-product__title {
      letter-spacing: 0.25px;
      min-height: 3.15em;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #555;
    margin-top: 20px; }
  li.product .star-rating-wrapper,
  .product .star-rating-wrapper {
    width: 100%; }
    li.product .star-rating-wrapper .star-rating,
    .product .star-rating-wrapper .star-rating {
      margin: 10px 0;
      letter-spacing: 5px;
      width: 90px;
      font-size: 12px; }
      li.product .star-rating-wrapper .star-rating:before,
      .product .star-rating-wrapper .star-rating:before {
        color: #feb21f; }
  li.product .price,
  .product .price {
    display: block;
    font-size: 2.066em;
    line-height: 2.066em;
    margin-bottom: 0.533em;
    font-weight: 700; }
    li.product .price del,
    .product .price del {
      color: #ddd;
      font-size: 0.866em;
      display: inline-block;
      line-height: 1.380em;
      font-weight: 400; }
      li.product .price del span,
      .product .price del span {
        display: inline-block;
        line-height: 1.380em;
        text-decoration: line-through; }
  li.product a.add_to_cart_button, li.product a.added_to_cart, li.product .product-item > a.button,
  .product a.add_to_cart_button,
  .product a.added_to_cart,

.product-item {
    text-align: center;
    border: solid 1px #dddddd;
    padding: 10px;
}
.product_type_simple{
     width: 100%; 
    
}
.add_to_cart_button{
   width: 100%; 
    
    
}

.size-woocommerce_thumbnail{
    max-height: 240.48px;
    height: 240.48px;
    width: auto;
    margin: 0 auto;
    object-fit: scale-down;
}
  .product .product-item > a.button {
      letter-spacing: 0.5px;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 8px 17px;
    line-height: 18px;
    transition: all 0.2s linear;
    background-color: #FBA825;
    border: 2px solid #ddd;
    display: inline-block;
    float: left;
    text-align: center; }




    li.product a.add_to_cart_button:hover, li.product a.added_to_cart:hover, li.product .product-item > a.button:hover,
    .product a.add_to_cart_button:hover,
    .product a.added_to_cart:hover,
    .product .product-item > a.button:hover {
      /* color: #fff; */
      }
  li.product a.add_to_cart_button.added,
  .product a.add_to_cart_button.added {
    display: none; }


.woocommerce-loop-product__title {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Maksymalnie 3 linie */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.5em; /* Stała wysokość 3 linii (przy font-size ~16px) */
    line-height: 1.5em;
}


li.product a.add_to_cart_button, li.product a.added_to_cart, li.product .product-item > a.button, .product a.add_to_cart_button, .product a.added_to_cart, .product .product-item > a.button {
    color: #fff;
    background-color: #ffaf31;
    font-weight: bold;
}
/*===================================================================================*/
/*	PAGE SINGLE PRODUCT
/*===================================================================================*/
.single-product .single-product-row {
  margin-left: -15px;
  margin-right: -15px;
  padding-bottom: 50px; }
  .single-product .single-product-row:before, .single-product .single-product-row:after {
    content: " ";
    display: table; }
  .single-product .single-product-row:after {
    clear: both; }

.single-product .gallery-holder {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px; }
  @media (min-width: 1200px) {
    .single-product .style-2 .gallery-holder {
      float: left;
      width: 50%; } }
  @media (min-width: 992px) {
    .single-product .style-2 .gallery-holder {
      float: left;
      width: 50%; } }
  @media (min-width: 768px) {
    .single-product .style-2 .gallery-holder {
      float: left;
      width: 50%; } }
  .single-product .style-2 .gallery-holder .images .woocommerce-main-image {
    display: block; }
    .single-product .style-2 .gallery-holder .images .woocommerce-main-image > img {
      display: block;
      max-width: 100%;
      height: auto;
      margin: auto; }
  .single-product .style-2 .gallery-holder .images .thumbnails {
    margin: 11px 0 0;
    position: relative; }
    .single-product .style-2 .gallery-holder .images .thumbnails .owl-item a {
      display: inline-block;
      width: 100%;
      border: 2px solid #f2f2f2; }
      .single-product .style-2 .gallery-holder .images .thumbnails .owl-item a > img {
        display: block;
        max-width: 100%;
        height: auto; }
    .single-product .style-2 .gallery-holder .images .thumbnails .owl-controls {
      margin-top: 0px;
      text-align: left;
      display: block;
      position: absolute;
      top: 0;
      width: 100%;
      height: 100%; }
      .single-product .style-2 .gallery-holder .images .thumbnails .owl-controls .owl-nav {
        position: relative;
        height: 100%; }
        .single-product .gallery-holder .images .thumbnails .owl-controls .owl-nav .owl-prev {
          left: 0;
          border-top-right-radius: 3px;
          border-bottom-right-radius: 3px;
          border-top-left-radius: 0px;
          border-bottom-left-radius: 0px; }
        .single-product .style-2 .gallery-holder .images .thumbnails .owl-controls .owl-nav .owl-next {
          right: 0;
          border-top-left-radius: 3px;
          border-bottom-left-radius: 3px;
          border-top-right-radius: 0px;
          border-bottom-right-radius: 0px; }
        .single-product .style-2 .gallery-holder .images .thumbnails .owl-controls .owl-nav .owl-prev,
        .single-product .style-2 .gallery-holder .images .thumbnails .owl-controls .owl-nav .owl-next {
          background: #d6d6d6;
          margin: 0;
          text-align: center;
          line-height: 0.5;
          top: 35%;
          /* 29%;*/
          opacity: 0;
          color: #fff;
          width: 14px;
          height: 20px;
          position: absolute;
          z-index: 3;
          transition: all 0.2s linear 0s; }
          .single-product .style-2 .gallery-holder .images .thumbnails .owl-controls .owl-nav .owl-prev i,
          .single-product .style-2 .gallery-holder .images .thumbnails .owl-controls .owl-nav .owl-next i {
            display: inline-block;
            text-align: center;
            vertical-align: middle;
            font-size: 14px;
            width: auto;
            height: auto;
            margin-left: 0; }
    .single-product .style-2 .gallery-holder .images .thumbnails .owl-stage-outer {
      z-index: 2; }
    .single-product .style-2 .gallery-holder .images .thumbnails:hover .owl-controls .owl-nav .owl-prev,
    .single-product .style-2 .gallery-holder .images .thumbnails:hover .owl-controls .owl-nav .owl-next, .single-product .gallery-holder .images .thumbnails:focus .owl-controls .owl-nav .owl-prev,
    .single-product .gallery-holder .images .thumbnails:focus .owl-controls .owl-nav .owl-next {
      opacity: 1;
      transition: all 0.2s linear 0s; }
    .single-product .gallery-holder .images .thumbnails ul.yith_magnifier_gallery li.yith_magnifier_thumbnail {
      margin-right: 10px; }
      .single-product .gallery-holder .images .thumbnails ul.yith_magnifier_gallery li.yith_magnifier_thumbnail:last-child {
        margin-right: 0; }
      .single-product .gallery-holder .images .thumbnails ul.yith_magnifier_gallery li.yith_magnifier_thumbnail a.yith_magnifier_thumbnail {
        display: inline-block;
        width: 100%;
        border: 2px solid #f2f2f2; }

.single-product .style-2 .content-holder {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px; }
  @media (min-width: 1200px) {
    .single-product .style-2 .content-holder {
      float: left;
      width: 50%; } }
  @media (min-width: 992px) {
    .single-product .style-2 .content-holder {
      float: left;
      width: 50%; } }
  @media (min-width: 768px) {
    .single-product .style-2 .content-holder {
      float: left;
      width: 50%; } }

.single-product .style-2 .woocommerce-product-gallery {
  position: relative; }
  .single-product .style-2 .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    display: block;
    height: 2em;
    width: 2em;
    border-radius: 3px;
    z-index: 99;
    text-align: center; }
  .single-product .style-2 .woocommerce-product-gallery img {
    margin: 0; }
  .single-product .style-2 .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 1em; }
  .single-product .style-2 .woocommerce-product-gallery .flex-control-thumbs {
    margin: 0;
    padding: 0;
    display: flex;
    flex-flow: row wrap; }
    .single-product .style-2 .woocommerce-product-gallery .flex-control-thumbs:before, .single-product .woocommerce-product-gallery .flex-control-thumbs:after {
      content: " ";
      display: table; }
    .single-product .style-2 .woocommerce-product-gallery .flex-control-thumbs:after {
      clear: both; }
    .single-product .style-2 .woocommerce-product-gallery .flex-control-thumbs li {
      list-style: none;
      cursor: pointer;
      margin: 0 10px 10px 0; }
      .single-product .woocommerce-product-gallery .flex-control-thumbs li img {
        border: 1px solid #eaeaea;
        opacity: .5;
        transition: all, ease, 0.2s; }
        .single-product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
          opacity: 1; }
      .single-product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
        opacity: 1; }
  .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
    width: 45.8100558661%;
    float: left;
    margin-right: 8.3798882677%; }
    .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
      margin-right: 0; }
  .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
    width: 27.7467411458%;
    float: left;
    margin-right: 8.3798882677%; }
    .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
      margin-right: 0; }
  .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
    flex: 0 1 calc(25% - 8px); }
    .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
      margin-right: 0; }
  .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
    flex: 0 1 calc(20% - 8px); }
    .single-product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
      margin-right: 0; }

.info-dostawa {
    border-top: 1px solid #f2f2f2;
    width:100%;
    float:left;
}

.info-dostawa-pozycja {
    letter-spacing: 0.5px;
    font-family: 'Roboto', sans-serif;
   width:100%;
    float:left;
}
.info-dostawa-pozycja ul {
   display: flex; 
   flex-wrap: wrap;
   line-height: 1.8;
    margin: 9px;
    flex-direction: column;
}
.info-dostawa-pozycja ul li {
  align-items: flex-start;
    display: flex;
    flex-basis: 50%;
    justify-content: flex-start;
    list-style: none;
    padding: 0 0px 10px 0;
    font-size: 12px; 
    color:#000;
    flex-wrap: wrap;
}


.info-o-stanie {
   width:100%;
    float:left;
    background-color: #F5F5F5 !important;
    border: solid 1px #ddd !important;
}

.info-o-stanie-wyjasnienie {
    font-family: 'Roboto', sans-serif;
   width:100%;
    float:left;
    padding: 5px;
    background-color: #fff !important;
    border: solid 1px #ddd !important;
}
.info-o-stanie-wyjasnienie ul {
   display: flex; 
   flex-wrap: wrap;
   line-height: 1.3;
    margin: 9px;
}
.info-o-stanie-wyjasnienie ul li {
  align-items: flex-start;
    display: flex;
    flex-basis: 50%;
    justify-content: flex-start;
    list-style: none;
    padding: 0 10px 5px 0;
    font-size: 12px; 
}
.info-o-stanie-wyjasnienie ul li::before {
  background-color: #FBA825;
    border-radius: 3px;
    content: '';
    flex-shrink: 0;
    height: 3px;
    width: 3px;
    margin-top: 7px;
    margin-right: 7px;  
}
.info-o-stanie-wyjasnienie span {
 font-size: 14px; 
 letter-spacing: 0.5px;
}
.info-o-stanie h4 {
      margin: 8px 10px;  
    letter-spacing: 0.5px;
    font-size: 14px;
    font-weight: 600;
}


.stock-container .label {
    display: none !important;
}

.wariant-img {
    margin: 2px;
    float: left;
    border-radius: 2px;
    padding: 8px;
    overflow: hidden;
    justify-content: center;
    align-items: center;
    transition-property: box-shadow;
    max-width: 20%;
    min-height: 40px;
    box-shadow: inset 0 0 0 1px #aaa;
    box-shadow: inset 0 0 0 1px var(--m-color-border, #aaa);
    -webkit-tap-highlight-color: #ffffff00;
}



.single-product .entry-summary .stock-container {
    padding: 0px 0;
}


#odliczanie_czasu {
    padding: 24px 0 0 0;
}

.single-product .entry-summary form.cart {
    
    padding: 8px 0 30px 0;
    
}

.single-product .entry-summary form.cart .quantity .qty {
    width: 49%;
    padding: 0px 0px 0px 0px;
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 15px;
    line-height: 19px;
}
.single-product .entry-summary form.cart .quantity {
    display: table-cell;
    float: left;
    margin: 0px 35px 8px 1px;
    width: 120px;
}

.single-product .entry-summary form.cart .single_add_to_cart_button, .single-product .entry-summary p.cart .single_add_to_cart_button {
    width: 100%;
    letter-spacing: 0.5px;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    padding: 8px 17px;
    line-height: 18px;
    transition: all 0.2s linear;
    background-color: #FBA825;
    border: 2px solid #ddd;
    padding: 9px 13px;
}

.single_add_to_cart_button {
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 28px !important;
    background-color: #ff5a00 !important;
}

/* Ogólna sekcja produktu */
.woocommerce-Tabs-panel .section {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 2em;
  gap: 20px;
}

/* Każda kolumna (50% szerokości) */
.woocommerce-Tabs-panel .item.item-6 {
  flex: 1 1 48%;
  box-sizing: border-box;
    width: 100%;
}

/* Obszar tekstowy */
.woocommerce-Tabs-panel .text-item {
  padding: 10px;
  font-size: 16px;
  line-height: 1.6;
}

/* Obszar graficzny */
.woocommerce-Tabs-panel .image-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 5px;
}

/* Listy uporządkowane i nieuporządkowane */
.woocommerce-Tabs-panel .text-item ol,
.woocommerce-Tabs-panel .text-item ul {
  margin-left: 1.5em;
  padding-left: 0.5em;
}

.woocommerce-Tabs-panel .text-item li {
  margin-bottom: 0.5em;
}

/* Wyrównanie tytułów wewnątrz sekcji */
.woocommerce-Tabs-panel .text-item h2,
.woocommerce-Tabs-panel .text-item h3 {
  font-size: 1.3em;
  margin-bottom: 0.5em;
  color: #333;
}

/* RWD – jedna kolumna na telefonach */
@media screen and (max-width: 768px) {
  .woocommerce-Tabs-panel .item.item-6 {
    flex: 1 1 100%;
    width: 100% !important;
  }
}


.woocommerce-Tabs-panel .section:nth-child(even) {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 14px;
}



@media screen and (max-width: 768px) {
  .floating-add-to-cart {
    position: fixed;
    bottom: 64px;
    left: 0;
    right: 0;
    background-color: #ff6600;
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    font-weight: bold;
    z-index: 100;
    border: 1px solid #d45500;
    box-shadow: 0 -2px 6px rgba(0,0,0,0.15);
    text-decoration: none;
    font-family: inherit;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
  }

  .floating-add-to-cart:hover {
    background-color: #e65c00;
  }

  .single_add_to_cart_button {
    display: none !important;
  }
}


#scrollUp, .top-cart-row .dropdown-cart .dropdown-trigger-cart:hover .total-price-basket .cart-icon, .header-5 .navbar, .header-5 .navbar .nav-bg-class, .show-theme-options:hover, .show-theme-options:focus, .navbar .navbar-nav .dropdown-menu .current-menu-item.active > a {
 background-color: transparent;
  background-size: 400% 400%;
  animation: gradientWave 30s ease infinite;
}
/* Styl dla paska menu z animacją tła */
#site-navigation {
  background: linear-gradient(
    90deg,
    #ff6600,
    #ffa407,
    #ff8800,  
    #ffae0b,
    #ff8800,
    #ff6600  
    
  );
  background-size: 400% 400%;
  animation: gradientWave 30s ease infinite;
}

/* Kluczowe klatki animacji */
@keyframes gradientWave {
  0% {
    background-position: 0% 50%;
  }
  25% {
    background-position: 50% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}


@media (max-width: 782px) {
    .wc-block-cart .wc-block-cart__submit-container--sticky {
        bottom: 60px !important;
    }
}
