/*
 Theme Name:   GGSolutions.pl Child
 Theme URI:    https://ggsolutions.pl
 Description:  Default GGSolutions.pl child theme
 Author:       GGSolutions
 Author URI:   https://ggsolutions.pl
 Template:     ggsolutions.pl
 Version:      1.0
*/

html, body {
	overflow-x: hidden;
}

img.is-logo-image {
    width: 100px !important;
    height: 100% !important;
}

.home.full-width-content .inside-article {
	background: none;
}

/* Custom header */
.woo-search {
    margin-left: 30px;
    margin-right: 30px;
		flex-grow: 1;
}

.header-widget {
	order: 10;
	line-height: 1em;
	font-size: 20px;
}

.header-widget p {
	margin: 0;
}

@media (max-width: 768px) {
	.navigation-branding {
		margin-left: auto;
		margin-right: auto;
	}
	.woocommerce ul.products[class*=columns-] li.product {
		width: 100%;
	}
	.woo-search {
		margin-right: 0;
	}
	.inside-header {
		flex-direction: row;
	}
	.woocommerce a.wqoecf_enquiry_button {
		font-size: 13px!important;
	}
	.dgwt-wcas-search-wrapp {
    width: 100%;
}
}

/* AJAX search bar in header styles */
.dgwt-wcas-has-img .dgwt-wcas-suggestion.dgwt-wcas-suggestion-product {
    padding: 0;
}

.dgwt-wcas-ico-magnifier {
    height: 50%;
}

/* General styles */
.woocommerce ul.products li.product, .woocommerce ul.products {
    margin-bottom: 0;
}

/*--- SHOP AND ARCHIVE ---*/
.woocommerce ul.products li.product.sales-flash-overlay .onsale {
	left: 0;
	right: auto;
}

.woocommerce-ordering:after {
	right: 25px;
	top: 8px;
}

/* Remove add to cart styling */
.woocommerce ul.products li.product a.button {
	padding: 5px 0;
	color: inherit;
	background-color: #ffffff;
	text-transform: uppercase;
}

/* Transform add to cart and pricing on hover */
@media (min-width: 769px) {
	.inside-navigation {
    box-shadow: 0px 3px 30px #00000029;
}
	li.menu-item.menu-item-type-custom.menu-item-object-custom.menu-item-457293 a {
		line-height: 28px
	}
	.navigation-branding img, .navigation.sticky-navigation-transition .navigation-branding img {
		width: 100%;
		height: 80px!important;
	}
	.circle-button {
    position: relative;
    padding: 50px !important;
    border-radius: 100%;
    width: fit-content;
		justify-content: center;
}
	#primary-menu li.menu-item a{
	display:flex;
	flex-direction:column;
	text-align: center;
}
#primary-menu span.menu-text, .menu-text {
	padding: 0px!important;
}

#primary-menu span.gp-icon svg {
	height: 30px;
	width: 30px;
}
svg.bi.bi-box-arrow-right {
	vertical-align: middle;
	height: 30px;
	width: 30px;
}
	
	.woocommerce-product-gallery {
		margin-right: 10%;
	}
	.woocommerce ul.products li.product .button {
		margin-top: 1.5em;
	}
	.woocommerce ul.products li.product a.button {
		transform: translateY(0);
		width: 100%;
		opacity: 0;
		transition: all 0.4s;
	}

	.woocommerce ul.products li.product:hover a.button,
	.woocommerce ul.products li.product:hover .price {
		transform: translateY(calc(-100% - 10px));
		opacity: 1;
	}

	.woocommerce ul.products li.product .price {
		opacity: 1;
		transition: all 0.4s;
	}

	.woocommerce ul.products li.product:hover .price {
		opacity: 0;
		transform: translateY(calc(-100% - 10px));
	}
}

/** cena **/
.product .summary .price ins .amount {
    color: #ff0000 !important;
}
.woocommerce ul.products li.product .price ins {
	color: #ff0000;
}

.button.single_add_to_cart_button:before, .add_to_cart_button:before {
   	font-family: "Font Awesome 5 Free"; 
		font-weight: 900; 
		content: "\f291";
    margin-right: 0.5em;
}

a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
	border-color: #E3931E!important;
  box-shadow: 0 2px 5px 0 rgb(213 217 217 / 50%)!important;
	border-radius: 0px 0px 10px 10px;
	background-color: #FFA41C!important;
	color: #ffffff!important;
	font-size: 14px!important;
  font-weight: 700!important;

}
a.button.wp-element-button.product_type_simple {
	border-color: #000000!important;
  box-shadow: 0 2px 5px 0 rgb(213 217 217 / 50%)!important;
	border-radius: 0px 0px 10px 10px;
	background-color: #000000!important;
	color: #ffffff!important;
	font-size: 14px!important;
  font-weight: 700!important;
}
	.woocommerce ul.products li.product.woocommerce-text-align-left .button {
		text-align: center;
	}
.woocommerce div.product .stock {
	font-weight: 900;
}
.woocommerce div.product .stock:before {
	content:'Dostępność: ';
	font-weight: 500;
	color: #3a3a3a;
}

@media (max-width: 768px) {
	.gb-button-wrapper-ecbf4ecc {
		order: 3;
	}
	.mobile-header-navigation.has-menu-bar-items .mobile-header-logo {
		margin-left: auto;
		margin-right: auto;
	}
	.main-navigation.sticky-navigation-transition .site-logo img, .site-logo.mobile-header-logo img, .navigation-branding img {
		width: 80px!important;
		height: auto!important;
	}
	.main-navigation .main-nav span:nth-child(2) {
		margin-left: 10px;
	}
	.add-to-cart-panel form.cart, .woocommerce div.product form.cart {
		flex-direction: row;
		flex-wrap: nowrap;
	}
		.woocommerce ul.products li.product a.button {
		margin-top: 0;
		padding: 5px 0;
		width: 100%;
	}
}

.woocommerce ul.products li.product a {
	padding: 10px;
	border: 1px solid #f0f0f0;
	transition: all 0.5s ease;
}

 .woocommerce ul.products li.product a:hover {
		border-color: var(--accent);
	box-shadow: 5px 5px 10px 0 rgb(0 0 0 / 10%); }

@media (min-width: 769px) and (max-width: 1024px) {
	.dgwt-wcas-search-wrapp {
		width: fit-content;
	}

	.menu-text {
		display: none;
	}
}
@media (min-width: 769px) {
    .inside-wc-product-image {
        width: 100%;
    }
    .woocommerce ul.products li.product a img {
        height: 250px; 
        object-fit: contain;
    }
	.woocommerce ul.products li.product h2 {
    line-height: 2.5ex;
  	height: 7.5ex;
  	overflow: hidden;
}
	.woocommerce-ordering select {
		max-width: 100%;
	}
	.wc-columns-container .products,
.woocommerce .related ul.products,
.woocommerce .up-sells ul.products {
	grid-gap: 25px;
}
	.dgwt-wcas-search-wrapp {
		max-width: 600px;
	}
}
.dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {
	background: unset!important;
}
/* Display menu item contents vertically center */

.woocommerce ul.products li.product a {
	color: #333333;
	word-wrap: break-word;
}

.separate-containers .inside-left-sidebar {
	padding: 50px 10px;
	background-color: #ffffff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	    justify-content: center;
			text-transform: uppercase;
			border-bottom: 1px solid #eee;
			
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	border: none;
	background-color: #ffffff;
}

div#tab-additional_information h2:first-child {
	display: none;
}

.woocommerce div.product .product_title {
	font-size: 20px;
	font-weight: 600;
	margin-bottom: 10px;
}
.related.products h2 {
		font-size: 20px;
		font-weight: 600;
		text-align: center;
		text-transform: uppercase;
    border-bottom: 1px solid #eee;
}

ul.flex-direction-nav {
    position: absolute;
    top: 30%;

    width: 100%;
    left: 0;
    margin: 0;
    padding: 0px;
    list-style: none;}

li.flex-nav-prev {float: left;}
li.flex-nav-next {float: right;}
a.flex-next {visibility:hidden;}
a.flex-prev {visibility:hidden;}

a.flex-next::after {
	visibility:visible;content: '\f054';
	font-family: 'Font Awesome 5 Free';
	margin-right: 10px;
	font-size: 20px;   
	font-weight: bold;
}

a.flex-prev::before {
    visibility:visible;
    content: '\f053';
	font-family: 'Font Awesome 5 Free';   
	margin-left: 10px;
	font-size: 20px;
	font-weight: bold;
}

ul.flex-direction-nav li a {
	color: #ccc;
}

ul.flex-direction-nav li a:hover {
	text-decoration: none;
}



/* VERSION 2 - Horizontal Scrolling Thumbnails */

.woocommerce div.product div.images .flex-control-thumbs li {
    padding: 5px 5px 0 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 25%;
    flex: 1 0 25%;
}

.woocommerce div.product div.images .flex-control-thumbs {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: auto;
}

.obrazek-homepage.gb-container a:hover img {
    transform:scale(0.97);
    box-shadow: 0 0 0 4px rgb(0 0 0 / 3%);
}

.obrazek-homepage a img{
    transition: all 0.5s ease;
}

.obrazek-homepage h2.gb-headline {
	position: relative;
}

.owl-item small.woocommerce-price-suffix {
	display: none;
}

.owl-item span.woocommerce-Price-amount.amount::before {
	content:' z VAT';
	font-size: 75%;
	padding-left: 5px;
}

.woocommerce-privacy-policy-text, .woocommerce form .form-row label.checkbox {
	font-size: 14px;
	text-align: justify;
}

	.main-navigation .main-nav>ul{
		justify-content: flex-end;
	}

a {
	font-weight: 500;
}


/* Hide toggle on desktop */
@media(min-width: 769px) {
    #side-toggle,
    #side-toggle+label {
        display: none !important;
    }
}

@media(max-width: 768px) {
    /*-- mobile styles -- */

    /* move sidebar above content */
    .left-sidebar .site-content {
        display: flex;
        flex-direction: column-reverse;
    }

    /* switch lables on off toggle */
    #side-toggle:checked+label span:nth-child(1),
    #side-toggle:not(:checked)+label span:nth-child(2) {
        display: none;
    }
    /* remove all content after label on check */
    #side-toggle:not(:checked)+label~* {
        display: none;
    }
    /* hide input checkbox */
    #side-toggle {
        position: absolute;
        visibility: hidden;
        opacity: 0;
    }
    /* style label to look like a button */
    #side-toggle+label {
        display: block;
        padding: 10px;
        border: 1px solid;
        line-height: 1;
        text-align: center;
        border-radius: 4px;
        background-color: #fff;
    }
}

.sidebar .widget {
	  margin: 40px 0px;
		padding: 0 10px;
}

.ywp-product-image img {
	width: 100px;
	height: auto;
}

.ff_t_c {
	font-size: 12px;
	text-align: justify;
}

img.montonio-payment-method-icon.montonio-pis-icon {
	display: none;
}

button.gb-button-3a9842e8.gb-block-is-current, button.gb-button-29577630.gb-block-is-current {
	border-bottom: 1px solid #f7f9fa !important;
    margin-bottom: -1px !important;
}
}