/*
 Theme Name:   Reprizo Child Theme
 Theme URI:    https://reprizo.axiomthemes.com/
 Description:  Reprizo Child Theme
 Author:       AxiomThemes
 Author URI:   https://axiomthemes.com/
 Template:     reprizo
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  reprizo
*/


/* =Theme customization starts here
------------------------------------------------------------ */
.sc_layouts_title.fixed_height .sc_layouts_title_content{
	    padding: 25px;
	background: #ffffffe3;
  /*  backdrop-filter: blur(40px);*/


}
a.n, a.n:hover{
	text-decoration: none !important;
	color:#AFAFAF !important;
	
}
.menu-item-3372{
	display:none
}
.product-gallery-slider{
    background:#242424;
}
.gallery-swiper {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.gallery-swiper.swiper-initialized {
    opacity: 1;
    transform: translateX(0);
}



.cky-notice-des{
	max-height:150px !important;
	overflow-y: auto
}
.cky-notice-btn-wrapper .cky-btn{
	padding: 7px;
}
.products
{
    overflow: none !important;
}

.wpcf7-list-item-label{
	font-size: 10px !important;
	max-width: 500px;
}
.recaptcha
{
	margin-top:2em;
	transform: scale(0.9);
}

.breadcrumbs{
	text-transform: uppercase !important;
}
.breadcrumbs .breadcrumbs_delimiter:before {
    content: '|';
}
.sc_layouts_title.with_tint.with_content:before {
	display: none !important;
}

.yith-wcwl-add-button {
    display: none !important;
}
.product_meta{
	display: none !important;
}
.product-summary h1{
	font-weight: 700;
    margin-top: 0 !important;
    font-size: 1.9em;
    line-height: 1.3em
  
}
.onsale {
	display: none !important;
}

.custom-divider-image {
    text-align: left;
    margin-top: auto;
}
.product-summary .custom-content .sc_button
{
    margin-top: 1rem;
}

.custom-divider-image .custom-separator {
    width: 100%;
    height: 1px;
    background-color: #ccc; 
    margin-bottom: 10px;
    margin-top: 2.5em;
}


.custom-divider-image img {
    max-width: 100%;
    height: auto;
	width: 175px;
}
.flex-control-nav.flex-control-thumbs
{
    display: none !important;
}
.summary.entry-summary{
    width: 30% !important;
    display: none !important;
}
.woocommerce.sidebar_hide div.product div.images, .woocommerce-page.sidebar_hide div.product div.images{
    width: 100% !important;
   
}
body.archive .page_content_wrap{
    padding: 60px 0 !important
}
body.single-product .page_content_wrap {
    padding: 0 !important;
}
body.single-product .elementor-element-cc32a17
{
    display: none !important;
}
body.single-product .sc_layouts_item.elementor-element.elementor-element-1649305.scheme_dddd.sc_fly_static.elementor-widget.elementor-widget-trx_sc_layouts_title.trx_addons_parallax_layers_inited.trx_addons_parallax_blocks_inited{
    display: none !important
}

body.single-product .content_wrap {
    width: 100% !important;
}
.woocommerce div.product div.images .flex-viewport{
    border: none !important;
}
.woocommerce div.product div.images{
    margin-bottom: 0 !important;
}
.woocommerce div.product div.images .flex-viewport{
    margin-bottom: 0 !important;
}

.custom-product-wrapper {
    display: grid;
    grid-template-columns: 70% 30%;
    gap: 0;
    align-items: stretch !important;
    position: relative;
    
}

.custom-product-gallery img {
    width: 100%;
    height: auto;
}

.product-summary {
    padding: 10% 10% 5% 10%;
    display: flex;
    flex-direction: column;
    height: 100%; 
    box-sizing: border-box;
}

.custom-product-summary .woocommerce-product-details__short-description {
    margin-top: 20px;
}

.woocommerce-product-gallery__trigger{
    display: none !important;
}


.custom-product-wrapper .custom-content {
    margin: auto 0;
}


.woocommerce ul.products li.product a.compare{
    display:none !important ;
}

.custom-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.custom-product-item,
.custom-widget-wrapper {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.custom-widget-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;

}
.widget.woocommerce.widget_product_search{
background-color : var(--theme-color-extra_bg_color);
margin-top: -5.15rem !important;

}
.widget.woocommerce.widget_product_search .widgettitle{
    color: #fff;
    margin-top: 0 !important;

}
.woocommerce_list.icon-th-list
{
    display: none !important;
    opacity:0 !important
}
/* Ukryj podkategorie domyślnie */
.widget_product_categories ul.children {
    display: none;
    margin-left: 15px;
}

/* Pokaż podkategorie, gdy najedziesz na główną kategorię */
.widget_product_categories li.cat-item:hover > ul.children {
    display: block;
    position: absolute;
    right: 0;
    z-index:2;
    background: var(--theme-color-extra_bg_color);
    padding: 18px 18px 18px 28px
    
}
.widget_product_categories li.cat-item:hover > ul.children li a
{
    color: #fff ;
    line-height: 1.8em !important
}  

.widget_product_categories li.cat-item:hover > ul.children li a:hover
{
   color: var(--theme-color-text_link);
}  
.product-categories>li{
    margin-bottom: 0 !important;
    padding-bottom: 1.1em
}

.widget_product_categories .category-arrow {
    color: #aaa;
    margin-left: 5px;
    font-weight:bold;
}


/* (opcjonalnie) styl delikatnego efektu */
.widget_product_categories li.cat-item ul.children {
    transition: all 0.3s ease-in-out;
}

h2 {
    margin-top: 0;
    font-size: 1.875rem !important;
        line-height: 1.3 !important;
}
.widget.woocommerce 
{
    padding: 3rem;
}
.widget.woocommerce.widget_product_categories{
background-color: #f8f7f6;
margin-top: 2rem;
height: 100%;
}
.woocommerce.widget-area
{
    position: relative !important;
    height: 100% !important;
     box-sizing: border-box !important; 
     display: flex;
     flex-direction: column;
}

li.product.widget-product-item{
    position: relative !important;
     box-sizing: border-box; 
}
.product-categories{
    padding-left:calc(1.1em + 13px) !important;
}
.widget.widget_product_search input[type="text"]{
    background-color: var(--theme-color-extra_bg_hover);
    color: var(--theme-color-extra_dark);
}
.widget.widget_product_search button[type="submit"]{
    background-color: var(--theme-color-extra_dark);
}
.list_products.shop_mode_thumbs{
    padding-top: 5px;
}
.product-images img{
   width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center; 
  min-height: 400px;
}


//======== SLIDER ======

.product-gallery-slider .swiper {
    cursor: -webkit-grab;  
    cursor: -moz-grab;     
    cursor: grab;      
    
}

.product-gallery-slider .swiper:active {
    cursor: -webkit-grabbing;
    cursor: -moz-grabbing;
    cursor: grabbing;
}

.product-gallery-slider .swiper-wrapper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: 600px;
  width: auto !important; 
}

.product-gallery-slider .swiper-wrapper .swiper-slide img{

  width: 100%;
  height: 100%;
  object-fit: cover !important;   
  object-position: center center; 
}
.product-gallery-static {
  display: flex;
}

.product-gallery-static.single-image .static-image {
  flex: 1 1 100%;
}

.product-gallery-static.two-images .static-image {
  flex: 1 1 50%;
}

.product-gallery-static img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


li.product {
    width: 100% !important
}
ul.products{
    display: grid !important;
    grid-template-columns: repeat(3,1fr)
}

.product.widget-product-item.widget-align-right
{
    grid-column: 3;  
  grid-row: 1;    
}





@media (min-width: 2200px) {
      .swiper-wrapper .swiper-slide {
  
     height: 40vh;
     min-height: 800px;
    }
}


.widget_product_categories h2{
    
    margin-top: 0 !important;

}

@media (max-width: 1024px) {
    .custom-product-wrapper{
         grid-template-columns: 50% 50%;
    }
    ul.products {
         grid-template-columns: repeat(2,1fr)
    }
    .product.widget-product-item.widget-align-right
{
    grid-column: 2;  
  grid-row: 1;    
}
   
    .woocommerce-ordering{
        margin-right: 0 !important;
    }
    
   .widget.widget.woocommerce.widget_product_categories{
    padding: 3rem !important;
   }
   .widget.woocommerce.widget_product_search{

margin-top: 0 !important;

}

}

@media (max-width: 768px) {

.custom-product-wrapper{
         grid-template-columns: 100%;
    }
    .swiper-wrapper .swiper-slide {
  
     height: 440px ;
    }
	
}
@media (max-width: 600px) {  
    .product.widget-product-item{
        grid-column: 1 / -1 !important;
    }
    .product.widget-product-item
{
    grid-column: 1;  
  grid-row: 1;    
}
 .swiper-wrapper .swiper-slide {
  
     height: 370px ;
    }
    .product-gallery-static.two-images .static-image {
  flex: 1 1 100%;
  
}
.product-gallery-static.two-images .static-image img {
  width: 100vw !important;
  
}

}


/* Jedna kolumna: widgety jeden pod drugim */
@media (max-width: 479px) {
     ul.products{
         grid-template-columns: 1fr;
        grid-template-rows: auto ;
     }
      .swiper-wrapper .swiper-slide {
  
     height: 300px
    }
    .product-gallery-slider .swiper-wrapper .swiper-slide{
        height:250px !important
    }
}

.woocommerce-ordering.trx_addons_woocommerce_search_compatibility_inited{
    margin-right: calc(33% + 1rem)
   opacity: 0;
}
.woocommerce-loop-product__title {
    font-size: 1rem !important
}
