/*
Theme Name: CloveRock

WooCommerce styles override
*/

/**
 * Shop tables
 */
table.shop_table_responsive thead {
	display: none;
}

table.shop_table_responsive tbody th {
	display: none;
}

table.shop_table_responsive tr td {
	display: block;
	text-align: right;
	clear: both;
}

table.shop_table_responsive tr td::before {
	content: attr(data-title) ": ";
	float: left;
}

table.shop_table_responsive tr td.product-remove a {
	text-align: left;
}

table.shop_table_responsive tr td.product-remove::before {
	display: none;
}

table.shop_table_responsive tr td.actions::before,
table.shop_table_responsive tr td.download-actions::before {
	display: none;
}

table.shop_table_responsive tr td.download-actions .button {
	display: block;
	text-align: center;
}

@media screen and (min-width: 48em) {

	table.shop_table_responsive thead {
		display: table-header-group;
	}

	table.shop_table_responsive tbody th {
		display: table-cell;
	}

	table.shop_table_responsive tr th,
	table.shop_table_responsive tr td {
		text-align: left;
	}

	table.shop_table_responsive tr td {
		display: table-cell;
	}

	table.shop_table_responsive tr td::before {
		display: none;
	}
}

/**
 * Products
 */
ul.products {
	margin: 0;
	padding: 0;
}

ul.products li.product {
	list-style: none;
	position: relative;
	margin-bottom: 2em;
}

ul.products li.product img {
	display: block;
}

ul.products li.product .button {
	display: block;
}

.cat_button {
	font-size: 100%;
	line-height: 1;
	cursor: pointer;
	text-decoration: none;
	overflow: visible;
	padding: .618em 1em;
	font-weight: 700;
	border-radius: 3px;
	color: #fff;
	background-color: var(--secondary);
	border: 0;
	display: inline-block;
	background-image: none;
	box-shadow: none;
	text-shadow: none;
	position: absolute;
	bottom: 20px;
	margin-top: 1em;
	text-align: center;
	position: absolute;
	width: calc(100% - 40px);
	bottom: 20px;
	left: 20px;
}
.cat_button:hover {
color: #fff;
  background-color: var(--primary);
}

@media screen and (min-width: 48em) {

	ul.products li.product {
		width: 30.79667%;
		float: left;
		margin-right: 3.8%;
	}

	ul.products li.product.first {
		clear: both;
	}

	ul.products li.product.last {
		margin-right: 0;
	}

	ul.products.columns-1 li.product {
		float: none;
		width: 100%;
	}

	ul.products.columns-2 li.product {
		width: 48.1%;
	}

	ul.products.columns-3 li.product {
		width: 30.79667%;
	}

	ul.products.columns-4 li.product {
		width: 22.15%;
	}

	ul.products.columns-5 li.product {
		width: 16.96%;
	}

	ul.products.columns-6 li.product {
		width: 13.49333%;
	}
}

/**
 * Single product
 */
.single-product div.product {
	position: relative;
}

.single-product div.product .woocommerce-product-gallery {
	position: relative;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger {
	position: absolute;
	top: 2em;
	right: 1em;
	display: block;
	z-index: 99;
}

.single-product div.product .woocommerce-product-gallery .flex-viewport {
	margin-bottom: 1em;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	margin: 0;
	padding: 0;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
	list-style: none;
	cursor: pointer;
	float: left;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	opacity: 0.5;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:hover img {
	opacity: 1;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li {
	width: 48.1%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-2 .flex-control-thumbs li:nth-child(2n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li {
	width: 30.79667%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-3 .flex-control-thumbs li:nth-child(3n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li {
	width: 22.15%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-4 .flex-control-thumbs li:nth-child(4n+1) {
	clear: both;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li {
	width: 16.96%;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n) {
	margin-right: 0;
}

.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery--columns-5 .flex-control-thumbs li:nth-child(5n+1) {
	clear: both;
}

.stock:empty::before {
	display: none;
}

.stock.in-stock {
	color: #0f834d;
}

.stock.out-of-stock {
	color: #e2401c;
}

/**
 * Checkout
 */
@media screen and (min-width: 768px) {

	.col2-set .form-row-first {
		float: left;
		margin-right: 3.8%;
	}

	.col2-set .form-row-last {
		float: right;
		margin-right: 0;
	}

	.col2-set .form-row-first,
	.col2-set .form-row-last {
		width: 48.1%;
	}
}
.product-rows-home {
	max-width: 1380px;
	margin: 0 auto;
	padding: 50px 0;
	width: 95%;
}

.home-products {
	padding: 0;
	margin: 0;
}
.home-products li {
   position:relative;
}
.woocommerce ul.products li.product .price, .home-rows li.product .price {
	color: #D82027;
	font-size: 16px;
	display: block;
  font-weight: 400;
  margin-bottom: .5em;
}
.home-products  li.product .price, .home-rows li.product .price ins {
	font-weight:700;
}
.home-products li.product .price del {
	color: inherit;
	opacity: .5;
	display: inline-block;
}
#radio-control-0-forceall__label {
	font-size: 12px;
	line-height: 12px;
	margin-bottom: 5px;
	display: block;
}
.is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-item__description.wc-block-components-totals-shipping__via, .is-large.wc-block-cart .wc-block-components-sidebar .wc-block-components-totals-shipping__change-address__link {
	display: none !important;
}
.home-products li.product a img {
	width: 100%;
	height: auto;
	display: block;
	margin: 0 0 1em;
	box-shadow: none;
}
.home-products li.product .woocommerce-loop-product__title {
	padding: .5em 0;
	margin: 0;
	font-size: 1em;
}
.home-products a.button {
	font-size: 100%;
	margin: 0;
	margin-top: 0px;
	line-height: 1;
	cursor: pointer;
	position: relative;
	text-decoration: none;
	overflow: visible;
	padding: .618em 1em;
	font-weight: 700;
	border-radius: 993px;
	left: auto;
	color: #fff;
	background-color: #d82027;
	border: 0;
	display: inline-block;
	background-image: none;
	box-shadow: none;
	text-shadow: none;
}
.home-products .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
	display: block;
	margin: 0 0 20px 0;
}
.woocommerce .home-products span.onsale {
	right: -10px !important;
	top: 0px !important;
	left: auto;
}

.home-products .woocommerce-LoopProduct-link.woocommerce-loop-product__link {
  display:block;
  margin:0 0 20px
}
.product-row.woocommerce .slick-prev.slick-arrow {
  position:absolute;
  top:-60px;
  height:40px;
  width:40px;
  text-align:center;
  padding:0;
  right:50px;
  border:0 none;
  color:#fff;
  background:#1068d9
}
.product-row.woocommerce .slick-next.slick-arrow {
  position:absolute;
  top:-60px;
  height:40px;
  width:40px;
  text-align:center;
  padding:0;
  right:0;
  border:0 none;
  color:#fff;
  background:#1068d9
}
.product-row.woocommerce .slick-prev.slick-arrow:hover, .product-row.woocommerce .slick-next.slick-arrow:hover {
   background:#074fac !important;
} 
.product-row-title {
	font-weight: 700;
}
.product-row.woocommerce + .product-row.woocommerce {
	margin-top: 50px;
}
.woocommerce span.onsale, span.onsale {
	line-height: 1em !important;
	background-color: #ef8c34;
	min-height: 0px !important;
	min-width: 0px !important;
	padding: 10px !important;
	margin: 0px !important;
	border-radius: 5px !important;
	top: 5px !important;
	right: 5px !important;
	position: absolute;
	font-size: .857em;
	font-weight: 700;
	color: #fff;
}

.single-product div.product span.onsale {
	left: 5px !important;
	right: auto !important;
}
.single-product .related.products span.onsale, .single-product .up-sells.upsells.products span.onsale {
	left: auto !important;
	right: 5px !important;
}
.product-row.woocommerce .slick-prev.slick-arrow:hover,
.product-row.woocommerce .slick-next.slick-arrow:hover {
  background:#e8e8e8;
  color:#fff
}
/**
 * General WooCommerce components
 */
 body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button {
	min-height: 3em;
	background: #d82027;
	color: #fff;
}
 .wc-block-components-button {
	border-radius: 5px;
}
.main-woo-page .alignwide {
	margin: 40px auto;
	width: 100%;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce #respond input#submit, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce a.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce button.button, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce input.button {
	border-radius: 5px;
	color: #fff;
	background-color: #d82027;
	border: 0;
}
.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button:hover, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce #respond input#submit:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce a.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce button.button:hover, :where(body:not(.woocommerce-block-theme-has-button-styles)):where(:not(.edit-post-visual-editor*)) .woocommerce input.button:hover {
	background-color: #2f9dff;
	text-decoration: none;
	background-image: none;
	color: #fff;
}
mark, ins {
	background: #fff;
	text-decoration: none;
}
/**
 * Header cart
 */
.site-header-cart {
	position: relative;
	margin: 0;
	padding: 0;
}

.site-header-cart .cart-contents {
	text-decoration: none;
}

.site-header-cart .widget_shopping_cart {
	display: none;
}

.site-header-cart .product_list_widget {
	margin: 0;
	padding: 0;
}

/**
 * Star rating
 */
.star-rating {
	overflow: hidden;
	position: relative;
	height: 1.618em;
	line-height: 1.618;
	width: 5.3em;
	font-family: star;
	font-weight: 400;
}

.star-rating::before {
	content: "\53\53\53\53\53";
	opacity: 0.25;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
}

.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}

.star-rating span::before {
	content: "\53\53\53\53\53";
	top: 0;
	position: absolute;
	left: 0;
	color: #4169e1;
}

p.stars a {
	position: relative;
	height: 1em;
	width: 1em;
	text-indent: -999em;
	display: inline-block;
	text-decoration: none;
	margin-right: 1px;
	font-weight: 400;
}

p.stars a::before {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
	font-family: star;
	content: "\53";
	color: #404040;
	text-indent: 0;
	opacity: 0.25;
}

p.stars a:hover ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars:hover a::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}

p.stars.selected a.active ~ a::before {
	content: "\53";
	color: #404040;
	opacity: 0.25;
}

p.stars.selected a:not(.active)::before {
	content: "\53";
	color: #4169e1;
	opacity: 1;
}


.woocommerce nav.woocommerce-pagination {
  text-align:center
}
.woocommerce nav.woocommerce-pagination ul {
  display:inline-block;
  white-space:nowrap;
  padding:0;
  clear:both;
  border:0 none !important;
  margin:1px
}
.woocommerce nav.woocommerce-pagination ul li {
  border-right:0 none !important;
  padding:0;
  margin:0;
  float:left;
  display:inline;
  overflow:hidden
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  margin:0 2px;
	
  text-decoration:none;
  padding:0;
  line-height:1;
  font-size:1em;
  font-weight:400;
  padding:.5em;
  min-width:1em;
  display:block;
	border-radius:3px;
  background:#2798fd;
  color:#fff;
		font-weight:700;
}
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background:#d82027;
  color:#fff;

}


/**
 * Tabs
 */
.woocommerce-tabs ul.tabs {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

.woocommerce-tabs ul.tabs li {
	display: block;
	margin: 0;
	position: relative;
}

.woocommerce-tabs ul.tabs li a {
	padding: 1em 0;
	display: block;
}

.woocommerce-tabs .panel h2:first-of-type {
	margin-bottom: 1em;
}

/**
 * Password strength meter
 */
.woocommerce-password-strength {
	text-align: right;
}

.woocommerce-password-strength.strong {
	color: #0f834d;
}

.woocommerce-password-strength.short {
	color: #e2401c;
}

.woocommerce-password-strength.bad {
	color: #e2401c;
}

.woocommerce-password-strength.good {
	color: #3d9cd2;
}

/**
 * Forms
 */
.form-row.woocommerce-validated input.input-text {
	box-shadow: inset 2px 0 0 #0f834d;
}

.form-row.woocommerce-invalid input.input-text {
	box-shadow: inset 2px 0 0 #e2401c;
}

.required {
	color: #f00;
}

/**
 * Notices
 */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	background-color: #0f834d;
	clear: both;
}

.woocommerce-info,
.woocommerce-noreviews,
p.no-comments {
	background-color: #3d9cd2;
}

.woocommerce-error {
	background-color: #e2401c;
}

.demo_store {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	margin: 0;
	padding: 1em;
	background-color: #3d9cd2;
	z-index: 9999;
}

@media screen and (min-width: 48em) {

	/**
	 * Header cart
	 */
	.site-header-cart .widget_shopping_cart {
		position: absolute;
		top: 100%;
		width: 100%;
		z-index: 999999;
		left: -999em;
		display: block;
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	.site-header-cart:hover .widget_shopping_cart,
	.site-header-cart.focus .widget_shopping_cart {
		left: 0;
		display: block;
	}
}

/**
 * WooCommerce widgets
 */

/**
 * WooCommerce Price Filter
 */
.widget_price_filter .price_slider {
	margin-bottom: 1.5em;
}

.widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4;
}

.widget_price_filter .price_slider_amount .button {
	float: left;
}

.widget_price_filter .ui-slider {
	position: relative;
	text-align: left;
}

.widget_price_filter .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 1em;
	height: 1em;
	cursor: ew-resize;
	outline: none;
	background: #4169e1;
	box-sizing: border-box;
	margin-top: -0.25em;
	opacity: 1;
}

.widget_price_filter .ui-slider .ui-slider-handle:last-child {
	margin-left: -1em;
}

.widget_price_filter .ui-slider .ui-slider-handle:hover,
.widget_price_filter .ui-slider .ui-slider-handle.ui-state-active {
	box-shadow: 0 0 0 0.25em rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: #4169e1;
}

.widget_price_filter .price_slider_wrapper .ui-widget-content {
	background: rgba(0, 0, 0, 0.1);
}

.widget_price_filter .ui-slider-horizontal {
	height: 0.5em;
}

.widget_price_filter .ui-slider-horizontal .ui-slider-range {
	height: 100%;
}

.woocommerce-loop-product__title {
	font-size: 18px !important;
	line-height: 24px !important;
	font-weight: 700;
}
.woocommerce ul.products li.product .price {
  color: #D82027;
}
.top-links {

	margin: -3px auto 0 auto;
	font-size: 14px;
	padding: 0px;
	overflow: hidden;
	background: #efeef7;
}

.woocommerce-breadcrumb {
	width: 95%;
	max-width: 1380px;
  padding: .75em .5em !important;
  margin: 0px auto !important;
}
.top-account {
	padding: .75em .5em !important;
	display: block;
	color: #121212;
}
.woocommerce h2 {
	font-size: 28px;
	line-height: 32px;
}

.woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) #respond input#submit.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) a.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) button.button.alt, .woocommerce:where(body:not(.woocommerce-block-theme-has-button-styles)) input.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce #respond input#submit.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce a.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce button.button.alt, :where(body:not(.woocommerce-block-theme-has-button-styles)) .woocommerce input.button.alt {
	background-color: #d82027 !important;
	color: #fff;
	-webkit-font-smoothing: antialiased;
}
.related.products, .up-sells.upsells.products {
	clear: both;
	border-top: 1px solid #ccc;
	padding-top: 40px;
	margin-top: 50px;
	position:relative;
}

.upsell-category-button {
	position: absolute;
	top: 39px;
	right: 0px;
	font-size: 16px;
}

.upsell-category-button a:nth-child(2) {
	margin-left: 10px;
	background: #2a47a5;
	color: #fff;
}
.product_meta {
	font-size: 12px;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
	color: #D82027;
	font-size: 1.25em;
}

.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained, .components-button.wc-block-components-button.wp-element-button.wp-block-woocommerce-mini-cart-checkout-button-block.wc-block-mini-cart__footer-checkout.contained {
	background: #3a2f72;
	color: #fff;
}
.components-button.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained:hover, .components-button.wc-block-components-button.wp-element-button.wp-block-woocommerce-mini-cart-checkout-button-block.wc-block-mini-cart__footer-checkout.contained:hover {
    opacity:0.8;
}
.wp-block-woocommerce-mini-cart-title-block.wc-block-mini-cart__title {
	font-size: 24px !important;
}
@media only screen and (max-width:768px) {
.woocommerce .woocommerce-breadcrumb {
    display:none;
}
}
@media only screen and (max-width:960px) {
.up-sells.upsells.products {
	padding-bottom: 40px;
}
.up-sells.upsells.products.double-button {
	padding-bottom: 90px;
}
.upsell-category-button {
	position: absolute;
	top: auto;
	right: 0px;
	font-size: 16px;
	bottom: 0;
	width: 100%;
}
.upsell-category-button a.button {
  display:block;
	width: 100%;
	text-align:center;
}
.upsell-category-button a:nth-child(2) {
	margin-left: 0px;
	margin-top:10px;
}
}