/*
Theme Name: GresOutlet
Text Domain: gresoutlet
Version: 1.45
Description: Projekt stworzony dla GresOutlet.pl
Author URI: https://beinteractive.pl/
*/

:root {
	--primary: #47bb3a;	
	  scroll-behavior: smooth;
	--yith-wcan-filters_colors_accent: #47bb3a;
}

/*
.bg-primary-400 {
  background-color: var(--primary);
}

.border-primary-400 {
  border-color: var(--primary);
}
*/

#content a:not(.btn) {
	color: var(--primary);
}

#content a:hover {
	text-decoration: underline;
}

.map-marker {
	position: absolute;
}
.map-marker2 {
	width: 25px;
	height: 25px;
	position: absolute;
	background-image:url('img/marker.svg');
	background-repeat: no-repeat;
	background-color:#fff;
	/*
	background-color: #fff;
	transform: rotate(45deg);
	  box-shadow:
    0 0 0 5px #000 inset,
    0 0 0 10px #47bb3a inset;*/
}

@media(min-width:960px){
	.map-marker2:before{
		content: ' ';
		position: absolute;
		top:-3px;
		left:-4px;
		right:3px;
		bottom:3px;
		width: 32px;
		height: 32px;
		border:1px solid #ddd;
	}
}

.section-alt {
	background-color: #f9fafb;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
}

#post_content * + p{
	margin-top: 1.5rem;
}

#post_content * + ul{
	margin-top: 0.5rem;
}

#post_content h2 {
	font-size: 2rem;
	margin-top: 3rem;
	line-height: 2.5rem;
}

#post_content ul {
	list-style: initial;
	list-style-position: inside;
}

.btn {
	padding: 5px 10px;
	background-color: var(--primary);
	color: #fff;
	display: inline-block;
}

.partners_logo {
	border: 1px solid #eee;
	padding: 10px 15px;
}




#content .pagination-link {
	color: #000!important;
}

#site_nav a, #site_alt_nav a {
	transition: color .15s, background-color .15s;
}

#site_nav a {
	padding:10px 14px;
}

#site_nav a:hover {
	background-color: var(--primary);
	color: #fff;
}

#site_alt_nav a {
	transition: color 0.2s, background-color 0.2;
	padding: 14px 14px;
	margin: 0px 0;
}
#site_alt_nav a:hover {
	background-color: var(--primary);
	color: #fff;
}

#footer a {
	transition: initial;

}

#footer a:hover {
	color: var(--primary);
}

.section-alt {
	background: url('img/bg-alt.png');
}

.bg-indigo-50 {
	background-color:#eee;
}

#header_photo {
	background: url(img/header.jpg);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 50vh;
    position: relative;
}

@media (max-width: 460px) {
  #header_photo {
    /* background: url(img/header_mobile.jpg); */
    display: none;
  }
}
#header_photo:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: gray; */
    content: " ";
    opacity: 0.7;
    background: linear-gradient(0deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 15%, rgba(0,0,0,0.2) 90%, rgba(0,0,0,0.6) 100%);
}

.border-deep-purple-accent-400 {
	border-color: var(--primary)  ;
}

.btn-primary {
	background-color: var(--primary);
	color:#fff!important;	
}

.bg-indigo-500 {
	background-color: var(--primary);
}










.woocommerce-product-gallery__image {
	height: 400px;
}

.flex-viewport {
	width: 100%;
}

.woocommerce-product-gallery {
  position: relative;
  margin-bottom: 3em;
  width: 100%!important;
}

.woocommerce-product-gallery figure {
margin: 0
}
 
.woocommerce-product-gallery .woocommerce-product-gallery__image:nth-child(n+2) {
width: 25%;
display: inline-block
}
 
.woocommerce-product-gallery .flex-control-thumbs li {
list-style: none;
cursor: pointer
}
 
.woocommerce-product-gallery .flex-control-thumbs img {
opacity: .5
}
 
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover {
opacity: 1
}
 
.woocommerce-product-gallery img {
display: block
}
 
.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
width: 33.3333%
}
 
.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
width: 25%
}
 
.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
width: 20%
}
 
.woocommerce-product-gallery__trigger {
position: absolute;
top: 1em;
right: 1em;
z-index: 99;
}
 
a.woocommerce-product-gallery__trigger {
text-decoration: none;
}
 
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
position: absolute;
top: .875em;
right: .875em;
display: block;
height: 2em;
width: 2em;
border-radius: 3px;
z-index: 99;
text-align: center;
text-indent: -999px;
overflow: hidden;
}
 
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
background-color: #169fda;
color: #ffffff;
}
 
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:hover {
background-color: #1781ae;
border-color: #1781ae;
color: #ffffff;
}
 
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger:before {
font: normal normal normal 1em/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
display: block;
content: "\f00e";
line-height: 2;
text-indent: 0;
}


.woocommerce-page div.product .woocommerce-product-gallery figure.woocommerce-product-gallery__wrapper {
  margin-left: auto;
  margin-right: auto;
}

/*
.flex-control-nav {
	display: flex;
	width: 100%;
}
.flex-control-nav li {
	width: 25%;
	padding-bottom:66%;
	height:0px;
	background-color: #ddd;
}
*/


.woocommerce-product-gallery img {
	width: 100%;
}

.flex-control-nav {
	margin-top: 30px;
	display: flex;
}

.flex-control-nav li {
	float: initial;
	width: 25%!important;
}

.flex-control-nav li img {
	border: 1px solid #000;
}



.flex-control-thumbs {
	display: flex;
	margin: 25px -1%;
	flex-wrap: wrap;
}

.flex-control-thumbs li {
	display: flex;
	padding: 1%;
}

.flex-control-thumbs li img {
	object-fit: contain;
    border: 1px solid #ddd;
    padding: 5px;
}




h4.filter-title {
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 10px;
}

#content .filter-content a {
	color: #434343;
	margin-left: 7px;
}



input[type=checkbox] {
  position: relative;
  width: 16px;
  height: 16px;
  color: #000;
  border: 1px solid #555;
  border-radius: 3px;
  appearance: none;
  outline: 0;
  cursor: pointer;
  transition: background 175ms cubic-bezier(0.1, 0.1, 0.25, 1);
  padding: 0px;
}
input[type=checkbox]::before {
    position: absolute;
    content: "";
    display: block;
    top: 0px;
    left: 5px;
    width: 6px;
    height: 11px;
    border-style: solid;
    border-color: #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}
input[type=checkbox]:checked {
  color: #fff;
  border-color: var(--primary);
  background: var(--primary);
}
input[type=checkbox]:checked::before {
  opacity: 1;
}
input[type=checkbox]:checked ~ label::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.wpcf7 label::before {
  position: absolute;
  content: attr(data-content);
  color: #ddd;
  clip-path: polygon(0 0, 0 0, 0% 100%, 0 100%);
  text-decoration: line-through;
  text-decoration-thickness: 3px;
  text-decoration-color: #000;
  transition: clip-path 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.yith-wcan-active-filters .active-filter .active-filter-label {
	border: 1px solid var(--primary);
}

.yith-wcan-active-filters .active-filter .active-filter-label:after {
	background-color: var(--primary);
}

.yith-wcan-filters {
	background-color: #f5f5f5;
	padding: 15px;
}

.filter-items .filter-item {
    font-size: 14px;
}


.products {
	margin: 0 -15px;
	flex-wrap: wrap;
}

.products .product {
	width: 33.333%!important;
	padding: 15px!important;
  margin: 0!important;
}

@media (max-width: 768px) {
  .products .product {
    width: 50%!important;
  }
}

@media (max-width: 460px) {
  .products .product {
    width: 100%!important;
  }
}

.product > a.woocommerce-loop-product__link {
	padding-bottom: 66%;
    position: relative;
    display: block;
    height: 0;
}

.products .product img {
  position: absolute;
  border: 1px solid #ddd;
  padding: 5px;
  bottom: 0;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.woocommerce-product-gallery img {
    object-fit: contain;
    top: 0;
    width: 100%;
    height: 100%;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #eee;
}




      [data-popper-placement^='top']  {
        bottom: 6px!important;
      }

      [data-popper-placement^='bottom']  {
        top: 6px!important;
      }

      [data-popper-placement^='left']  {
        right: 6px!important;
      }

      [data-popper-placement^='right']  {
        left: 6px!important;
      }


.close {
  position: absolute;
  right: 24px;
  top: 24px;
  width: 24px;
  height: 24px;
  opacity: 0.3;
  right: 15px;
  top: 20px;
  outline: 0px!important;
}
.close:hover {
  opacity: 1;
}
.close:before, .close:after {
  position: absolute;
  left: 15px;
  content: ' ';
  height: 24px;
  width: 2px;
  background-color: #333;
  top:0;
}
.close:before {
  transform: rotate(45deg);
}
.close:after {
  transform: rotate(-45deg);
}

.wpcf7 form .wpcf7-response-output {
    margin: 0;
}

/*
.woocommerce {
  display: flex;
  flex-wrap: wrap;
}
*/

.woocommerce-MyAccount-navigation {
    background-color: #f5f5f5;
    padding: 20px;
    width: 200px!important;
    border: 1px solid #e6e6e6;
    align-self: baseline;
}

.woocommerce-MyAccount-content {
    padding: 0 20px;
    width: calc(100% - 200px);
}

@media (max-width: 767px) {
  .woocommerce-MyAccount-navigation {
    width: 100%!important;
    margin-bottom: 30px;
  }

  .woocommerce-MyAccount-content {
    padding: 0px;
    width: 100%;
  }
}


.woocommerce-orders-table {
  width: 100%;
}

.woocommerce-EditAccountForm fieldset {
  margin-top: 20px;
}

.woocommerce-Button.button {
  margin-top: 15px;
}

.form-row {
  font-size: 13px;
  color: rgba(82, 82, 82);
  margin-bottom: 10px;
}

.woocommerce-Address {
    margin-top: 30px;
}

.woocommerce-MyAccount-navigation-link--downloads {
  display: none;
}

td, th {
    border: 1px solid hsl(0deg 0% 80%);
    padding: 5px 15px;
}

.woocommerce-cart-form,
.shop_table {
  width: 100%;
}

.cart-collaterals {
  margin-top: 30px;
}

.cart_totals .shop_table {
    width: 360px;
    margin-bottom: 15px;
}

.cart_totals p {
  margin-bottom: 10px;
}

.cart_totals  > * {
  width: 100%;
  text-align: right;
  margin-right:0px!important;
}

.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
}


.qty_plytki .qty {
  width: 100%!important;
}


@media (min-width: 769px) {
    .product-remove {
        width: 30px;
        padding: 0px 5px 0 10px;
    }
}

#coupon_code {
    width: 140px;
}






.panel div {
  max-height: 0px;
  height: auto;
  margin: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  cursor: pointer;
}

.panel input { display: none; }

.panel input[type="radio"]:checked ~ div {
  max-height: 500px;
  transition: max-height 1s ease-in-out;
}

.panel input[type="radio"]:checked ~ div {
  cursor: normal;
}


:is(.woocommerce-account) .full_section .woocommerce {
    display: flex;
    flex-wrap: wrap;
}

.yith-wcan-filters-opener i {
  display: none!important;
}
.yith-wcan-filters-opener {
	width: 100%;
}
.mobileMenu {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    z-index: 555;
    margin-left: 0px!important;
}

.mobileMenu > li {
    display: flex;
}

.mobileMenu > li > a {
    padding: 15px;
}

.mobileMenu svg {
    position: fixed;
    display: block!important;
    top: 60px;
    right: 60px;
    width: 1em;
    height: 1em;
    font-size: 36px;
}

.woocommerce-products-header .term-description {
  margin-bottom: 30px;
}

.front_category {
  width: 33%;
  padding: 15px;
}


@media (max-width: 768px) {
  .front_category {
    width: 50%;
  }

}

@media (max-width: 460px) {
  .front_category {
    width: 100%;
  }
}

.front_category_img:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background-color: gray; */
    content: " ";
    opacity: 0.7;
    background: linear-gradient(
0deg
, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.8) 35%, rgba(0,0,0,0.8) 65%, rgba(0,0,0,0.5) 100%);
}

#frontpage_sub_logo{
  position: absolute;
  bottom: -26px;
  left: 0;
  right: 0!important;
  width: 100%;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: -0.3px;
  background-color: #666;
  color: #fff;
  border-radius: 3px;
  text-align: center;
  padding: 3px 0px;
  font-weight: normal;
}


@media (max-width: 460px) {
  #frontpage_sub_logo {
    font-size: 9px;
  }
}

@media (max-width: 340px) {
  #frontpage_sub_logo {
    display: none;
  }

  #logo {
    position: unset!important;
  }

}

#logo {
  width:300px; 
  max-width: 55vw;
}




form.checkout.woocommerce-checkout {
	display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#order_review_heading {
  display: none;
}

#order_review {
  width: 100%;
}

.woocommerce .col2-set .col-1, .woocommerce-page .col2-set .col-1,
.woocommerce .col2-set .col-2, .woocommerce-page .col2-set .col-2 {
  float: none; 
  width: 100%!important;
}



.quantity {
  position: relative;
  height: 42px;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button
{
  -webkit-appearance: none;
  margin: 0;
}

input[type=number]
{
  -moz-appearance: textfield;
}

.quantity input {
  width: 100px;
  height: 42px;
  line-height: 1.65;
  float: left;
  display: block;
  padding: 0;
  margin: 0;
  padding-left: 20px;
  border: 1px solid rgba(212, 212, 212, var(--tw-border-opacity)) !important;
}

.quantity input:focus {
  outline: 0;
}

.quantity-nav {
  float: left;
  position: relative;
  height: 42px;
}

.quantity-button {
  position: relative;
  cursor: pointer;
  border-left: 1px solid rgba(212, 212, 212, var(--tw-border-opacity)) !important;
  width: 20px;
  text-align: center;
  color: #333;
  font-size: 13px;
  font-family: "Trebuchet MS", Helvetica, sans-serif !important;
  line-height: 1.7;
  -webkit-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.quantity-button.quantity-up {
  position: absolute;
  height: 50%;
  top: 0;
  border-bottom: 1px solid rgba(212, 212, 212, var(--tw-border-opacity)) !important;
}

.quantity-button.quantity-down {
  position: absolute;
  bottom: 0px;
  height: 50%;
}

input.w-full {
  width: 100%;
}

.screen-reader-text {
  display: none;
}

.single-product form.cart {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
  flex-wrap: wrap;
}

.single-product .top_price {
  font-size: 20px;
  font-weight: bold;
}

/*
.single-product form.cart > * {
  margin-bottom: 10px;
}
*/
/*
.price-table-row.calculated-price {
  display: none!important;
}
*/
/*
#price_calculator {
  width: 50%;
  margin-bottom: 20px;
}
*/
/*
.price-table-row.area-input td {
  display: block;
  padding: 0;
}
#area_needed {
  text-align: left!important;
  width: 97%!important;
  display: flex;
}
#price_calculator input, #price_calculator span {
  float: left;
}
*/

.long_cat_desc h3 {
  font-size: 1.35em;
  margin-top: 20px;
  margin-bottom: 5px;
}


.long_cat_desc h4 {
  font-size: 1.2em;
  margin-top: 20px;
  margin-bottom: 5px;
}

.onsale {
  display: none;
}

.payment_method_sgitsoa_gateway.wc_payment_method {
    font-weight: bold;
    background-color: var(--primary);
    padding: 20px;
    margin: 10px 0;
    color: #fff;
}

.payment_method_sgitsoa_gateway label, .payment_method_sgitsoa_gateway input {
	 display:none; 
}

input.shipping_method { width: 25px; }

.woocommerce-NoticeGroup {
    width: 100%;
}


.woocommerce .col2-set, .woocommerce-page .col2-set {
	width:49%;
}

#order_review {
	width:49%;
}

@media (max-width: 768px) {
    .woocommerce .col2-set, .woocommerce-page .col2-set {
        width:100%;
    }

    #order_review {
        width:100%;
    }
}

.woocommerce-error {
	display:flex; 
    flex-wrap: wrap;
}

.woocommerce-error > li {
	width: 100%;
}

.woocommerce-error a {
	color: #fff!important;
    font-weight: bold;
}


@media (max-width: 768px) {
	.cart_totals .shop_table {
		width: 100%;
	}
}

tr {
    margin-top: -1px;
}

td {
    margin-top: -1px;
}

.cart-subtotal {
	margin-bottom: -1px;
}

.button {
    text-align: center;
}

.woocommerce-cart-form__contents { border-top: 1px solid hsl(0deg 0% 80%) }

@media (max-width: 768px) {
 .woocommerce-cart-form__cart-item .quantity input {
    position: absolute;
    right: 0px;
	}
    
     .woocommerce-cart-form__cart-item .quantity .quantity-nav {
    position: absolute;
    float: left;
    height: 42px;
    right:0px;
	}
}

#katalog li a {
  color: #404040;
}

#related_products img {
	height: 100%!important; 
}

.req_order_approve {
    position: absolute;
    top: 23px;
    right: 25px;
    font-size: 11px;
    background-color: #f00;
    color: #fff;
    padding: 0 4px;
    line-height: 19px;
    font-weight: bold;
}

#regulamin li {
    list-style: decimal;
}

#regulamin ol ol li {
    list-style: lower-alpha;
}
#regulamin ol ol {
    margin-left: 30px;
    list-style: cambodian;
}

.dgwt-wcas-no-submit .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
	padding: 5px 15px 5px 40px!important;
    height: 24px;
}

.dgwt-wcas-search-wrapp {
	width: 100px;
}

.post-type-archive-product.search .yith-wcan-filters-opener {
	display: none;
}

.woocommerce h2 {
    width: 100%;
}

.woocommerce-product-gallery .flex-control-thumbs img {
	opacity: 1!important;
}

.iworks-omnibus {
	display: inline;
}

.cmplz-placeholder-parent {
	max-height: 100%;
    height: 100%;
}

.comfino-banner-container {
	width: 100%;
}




@media(max-width:1023px){
.mobile_nav_active > .submenu {
    display: grid !important;
    text-align: center;
    grid-template-columns: 1fr 1fr;
    
}
}


@media(max-width:1023px){
.mobile_nav_active > .submenu a {
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 14px !important;

}
.mobile_nav_active a {
text-align: center;

}
}

@media (min-width: 1280px) {
  .xl\:hidden { display: none !important; }
  .xl\:flex { display: flex !important; }
}

#site_nav.mobileMenu li.desktop-only {
  display: none !important;
}

/* === Karty produktów: cena ===
   Cena na kartach: większa (odpowiednik text-xl) i czarna.
   Cena promocyjna (<ins>): czerwona, bez podkreślenia.
   Dotyczy: pętli sklepu (ul.products li.product), polecanych i kart na froncie (.gres-card-price). */
ul.products li.product .price,
.gres-card-price .price {
  font-size: 1.25rem;
  color: #000;
}

ul.products li.product .price ins,
.gres-card-price .price ins {
  text-decoration: none;
  color: #e3000f;
}
