/* use full width of page */
.post-type-archive-product #main-content .container {
	max-width: none;
	width: 100%;
}

.post-type-archive-product.et_right_sidebar #left-area,
.tax-product_cat.et_right_sidebar #left-area {
	float: none;
	padding: 0 25px;
	width: auto;
}

/* Multiple product listing layout */
body.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products li.product,
body.et_pb_gutters2.et_right_sidebar.woocommerce-page #main-content ul.products li.product {
	width: 100%;
	margin: 0;
	padding: 10px;
	box-sizing: border-box;
	text-align: center;
}
body.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n+1) {
    clear: none;
}
.woocommerce-LoopProduct-link {
	display: block;
}
.woocommerce-Price-amount {
	font-weight: bold;
}
/* Spacing between original price and reduced price */
.price .strike + .highlight {
	margin-left: 0.8em
}

@media screen and (min-width: 360px) {
	body.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products li.product,
	body.et_pb_gutters2.et_right_sidebar.woocommerce-page #main-content ul.products li.product {
		width: 50%;
	}
	body.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(2n+1) {
		clear: both;
	}
}
@media screen and (min-width: 767px) {
	body.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products li.product,
	body.et_pb_gutters2.et_right_sidebar.woocommerce-page #main-content ul.products li.product {
		width: 33%;
	}
	body.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(2n+1) {
		clear: none;
	}
	body.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n+1) {
		clear: both;
	}
}

@media screen and (min-width: 1200px) {
	body.et_pb_gutters3.et_right_sidebar.woocommerce-page #main-content ul.products li.product,
	body.et_pb_gutters2.et_right_sidebar.woocommerce-page #main-content ul.products li.product {
		width: 25%;
	}
	body.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(3n+1) {
		clear: none;
	}
	body.et_right_sidebar.woocommerce-page #main-content ul.products li.product:nth-child(4n+1) {
		clear: both;
	}
}

/* product listing */
.woocommerce ul.products li.product a img.product-img-hover {
	display: none;
}
.woocommerce ul.products li.product a:hover img {
	display: none;
}
.woocommerce ul.products li.product a:hover img.product-img-nohover,
.woocommerce ul.products li.product a:hover img.product-img-hover {
	display: block;
}
.price {
	font-size: 1.2em;
}

/* Prevent categories list nav getting hidden on mobile when no products found */
.woocommerce-products-header::after {
	content: '';
	display: block;
	clear: both;
}
.woocommerce-products-header + p.woocommerce-info {
	margin-top: 10px;
}

/* categories list nav */
#menu-shop-categories,
.woocommerce #left-area ul#menu-shop-categories {
	text-align: center;
	padding: 0 0 1em 0;
	margin: 0;
}
ul#menu-shop-categories li {
	list-style-type: none;
	display: inline-block;
	margin: 10px 15px;
}
ul#menu-shop-categories li:first-child {
	margin-left: 0;
}
ul#menu-shop-categories li a {
	color: #232323;
	font-weight: 600;
	font-size: 13pt;
	padding: 5px 0
}
ul#menu-shop-categories li.current-menu-item a {
	border-bottom: 2px solid #232323;
}
ul#menu-shop-categories li.spares-link a {
	background: transparent url('img/newtab.svg') no-repeat center right;
    background-size: 15px;
	padding-right: 23px;
}
@media screen and (max-width: 1120px) {
	ul#menu-shop-categories li {
		margin: 5px 10px;
	}
	ul#menu-shop-categories li a {
		font-size: 11pt;
	}
	ul#menu-shop-categories li.spares-link a {
		background-size: 12px;
		padding-right: 17px;
	}
}

/* Sub menus in product categories menu */
#menu-shop-categories ul.sub-menu {
  display: none;
  position: absolute;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
  background: transparent;
  z-index: 2;
}
#menu-shop-categories .current-menu-item ul.sub-menu,
#menu-shop-categories .current-menu-ancestor ul.sub-menu {
  display: block;
}
#menu-product-categories:hover .current-menu-item ul.sub-menu {
  display: none;
}
#menu-shop-categories li:hover ul.sub-menu,
#menu-shop-categories li.current-menu-item:hover ul.sub-menu {
  display: block;
}
#menu-shop-categories:hover ul.sub-menu {
	display: none;
}
#menu-shop-categories ul.sub-menu a {
  font-size: 14px;
  font-weight: 400;
}
ul#menu-shop-categories li.current-menu-item ul.sub-menu a {
	border-bottom: none;
}
ul#menu-shop-categories li.current-menu-item ul.sub-menu li.current-menu-item a {
    border-bottom: 2px solid #232323;
}
@media screen and (max-width: 980px) {
	#menu-shop-categories ul.sub-menu {
		background: #fff;
	}
}


/* Results count */
.woocommerce p.woocommerce-result-count {
	float: right;
	padding: 0;
	margin: 15px 15px 15px 0;
}
@media screen and (max-width: 980px) {
	.woocommerce p.woocommerce-result-count {
		display: none;
	}
}


/* Webstore header */
.webstore-header {
	position: relative;
	left: -25px;
	width: calc(100% + 50px);
	padding-bottom: 0;
	margin-bottom: 50px;
}
.webstore-header a {
	display: block;
    background: #f2f2f2 url('./img/GC_Webstore_mainbackground.jpg') center no-repeat;
    white-space: none;
    background-size: cover;
    text-align: center;
    height: 14vw;
    line-height: 14vw;
}
.webstore-header img {
    vertical-align: middle;
	max-height: 80%;
}
body:not(.et-tb) #main-content .container,
body:not(.et-tb-has-header) #main-content .container {
    padding-top: 0;
}


/* Search bar */
.ysm-search-widget {
	z-index: 3;
}
.ysm-search-widget .search-field[type="search"] {
	border: none;
	padding: 1.3em 2em;
	font-style: normal;
	font-weight: 400;
	background: #eee;
}
.ysm-search-widget .search-submit {
	color: #232323;
	right: 15px;
}
.ysm-search-widget .search-submit:before {
	line-height: 42px;
	font-weight: 800;
}

/* AJAX search */
.smart-search-suggestions {
	z-index: 1 !important;
}
.smart-search-results.has-viewall-button[style*="height: 0px"] {
    padding-bottom: 0px;
}

/* Fix for line down page */
@media screen and (min-width: 981px) { 
	body #main-content .container:before {
	    content: none;
	}
}

/* Klarna footer banner */
.et-db #et-boc .et-l .et_pb_section.klarna-footer-banner {
    padding: 0;
}
.klarna-footer-banner .et_pb_module {
    padding: 4px 10px 26px 10px;
}
.et-db #et-boc .et-l .klarna-footer-banner .et_pb_row {
	padding: 0;
}
.klarna-footer-banner p {
		color: #fff;
	}
@media screen and (min-width: 767px) { 
	.klarna-footer-banner p {
		font-size: 30px;
	}
}

/* Hide sale badge (Currently not styled so easiest just to hide it) */
.onsale {
	display: none;
}

/* Adjust out of stock badge */
body .wcsob_soldout {
    top: 30px;
}

/* Page numbers */
.woocommerce-pagination ul {
  text-align: center;
}
.woocommerce-pagination ul li {
  list-style-type: none;
  display: inline-block;
  padding: 0.3em;
}

/* Subscribe form when no products in category */
.no-products-found-subscribe {
	margin-top: 75px;
	margin-bottom: 75px;
}
@media screen and (min-width: 981px) {
	.no-products-found-subscribe {
		margin-bottom: 50px;
	}
}