/*
Theme Name: Divi Child
Template: Divi
Version: 1.0.0
Description: A child theme for Divi
Author: Your Name or Agency
*/

@import url("../Divi/style.css");

#main-content {
    background-color: #f6f3f2;
} 


html:not(.dgwt-wcas-overlay-mobile-on) 
.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact 
.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    background: #f6f3f2 !important;
    color: #2b2b2b !important; 
}

.dgwt-wcas-overlay-mobile {
	   background: #f6f3f2 !important;
}

.dgwt-wcas-open-pirx .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact 
.dgwt-wcas-sf-wrapp, 
.dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on 
.dgwt-wcas-om-bar button.dgwt-wcas-om-return {
 background: #f6f3f2 !important;
    color: #2b2b2b !important; 
}

.dgwt-wcas-suggestions-wrapp {
    background: #f6f3f2 !important;
}

.et_pb_gallery_image a {
  pointer-events: none !important;
  cursor: default !important;
}


.woocommerce-order {
	padding-top:20px;
	color:#ffffff !important;
	font-family: poppins;
}	

.woocommerce-notice, .woocommerce-notice--success, .woocommerce-thankyou-order-received {
	padding-top:10px;
}

.woocommerce-order-details__title, .woocommerce-column__title, .woocommerce-table__product-name a {
	color:#ffffff !important;
	font-family: poppins;
}	


.woocommerce-customer-details {
    border-style: none;
}

.woocommerce-column--shipping-address {
 margin-top: 10px;
}

.logged-in-as a {
   text-decoration: underline;
}

.woocommerce-checkout-review-order-table .order-total {
    display: table-row !important;
}

/* Ingredient CPT – tweak default H1 */
.single-ingredient h1.entry-title {
	/* 10 vw gap above the heading */
	margin-top: 10vw;

	/* Fluid type that scales with viewport width */
	font-size: 5vw;

	/* Optional niceties – tweak or remove as you like */
	line-height: 1.1;
	font-weight: 700;
}

@media (max-width: 980px) {

  /* Adjust the cart table row layout */
  .woocommerce-page table.cart tbody tr {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 15px;
    padding-bottom: 15px;
    position: relative;
  }

  /* Image adjustments */
  .woocommerce-page table.cart .product-thumbnail {
    flex: 0 0 25%;
    display: block !important;
    margin-right: 15px;
border-top: 0;
  }

  .woocommerce-page table.cart .product-thumbnail img {
    width: 120% !important;
    height: auto;
    max-width: 120px !important;
  }

  /* Text column adjustments */
  .woocommerce-page table.cart td.product-name,
  .woocommerce-page table.cart td.product-quantity,
  .woocommerce-page table.cart td.product-subtotal {
    flex: 0 0 70%;
    display: block !important;
    text-align: left !important;
    border: none;
  }
	
   .woocommerce-page table.cart td.product-quantity {
   margin-left: 27vw!important;
margin-top: -70px!important;
  }

   .woocommerce-page table.cart td.product-subtotal {
   margin-left: 27vw!important;
margin-top: -50px!important;
  }
	
	
  .woocommerce-page table.cart td.product-name a {
    display: block;
    margin-bottom: 5px;
	 margin-left: 5px;
    padding-right: 30px; /* prevents overlap with remove icon */
  }

  /* Remove price column */
  .woocommerce-page table.cart td.product-price {
    display: none !important;
  }

  /* Move remove icon to top-right with spacing */
  .woocommerce-page table.cart .product-remove {
    position: absolute;
    top: 5px;
    right: 5px;
	  border-top: 0;
  }

  /* Hide "Product" label */
  .woocommerce-page table.cart td.product-name::before {
    display: none;
  }

/* Hide "image" label */
  .woocommerce-page table.cart td.product-thumbnail::before {
    display: none;
  }
	
	.woocommerce-cart-form__cart-item.cart_item {
        margin-bottom: 0px!important;
    }

  .woocommerce-page table.cart tr td.actions{
    margin-bottom:-20px!important;
}
	
	.woocommerce-cart-form__cart-item .cart_item {
		 margin-bottom: 0px!important;
	}

.et-db #et-boc .et-l .et_pb_wc_cart_products table.shop_table td, .et-db #et-boc .et-l .et_pb_wc_cart_products table.shop_table th {
    border-top-style: none!important;
}
}
