/* shop & colour coordinations */
table.has-background {
	padding:0;
	border-collapse: collapse;
	width:100%;
}
.products a, .product a {
	text-decoration: none;
}
.products .dashicons {
	cursor: pointer;
	vertical-align: middle;
}
.products .hide-desktop, .product .hide-desktop {
	display: none;
}
.products .dashicons-controls-play, .product .dashicons-controls-play {
	transform: rotate(90deg);
	vertical-align: middle;
}
.products .dashicons-controls-play.rotate, .product .dashicons-controls-play.rotate {
	transform: rotate(-90deg);
	display: inline-block;
}
.products h3, .product h3 {
	font-weight: normal;
	text-transform: uppercase;
	margin: 0 0 .25rem;
}
.variation-table tr.variation-item:last-child {
	/* border-bottom:2px solid white; */
}
.product-table.hide-table {
	display: none;
}

/* generic fallback colours until decided */
.product-table td > h3 {
	color:white;
}
.product-table .color-background {
	background:gray;
	padding:1rem;
	border-bottom:1rem solid white; 
}
.product-table.favourite-list .color-background {
	background-color: #fcbf00;
}
.product-table.clean .color-background {
	background:var(--wp--preset--color--brandgreen-product);
}
.product-table.deodorise .color-background {
	background:var(--wp--preset--color--brandblue-product);
}
.product-table.twin .color-background {
	background:var(--wp--preset--color--brandbluegreen-product);
}
/* test styles for deordise white background 
.product-table.deodorise h3 {
	color:var(--wp--preset--color--brandblue-product);
}
.product-table.deodorise .color-background {
	border: 4px solid var(--wp--preset--color--brandblue-product);
	background-color: transparent;
	border-bottom: 4px solid var(--wp--preset--color--brandblue-product);
}
*/
.deodorise .cat-table.has-background tr.headings {
	color:white;
}
/* test styles for deordise white background end */
.product-table.proof .color-background {
	background:var(--wp--preset--color--brandpurple-product);
}
.product-table.industrial .color-background {
	background:var(--wp--preset--color--brandorange-product);
}
.product-table.equestrian .color-background {
	background:var(--wp--preset--color--brandbrown-product);
}
.default h3 {
	color:rgb(60, 54, 54)
}

.cat-table tr.headings, .cat-table tr.product {
	background-color: rgb(105, 105, 105);
	color: var(--wp-preset-color--black70);
	/* border-bottom: 4px solid white; */
}
.cat-table tr.open-color {
	background-color:gray;
	color:white;
	text-transform: uppercase;
}
.cat-table.has-background tr.headings {
	color:white;
	position: sticky;
	top:2rem;
	line-height: 3rem;
}
.favourite-list .cat-table.has-background tr.headings {
	color:black;
}
tr.headings {
	background-color:gray;
	word-wrap: anywhere;
}
tr.headings  {
	position: sticky;
	top: 0;
	z-index: 10;
}
/* generic fallback colours until decided end */

/* twin first so deodorise and clean take precendence */
.twin .cat-table tr {
	background-color: var(--wp--preset--color--brandbluegreen-product-med);
	color:var(--wp-preset-color--black70);
}
.twin .cat-table tr.open-color {
	background-color:var(--wp--preset--color--brandbluegreen-product);
	color:white;
	text-transform: uppercase;
}
.twin .open-product {
	color:var(--wp--preset--color--brandbluegreen-product);
}
.twin tr.headings {
	background-color:var(--wp--preset--color--brandbluegreen-product);
}
.product-list .twin .variation-table tr.variation-item {
	background-color:var(--wp--preset--color--brandbluegreen-product-lighter);
}

.clean .cat-table tr {
	background-color: var(--wp--preset--color--brandgreen-product-med);
	color:var(--wp-preset-color--black70);
}
.clean .cat-table tr.open-color {
	background-color:var(--wp--preset--color--brandgreen-product);
	color:white;
	text-transform: uppercase;
}
.clean .open-product {
	color:var(--wp--preset--color--brandgreen-product);
}
.clean tr.headings {
	background-color:var(--wp--preset--color--brandgreen-product);
}
.clean .variation-table tr.variation-item {
	background-color:var(--wp--preset--color--brandgreen-product-lighter);
}

.deodorise .cat-table tr {
	background-color: var(--wp--preset--color--brandblue-product-med);
	color:var(--wp-preset-color--black70);
}
.deodorise .cat-table tr.open-color {
	background-color:var(--wp--preset--color--brandblue-product);
	color:white;
	text-transform: uppercase;
}
.deodorise .open-product {
	color:var(--wp--preset--color--brandblue-product);
}
.deodorise tr.headings {
	background-color:var(--wp--preset--color--brandblue-product);
}
.deodorise .variation-table tr.variation-item {
	background-color:var(--wp--preset--color--brandblue-product-light);
}

.proof .cat-table tr {
	background-color: var(--wp--preset--color--brandpurple-product-med);
	color:var(--wp-preset-color--black70);
}
.proof .cat-table tr.open-color {
	background-color:var(--wp--preset--color--brandpurple-product);
	color:white;
	text-transform: uppercase;
}
.proof .open-product {
	color:var(--wp--preset--color--brandpurple-product);
}
.proof tr.headings {
	background-color:var(--wp--preset--color--brandpurple-product);
}
.proof .variation-table tr.variation-item {
	background-color:var(--wp--preset--color--brandpurple-product-light);
}

.industrial .cat-table tr {
	background-color: var(--wp--preset--color--brandorange-product-med);
	color:var(--wp-preset-color--black70);
}
.industrial .cat-table tr.open-color {
	background-color:var(--wp--preset--color--brandorange-product);
	color:white;
	text-transform: uppercase;
}
.industrial .open-product {
	color:var(--wp--preset--color--brandorange-product);
}
.industrial tr.headings {
	background-color:var(--wp--preset--color--brandorange-product);
}
.industrial .variation-table tr.variation-item {
	background-color:var(--wp--preset--color--brandorange-product-light);
}

.equestrian .cat-table tr {
	background-color: var(--wp--preset--color--brandbrown-product-med);
	color:var(--wp-preset-color--black70);
}
.equestrian .cat-table tr.open-color {
	background-color:var(--wp--preset--color--brandbrown-product);
	color:white;
	text-transform: uppercase;
}
.equestrian .open-product {
	color:var(--wp--preset--color--brandbrown-product);
}
.equestrian tr.headings {
	background-color:var(--wp--preset--color--brandbrown-product);
}
.equestrian .variation-table tr.variation-item {
	background-color:var(--wp--preset--color--brandbrown-product-light);
}

/* try to hide all table headings but first */
.cat-table tbody .product:not(:first-child) + .variation-row .headings {
	display:none;
}
.cat-table tbody .headings:not(:first-child)  {
	display:none;
}
.reveal-list h3 {
	display: flex;
	align-items: center;
	cursor: pointer;
}

/* fav tables */
.favourite-list h3 {
	color: #fcbf00
}
.favourite-list .cat-table.has-background tr.headings {
	/*background:none;*/
}
.favourite-list .variation-row .product-name {
	text-align:left;
	padding:.25rem .25rem .25rem 1rem !important;
}
.favourite-list .cat-table tr {
	background: #fcdb77
}
.favourite-list .variation-table tr.variation-item {
	background: #f6e5b1;
}
/* fav tables end */

/* out of stock variations */
.variation-table tr.variation-item.outofstock,
.variation-table tr.variation-item.unpurchasable {
	background-color:lightgrey !important;
	opacity:.5;
}
.variation-table tr.variation-item.outofstock .var_add_cart button {
	background:rgb(178, 176, 176);
	pointer-events: none;
}

/* filter buttons */
.filter-group {
	display: flex;
	margin:1.5rem 0;
}
.filter-group a {
	display: block;
	text-decoration: none;
	color:var(--wp--preset--color--brandgreen);
	display: flex;
	align-items: center;
	margin:5px 0;
	margin-right: 30px;
}
.reset-group {
	text-align: center;
}
#reset-filter, .order-form-back {
	background:var(--wp--preset--color--brandblue);
	color:white;
	padding:5px 10px;
	display: inline-block;
	margin:1rem auto;
	text-decoration: none;
}
.filter-group a.special-offers .dashicons {
	color:lightgrey;
}
.filter-group a.special-offers.active .dashicons {
	color:var(--wp--preset--color--brandblue);
}
.filter-group a span:last-child {
	margin-left:5px;
}

/* category groups */
.category-groups {
	text-align:center;
	margin-bottom:2rem;
}
.category-groups .menu-group {
	width:20%;
	padding: 3rem 0;
	flex-grow: 1;
}
.menu-group .product-category {
	margin: 5px 0;
	display: none;
}
.menu-group > a {
	padding:5px 10px;
	text-transform: uppercase;
	color:white;
	text-decoration: none;
	font-weight: bold;
}
.menu-group.default > a {
	background:gray;
}
.menu-group.clean {
	background:var(--wp--preset--color--brandgreen-product)
}
.menu-group.deodorise  {
	background:var(--wp--preset--color--brandblue-product)
}
.menu-group.proof  {
	background:var(--wp--preset--color--brandpurple-product)
}
.menu-group.industrial {
	background:var(--wp--preset--color--brandorange-product)
}
.menu-group.equestrian {
	background:var(--wp--preset--color--brandbrown-product)
}
.menu-group.twin {
	background:var(--wp--preset--color--brandbluegreen-product)
}
.menu-group .product-category a {
	//background:lightgray;
	padding:5px 10px;
	margin: 0 5px;
	text-decoration: none;
	color:var(--wp--preset--color--brandblue);
	color:white;
}
.menu-group .product-category a.active {
	//background:var(--wp--preset--color--brandgreen);
	//color:white;
	font-weight: bold;
	//border:1px solid var(--wp--preset--color--brandblue);
	background:white;
	color:var(--wp--preset--color--brandblue);
}
/* category groups end */

/* add to cart */
.var_add_cart .btn {
	background-color: black;
	color:white;
	border: 0;
	padding: 6px 9px;
}
.var_add_cart .btn[disabled]{
	opacity: 0.2;
}
.nwtp-add-notice {
	position: absolute;
	background: #000;
	border: 1px solid var(--main-bright);
	font-weight: 600;
	color:var(--main-color);
	font-family: var(--main-font);
	padding: .25rem 1rem;
	font-size: 7rem;
	left:37px;
	top:8px;
	right: 37px;
	bottom: 8px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.nwtp-add-notice svg{
	height: 32px;
}

/* variation table layout */
.variation-table th, .variation-table td {
	vertical-align: middle;
	padding:.25em;
	position: relative;
	line-height:1.2rem;
}
.variation-table th, .variation-table td:not(.product-name) {
	text-align: center;
}
.var_qty input {
	width:4rem;
    -moz-appearance: textfield;
    -webkit-appearance: textfield;
    appearance: textfield;
    text-align: center;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    vertical-align: middle;
    padding: 0.5rem;
    border-radius: 2px;
}

/* Hide the native number-input spinner arrows (Chrome, Safari, Edge) — the
   order form uses its own +/- buttons instead. */
.var_qty input[type=number]::-webkit-outer-spin-button,
.var_qty input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    appearance: none;
    margin: 0;
}

.var_qty .quantity-button{
	height: 1.8rem;
	width: 1.8rem;
	background-color: transparent;
	border: none;
	vertical-align: middle;
}

.data-label{
	display: none;
}