/*
Theme Name: Porto Child
Theme URI: https://www.portotheme.com/wordpress/porto
Author: P-THEMES
Author URI: https://www.portotheme.com/
Description: Porto Responsive WordPress + eCommerce Theme.
Version: 1.1
Template: porto
License: Commercial
License URI: http://themeforest.net/licenses/regular_extended
Tags: woocommerce, corporate, ecommerce, responsive, blue, black, green, white, light, dark, red, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
*/

/*************** ADD YOUR CUSTOM CSS HERE  ***************/
/* ================================
   MOBILE VIEW (Up to 768px)
================================ */
/* ------------------------------ */
/* MOBILE (max 600px)             */
/* ------------------------------ */
@media (max-width: 600px) {

  .cart_item {
      display: block !important;
      background: #fff;
/*       padding: 20px; */
      border-radius: 20px;
      margin-bottom: 20px;
  }

  .product-name .product-thumbnail {
      text-align: center;
  }

  .product-name img {
      width: 120px !important;
      height: auto !important;
      margin: 0 auto 10px;
  }

  .product-name a {
      display: block;
      font-size: 15px;
      text-align: center;
      margin: 10px 0;
      font-weight: 600;
  }

  .shop_table.responsive.cart-total .product-price{
      text-align: center !important;
      display: block !important;
      font-size: 18px;
      font-weight: 600;
  }
	.shop_table.review-order.woocommerce-checkout-review-order-table{
		text-align: left !important;
	}
	.product-subtotal{
		display: none !important;
	} 
  .product-quantity {
      text-align: center !important;
      margin-top: 10px;
  }

  .product-remove {
      text-align: center !important;
      margin-top: 10px;
  }

  .product-remove .remove {
      color: red !important;
      display: inline-flex;
      align-items: center;
      font-weight: 600;
  }
	.cart_item td.product-remove {
		margin-top: 40px !important;
	}	
	table.shop_table.review-order.woocommerce-checkout-review-order-table tr.fee {
		border: unset !important;
		position: absolute;
	}

}

/* ------------------------------ */
/* TABLET VIEW (601px – 991px)    */
/* ------------------------------ */
@media (min-width: 601px) and (max-width: 991px) {

  .cart_item {
      display: flex !important;
      flex-wrap: nowrap;
      align-items: center;
      background: #fff;
      padding: 20px;
      border-radius: 20px;
      margin-top: 20px;
  }

  /* Image column */
  .product-name .product-thumbnail {
      margin-right: 20px;
      gap: 15px;	  
  }

  .product-name img {
      width: 140px !important;
      height: auto !important;
  }

  /* Title + Price column */
  .product-name{
	  width:100% !important;	
  }	
  .product-name a {
      font-size: 14px;
      font-weight: 600;
      display: block;
      margin-bottom: 10px;
	  line-height: 20px;
	}

  .product-price {
      font-size: 14px;
      font-weight: 600;
      padding: 0 20px;
	  width: 100%;
      text-align: center !important;
	}

  /* Quantity column */
  .product-quantity {
      font-size: 14px;
	  padding: 0 20px;
      text-align: center !important;
	  width: 22%;
  }

  /* Delete button */
  .product-remove {
      font-size: 14px;
      text-align: center !important;
      padding: 0 15px;
	  width: 15%;
  }
	.cart_item td.product-remove {
		position: relative !important;
		/* top: 200px; */
		left: -70px !important;
		margin-top: 35px !important;
	}
  .product-remove .remove {
      color: red !important;
      display: inline-block;
      font-weight: 600;
 }

  /* Subtotal */
  .product-subtotal {
      font-size: 14px !important;	  
      text-align: right;
      font-size: 18px;
      font-weight: bold;
	  width: 16%;
  }
  .shop_table.cart-table .quantity .minus, .shop_table.cart-table .quantity .plus, .single-product .product-summary-wrap .quantity .minus, .single-product .product-summary-wrap .quantity .plus{
	  width: 35px;
      height: 2.5rem !important;	  
	}
	.shop_table.cart-table .quantity .qty, .single-product .product-summary-wrap .quantity .qty{
		width: 44px;
        height: 2.5rem !important;	  
	}
	table.shop_table.review-order.woocommerce-checkout-review-order-table tr.fee {
		border: unset !important;
		position: absolute;
	}
	
	table.shop_table.review-order.woocommerce-checkout-review-order-table tr.fee span.woocommerce-Price-amount.amount {
		position: relative !important;
        bottom: 0px !important;
        left: 2px !important;
        top: 30px !important;
	}
	.cart-v2 .card-default tbody tr {
    	display: table-row;
	}
	.cart-v2 .card-default tbody td {
		padding: 0px;
	}
}

/* Group 1: iPad Mini & iPad Air */
@media only screen 
  and (min-width: 768px) 
  and (max-width: 819px) {
    /* CSS for iPad Mini & iPad Air */
	.single-product .product-summary-wrap .yith-wcwl-add-to-wishlist {
		left: 160px !important;
		width: 46% !important;
	}
	  a.button.gmwqp_inq.wp-block-button__link.wp-element-button {
		  width: 35% !important;
	  }
	.shop_table td {
		padding: 20px 15px;
	}	  
	  .product-name .product-thumbnail{
		  width: 230px;
	  }
	  .product-name {
        width: 45% !important;
    }
    .product-quantity {
        width: 25% !important;
    }
    .product-price {
		width: 20% !important;
	  }	  
    .cart_item td.product-remove {
        position: relative !important;
        top: 0px !important;
        left: -55px !important;
        margin-top: 35px !important;
    }
/* 	Header   */
    .elementor-widget-porto_hb_myaccount .my-account {
  display: inline-block;
	padding-left:0px !important; 
    }
.elementor-widget-porto_hb_myaccount a.my-account:after {
    font-size: 14px !important;
padding-left: 80px !important;
}    
    #header .elementor-element-efda163 .my-account {
        margin: -1px !important;
        padding-right: 10px !important;
    }
}
/* Group 2: iPad Air */
@media only screen 
  and (min-width: 820px) 
  and (max-width: 879px) {
    /* CSS for iPad Air */
	.shop_table td {
		text-align: left;
		padding: 20px 20px;
	}	  
	   .cart_item {
			display: table-row !important;
	  }  
    .cart_item td.product-remove {
        position: relative !important;
        top: 53px;
        left: -45px !important;
        margin-top: 35px !important;
    }
	  
	.single-product .product-summary-wrap .yith-wcwl-add-to-wishlist {
		left: 170px !important;
		width: 42% !important;
	}
	  a.button.gmwqp_inq.wp-block-button__link.wp-element-button {
		  width: 35% !important;
	  }
/* 	Header   */
    .elementor-widget-porto_hb_myaccount .my-account {
  display: inline-block;
	padding-left:0px !important; 
    }
.elementor-widget-porto_hb_myaccount a.my-account:after {
    font-size: 14px !important;
padding-left: 80px !important;
}    
    #header .elementor-element-efda163 .my-account {
        margin: -1px !important;
        padding-right: 10px !important;
    }	  
}
/* Group 3: Surface Pro 7  */
@media only screen 
  and (min-width: 880px) 
  and (max-width: 979px) {
    /* CSS for iPad Pro & Surface Pro 7 */
	.single-product .product-summary-wrap .yith-wcwl-add-to-wishlist {
		left: 190px !important;
		width: 42% !important;
	}
	  a.button.gmwqp_inq.wp-block-button__link.wp-element-button {
		  width: 35% !important;
	  }
	   .cart_item {
			display: table-row !important;
	  }  
    .cart_item td.product-remove {
        position: relative !important;
        top: 53px;
        left: -45px !important;
        margin-top: 35px !important;
    }
.shop_table td {
    padding: 20px 20px !important;
}	  
	.single-product .product-summary-wrap .yith-wcwl-add-to-wishlist {
		left: 170px !important;
		width: 42% !important;
	}
	  a.button.gmwqp_inq.wp-block-button__link.wp-element-button {
		  width: 35% !important;
	  }	  
/* 	 Header  */
    .elementor-widget-porto_hb_myaccount .my-account {
  display: inline-block;
	padding-left:0px !important; 
    }
.elementor-widget-porto_hb_myaccount a.my-account:after {
    font-size: 14px !important;
padding-left: 80px !important;
}    
    #header .elementor-element-efda163 .my-account {
        margin: -1px !important;
        padding-right: 10px !important;
    }	  
}
/* Group 4: iPad Pro*/
@media only screen 
  and (min-width: 991px) 
  and (max-width: 1024px) {
    /* CSS for iPad Pro & Surface Pro 7 */
	.single-product .product-summary-wrap .yith-wcwl-add-to-wishlist {
		left: 180px !important;
		width: 35% !important;
	}
	  a.button.gmwqp_inq.wp-block-button__link.wp-element-button {
		  width: 28% !important;
	  }
	  
/* 	 Header  */
    .elementor-widget-porto_hb_myaccount .my-account {
  display: inline-block;
	padding-left:0px !important; 
    }
.elementor-widget-porto_hb_myaccount a.my-account:after {
    font-size: 14px !important;
padding-left: 80px !important;
}    
    #header .elementor-element-efda163 .my-account {
        margin: -1px !important;
        padding-right: 10px !important;
    }	  	  
}
.custom-stock-label {
    font-weight: 600;
    font-size: 15px;
}

.custom-stock-label.in-stock {
    color: #28a745 !important;
}

.custom-stock-label.backorder {
    color: #ff8c00 !important;
}

.custom-stock-label.out-of-stock {
    color: #cc0000 !important;
}



/* Capitalize 'terms and conditions' link */
.woocommerce-terms-and-conditions-link {
    display: inline-block;
}
.woocommerce-terms-and-conditions-link::first-letter {
    text-transform: uppercase !important;
}

/* Capitalize 'privacy policy' link */
.woocommerce-privacy-policy-link {
    display: inline-block;
}
.woocommerce-privacy-policy-link::first-letter {
    text-transform: uppercase !important;
}
