@media (min-width: 480px) {
    .rwd-table th, .rwd-table td {
        padding: .5em !important;
    }
}

@media only screen and (max-width: 1407px) and (min-width: 960px ){
	.product-name {min-height: 85px;}
}

@media only screen and (max-width: 1407px) {
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {padding: 0 .5rem}
	li.product table, .tinv-wishlist table {font-size: .55rem; }
	.woocommerce-variations-table td {font-size: .8rem;}
}

@media only screen and (max-width: 1215px) {
	.woocommerce .content .container {padding: 1rem;}
	#mega-menu-wrap-header-menu #mega-menu-header-menu > li.mega-menu-item > a.mega-menu-link {font-size: .8rem}
/*
	.tinvwl-table-manage-list tr.wishlist_item {width: 33.33%;}
	.woocommerce .content ul.products li.product {width: 31%;}
	.woocommerce.logged-in .content ul.products li.product, .tinvwl-table-manage-list tr.wishlist_item {width: 48%;  }
*/
	
		
	.wishlist_item > td {padding: 0 !important}
	li.product .rwd-table th, li.product .rwd-table td, .tinv-wishlist .rwd-table td {padding: 3px !important; font-size: .5rem; margin: 0}
	.content table.woocommerce-variations-table.rwd-table {margin: .5rem 0;}
    .rwd-table tr.variations-table-row {
	    display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    .rwd-table tr.variations-table-row td {justify-content: center; flex: 0 0 auto; width: auto; }
    .tinv-wishlist table.tinvwl-table-manage-list tbody td {width: auto !important;}
	.woocommerce .quantity .qty {max-width: 2.5em;}
	
	.single-product .woocommerce-breadcrumb {padding: 1rem;}
	.single-product.logged-in .product > .container {flex-direction: column; width: 100%; align-items: center}
	.single-product.logged-in .product > .container > div {width: 100%;}
	/*#wpgs-gallery.woocommerce-product-gallery {margin: 0; max-width: 100% !important;}
*/
	
	.header-switch-btn, .woocommerce-MyAccount-navigation {min-width: inherit !important;}
	
}
@media only screen and (max-width: 959px) {
	#top {text-align: center;}
	#top ul.menu {justify-content: center;}
	#middle .container {flex-wrap: wrap; justify-content: center;}
	#middle .user-menu {width: 100%;}
	#middle ul.menu {justify-content: center; flex-wrap: wrap; padding: .5rem 0;}
	#main-menu button:after {content: 'CATEGORIES'; font-size: .8rem; color: #FFF; display: inline-block; margin: 0 0 0 1rem; line-height: 24px;}
	#logo {padding: 8px 0 0;}
	#logo a {display: block;}
	#logo img {max-height: 80px; width: auto;}
	.content > .container {padding:  1rem;}
	
	.woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {display: table-row;}
	.woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {display: table-cell;}
	.woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {text-align: left !important; }
}
@media (min-width: 768px) and (max-width: 991px) {
	.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product, .tinvwl-table-manage-list tr.wishlist_item {width: 31% ; padding: .5rem; align-items: center; margin: 0 1% 1em;}
	
}
@media only screen and (max-width: 767px) {
	.padding-tb-5 {padding: 2rem 1rem;}
	
	#middle ul.menu {padding: .5rem 0;}
	#mega-menu-wrap-header-menu .mega-menu-toggle {border-radius: 0;}
	#mega-menu-wrap-header-menu #mega-menu-header-menu li.product {margin-bottom: 6px !important;}
	#mega-menu-wrap-header-menu #mega-menu-header-menu img {display: none;}
	.page-title {padding: 1rem 1rem 0.5rem;}
	.page-title h1 {font-size: 2rem; line-height: 1.3em;}
	.content h2, .content h3.widget-title {font-size: 2rem;}
	.content .is-narrow {max-width: none;}
	.woocommerce .woocommerce-breadcrumb {font-size: .7rem; padding: .5rem 1rem; margin: 0; line-height: 1.3em;}
	
	.home .content ul.products {padding: 0 2rem;}
/* 	.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product, .woocommerce.logged-in .content ul.products li.product {width: 100%; padding: 1rem;} */

	
	
	.woocommerce ul.products li.product a {display: block; overflow: hidden;}
	.content > .container  {padding: 2rem 1rem;}
/* 	.content .product > .container {padding: 1rem;} */
	.woocommerce ul.products li.product {padding: 0;}
/* 	#wpgs-gallery.woocommerce-product-gallery {width: 100%; } */
	.copyright {padding: 1rem; font-size: .7rem; line-height: 1.3em;}
/* 	.tinvwl-table-manage-list tr.wishlist_item {width: 100%;} */
	
	.rwd-table tr {display: flex; align-items: center;}
	.single .rwd-table tr {display: table-row;}
	.rwd-table td {font-size: .7rem; white-space: nowrap; padding: 6px !important;}
	.single .rwd-table td {display: table-cell;}
	.rwd-table td:before {display: none;}
	
	.woocommerce-cart table.shop_table {margin-right: 0;}
	.woocommerce-cart table.cart td.actions .coupon {display: flex; flex-wrap: wrap; text-align: left; justify-content: space-between; margin: 0 0 1rem;}
	.woocommerce-cart table.cart td.actions .coupon label {display: block; width: 100%;}
	.woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce table.cart .actions .tinv-wraper.woocommerce.tinv-wishlist.tinvwl-cart-add-to-cart, .woocommerce-page table.cart td.actions .coupon .input-text+.button {float: none; margin: 0;}
	 .woocommerce-page table.cart td.actions .coupon .input-text+.button {width: 50%;}
	 .woocommerce-cart table.cart img {width: 150px;}
	.woocommerce table.cart .actions .tinv-wraper.woocommerce.tinv-wishlist.tinvwl-cart-add-to-cart {margin: 8px 0 0;}
	
	.woocommerce-page table.cart .product-thumbnail {display: block;}
	.woocommerce table.shop_table_responsive tr td .columns,.woocommerce-page table.shop_table_responsive tr td .columns {text-align: center}
	.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {display: none;}
	#order_review {margin: 0; padding: 1rem;}
	#order_review img {display: block; margin: 0 auto; width: auto; float: none;}
	
	.woocommerce-checkout #payment ul.payment_methods, .woocommerce-checkout #payment div.form-row {padding: 0;}
	#customer_login {display: block;}
	.woocommerce-account .woocommerce {display: block;}
	.woocommerce aside {padding: 0;}
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}
	.woocommerce-MyAccount-navigation li {width: 50%; border: none; padding: 4px; margin: 0 !important;}
	.woocommerce-MyAccount-navigation li a {
		background: #7ec74d;
		color: #FFF;
		border-radius: 6px;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		padding: .5rem;
		font-size: .8rem;
		border: 1px solid #017a31;
		height: 100%;
		line-height: 1.3em;
	}
	.woocommerce-MyAccount-navigation li a:hover {background: #017a31;}
	.single-product .product > .container {display:block;}
	
	.woocommerce-cart table.shop_table {width: 100%}
	.woocommerce-cart .cart-collaterals {padding: 1rem;}
	.woocommerce-cart table.cart td.actions > * {margin-bottom: .5rem;}
}
@media (min-width: 568px) and (max-width: 767px) {
    .woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product, .tinvwl-table-manage-list tr.wishlist_item {width: 31% ;   }
}
@media only screen and (max-width: 740px) {
/* 	.content ul.products li.product, .woocommerce.logged-in .content ul.products li.product, .tinvwl-table-manage-list tr.wishlist_item {width: 48%; margin: 0 1% 1rem;} */
	.woocommerce ul.products li.product .woocommerce-loop-product__title, .tinvwl-table-manage-list td.product-name a {font-size: .8rem !important;}
}
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
	#wpmenucartli {width: 100%; text-align: center;}
	#top ul.menu a {font-size: .65rem; line-height: 1.5em; padding: 0 .4rem;}
	#middle ul.menu a {font-size: .7em;}
	.rwd-table td {display: flex; margin: 0 4px;}
	#kp-blog-archive .post {display: block;}
	#kp-blog-archive .post > * {width: 100%;}
	#kp-blog-archive .post .featured-thumbnail { margin: 0 0 1rem;}
	#kp-blog-archive .post .featured-thumbnail img {width: 100%;}
	#kp-blog-archive article {padding: 1rem 0;}
	.content h2 {font-size: 1.6rem;}
	.tinvwl-table-manage-list tr.wishlist_item {width: 48%;}

	.rwd-table .variations-table-row {
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
    }
    .rwd-table .variations-table-row td {justify-content: center; flex: 0 0 auto; width: auto;}
	.variations-table-value-ca .woocommerce-variation-add-to-cart {display: flex; flex-direction: column;}
	.single-product .product > .container {padding: 0;}
}


/* Adaptive Font Size */

@media screen and (min-width: 25em){
/*   html { font-size: calc( 16px + (24 - 16) * (100vw - 400px) / (800 - 400) ); } */
}


/*	Retina media query.
	Overrides styles for devices with a 
	device-pixel-ratio of 2+, such as iPhone 4.
-----------------------------------------------    */

@media 
	only screen and (-webkit-min-device-pixel-ratio: 2),
	only screen and (min-device-pixel-ratio: 2) {
	
		
}