/* mobile styling */
@media  ( max-width:1024px ) and ( orientation:portrait ) {

}

@media only screen and (max-width:1200px) {
	#main.site-main {
		padding:var(--wp--custom--layout--padding);
	}

	/* account / login */
	.before-logged-in .wp-block-image.login-image {
		height: 350px;
		overflow: hidden;
		margin-top:75px;
	}
	.before-logged-in h2.stk-block-heading__text {
		color:white;
	}

	/* layout / footer */
	.nav-footer {
		text-align: center;
	}
	.site-footer .footer-logo img {
		max-width: 50%;
		margin: auto;
	}
	.nav-footer #footer-menu {
		background: transparent;
		padding: 0;
		position: relative;
	}

	/* header */
	.logged-in .site-header {
		overscroll-behavior-y: revert;
		overflow:revert;
	}
	.logged-in .site-header .wrap {
		position: relative;
		top:-25px;
	}
	.site-header__toggles {
		justify-self: baseline;
		padding-left:var(--wp--custom--layout--padding);
	}
	.site-header__logo {
		padding-right:var(--wp--custom--layout--padding);
	}
	button.menu-toggle  {
		border:none;
		background:transparent;
	}
	button.menu-toggle svg {
		width:40px;
		height: 40px;
	}
	.nav-menu.active {
		position: absolute;
		background:white;
		width: 100%;
		height: 100vh;
		padding-bottom:20px;
		top:38px;
	}
	.nav-menu.active .menu {
		height: 100vh;
		z-index: 100;
		padding-bottom: 20px;
	}
	.nav-primary > .menu > li:first-child a {
		padding-left: var(--wp--custom--layout--padding);
	}

	.variation-item{
		display: grid;
		grid-template-areas: "fav code"
							 "fav size"
							 "fav spp"
							 "fav your_price"
						     "fav quantity"
						     "fav discount"
						     "fav total";
		grid-template-columns: min-content 1fr;
		padding: 1rem;
		row-gap: 1rem;
		column-gap: 1rem;
	}

	.headings th,
	.variation-item td{
		width: 100% !important;
		line-height: 1;
	}

	th.favourite,
	.nwtp-favourite{
		grid-area: fav;
		display: flex;
		align-items: center;
	}

	th.favourite{
		visibility: hidden;
		opacity: 0;
	}

	.var_id{
		grid-area: code;
	}
	.var_size{
		grid-area: size;
	}
	.var_spp{
		grid-area: spp;
	}
	.var_ret_price{
		grid-area: your_price;
	}
	.var_qty{
		grid-area: quantity;
	}
	.var_discount{
		grid-area: discount;
	}
	.calc_total{
		grid-area: total;
	}

	td.product-name{
		font-size: 1.2em;
		padding-top: 2rem;
	}

	.variation-item td{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.product-table .price-collapse,
	.variation-table .price-collapse {
		display: none;
	}

	.product-table tr.headings{
		display: none;
	}

    .variation-item td{
		display: flex;
		justify-content: space-between;
		align-items: center;
		max-width: 30rem;
		margin-left: auto;
		margin-right: auto;
    }

    .var_qty .quantity-button{
    	height: 1.6rem;
    	width: 1.6rem;
    }

    .var_qty input{
    	width: 3rem;
    	font-size: 1rem;
    	padding: 0.2rem;
    	margin: 0;
    }


    .data-label{
    	display: initial;
    }
}


@media only screen and (max-width:1px) {
	/* order form / product list */
	.products .hide-desktop, .product .hide-desktop {
		display: inline-block;
	}
	.products .dashicons-info, .products .dashicons-money-alt, .products .dashicons-tickets-alt {
		font-size:24px;
		vertical-align: text-top;
		margin-right: 5px;
	}
	.products .dashicons-money-alt:active + .pricing-details, .products .dashicons-money-alt:hover + .pricing-details {
		display: block !important;
		transition: ease-in;
		position: absolute;
		background: rgb(143, 142, 142);
		width: 100%;
		z-index: 1000;
		color:white;
		border:1px solid black;
		left:5px;
		text-align: center;
	}
	.pricing-details header, .pricing-details .row {
	  display: flex;
	}
	.pricing-details header .col {
		background:white;
		color:black;
	}
	.pricing-details .col {
	  flex: 1;
	}
	.cat-table tr.headings {
		color:white;
	}
	.variation-table tr.variation-item, tr.headings {
		display:flex;
		flex-wrap:wrap;
		width:100%;
		font-size: 16px;
	}
	.variation-table tr.variation-item td, tr.headings th {
		flex:1;
	}
	.variation-table tr.variation-item td:last-child,  tr.headings th:last-child {
		flex-basis:100%;
	}
	.variation-table .var_add_cart .btn {
		width:100%;
	}

	/* single product page */
	.single-product .product-type-variable {
		display: block;
	}
	.single-product div.product-type-variable div.entry-summary {
		width: 100%;
	}
}
