/**
* Theme Name: Nutritix Child
* Description: This is a child theme of Nutritix, generated by Merlin WP.
* Author: <a href="https://wpopal.com/">Opal Team</a>
* Template: nutritix
* Version: 1.3.5
*/

.btn-slider:before, .btn-slider:after {background-color:#CB2026 !important;}

#wpcf7-f16755-o1 .wpcf7-email {width: 80%;float: left;height:48px;transform:skewX(-10deg);-moz-transform:skewX(-10deg);-webkit-transform:skewX(-10deg);}
#wpcf7-f16755-o1 .wpcf7-submit {width: 20%;float: left;background-color:#CB2026 !important;height: 48px;text-align: center;padding: 0;transform:skewX(-10deg);-moz-transform:skewX(-10deg);-webkit-transform:skewX(-10deg);}
#wpcf7-f16755-o1 .wpcf7-submit:hover {background-color:#000;}
.popuptxt {text-align: center;margin: 20px 0 !important;color: #fff;font-family: "Montserrat", Sans-serif;font-style: italic !important;text-transform: uppercase !important;}
#wpcf7-f16755-o1 .wpcf7-response-output {color: #fff;}
#wpcf7-f16755-o1 .wpcf7-not-valid-tip {display: none !important;}
.mybox .elementor-image-box-img:before {display:none;}
.mybox .elementor-image-box-description:hover {color:#464646 !important;}
#shipping_method li > label {float:left;padding-right: 30px;padding-top: 20px;}
#shipping_method label {width: 300px;padding-top: 0 !important;}


.elementor-shortcode .wpcf7-email {width: 80% !important;float: left;height:48px;transform:skewX(-10deg);-moz-transform:skewX(-10deg);-webkit-transform:skewX(-10deg);}
.elementor-shortcode .wpcf7-submit {width: 20%;float: left;background-color:#CB2026 !important;height: 48px;text-align: center;padding: 0;transform:skewX(-10deg);-moz-transform:skewX(-10deg);-webkit-transform:skewX(-10deg);}
.elementor-shortcode .wpcf7-submit:hover {background-color:#000;}
.elementor-shortcode .wpcf7-response-output {color: #fff;}
.elementor-shortcode .wpcf7-not-valid-tip {display: none !important;}

#order_review .woocommerce-checkout-review-order-table td.product-name {white-space: normal;word-break: break-word;overflow-wrap: break-word;}

/* Reset default table layout */
.shop_table.shop_table_responsive {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-collapse: collapse;
}

/* Each table row becomes a flex container */
.shop_table.shop_table_responsive tr {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

/* Headings and data cells style */
.shop_table.shop_table_responsive th,
.shop_table.shop_table_responsive td {
    padding: 0;
    margin: 0;
    flex: 1 1 50%;
    
}

/* Amounts align right */


.woocommerce-cart-form__contents th, .woocommerce-cart-form__contents td {text-align: center !important;} 

/* Make shipping row full width with stacked content */
.shop_table.shop_table_responsive .woocommerce-shipping-totals,
.shop_table.shop_table_responsive .shipping {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0;
}

.shop_table.shop_table_responsive .woocommerce-shipping-totals th,
.shop_table.shop_table_responsive .shipping th,
.shop_table.shop_table_responsive .woocommerce-shipping-totals td,
.shop_table.shop_table_responsive .shipping td {
    width: 100%;
    flex: 1 1 100%;
    text-align: left;
    padding-bottom: 8px;
}

/* Style radio buttons and shipping method text */
.woocommerce-shipping-totals td .shipping_method,
.shipping td .shipping_method {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.woocommerce-shipping-totals td label,
.shipping td label {
    margin-left: 8px;
}

/* Optional: add spacing between rows */
.shop_table.shop_table_responsive tr + tr {
    margin-top: 10px;
}
.woocommerce-shipping-destination {
    white-space: normal;         /* Allow wrapping */
    word-break: normal;          /* Prevent breaking mid-word */
    overflow-wrap: break-word;   /* Break only if necessary */
    line-height: 1.4;
    font-size: 14px;
    margin-top: 8px;
}

/* Prevent tiny word (like zip code or 1 char) from being orphaned on new line */
.woocommerce-shipping-destination bdi {
    display: inline-block;
    white-space: normal;
}

/* Force long addresses to wrap better */
.woocommerce-shipping-destination br {
    display: none; /* Optional: Hide unnecessary <br> if Woo adds any */
}
/* Prevent word from breaking awkwardly */
ul#shipping_method li label {
  display: inline-block;
  white-space: normal;
  word-break: break-word; /* allow clean wrapping */
  overflow-wrap: break-word;
  max-width: 100%;
}

/* Wrap each shipping method in full width */
ul#shipping_method li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 10px;
  width: 100%;
}

/* Optional: space between radio and label */
ul#shipping_method input[type="radio"] {
  margin-top: 3px;
  flex-shrink: 0;
}

/* Make shipping block full width */
.woocommerce-shipping-totals.shipping td {
  display: block;
  width: 100%;
  padding: 0;
}

.woocommerce-cart-form__cart-item .product-name a {
    display: inline-block;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
    min-width: 0;
    flex: 1;
  }
  

  /* Prevent "widows" (1-2 characters on a new line) */
  .woocommerce-cart-form__cart-item .product-name a::after {
    content: '\00a0'; /* non-breaking space to avoid wrap orphan */
  }

@media (max-width: 1099px) {
	#order_review,.woocommerce-checkout #customer_details {width:100%;}
}

@media (max-width: 768px) {

    .shop_table.shop_table_responsive td.product-name {text-align: left !important;}
    .shop_table.shop_table_responsive .cart-subtotal td {text-align: right;}
    table.cart tr td:not(:last-child) {border: none !important;}
    table.cart td.product-remove a.remove {left: 130px;}
    .woocommerce-cart-form__cart-item td {width: 100% !important;}
    table.cart td.product-name a {margin-left: 0;}
    table.cart td.product-thumbnail img {float: left;}
  /* Reset thumbnail positioning */
  .woocommerce-cart-form__cart-item .product-thumbnail {
    position: static !important; /* override absolute */
    width: 60px;
    margin-right: 10px;
  }

  .woocommerce-cart-form__cart-item .product-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
  }

  /* Flex container for thumbnail + name */
  .woocommerce-cart-form__cart-item.cart_item {
    display: flex;
    flex-direction: column;
    padding: 15px 0;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
  }

  .woocommerce-cart-form__cart-item .product-remove {
    align-self: flex-end;
    font-size: 18px;
  }

  .woocommerce-cart-form__cart-item .product-name {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 15px;
  }

  .woocommerce-cart-form__cart-item .product-name a {
    margin-left: 10px;
    flex: 1;
    line-height: 1.3;
  }

  /* Stack quantity and subtotal */
  .woocommerce-cart-form__cart-item .product-quantity,
  .woocommerce-cart-form__cart-item .product-subtotal {
    display: inline-block;
    width: 48%;
    font-size: 14px;
    text-align: right !important;
  }

  .woocommerce-cart-form__cart-item .product-quantity {
    margin-right: 4%;
  }

  /* Optional: hide unit price if subtotal is enough */
  .woocommerce-cart-form__cart-item .product-price {
    display: none;
  }

  /* Tidy up spacing */
  .woocommerce-cart-form__cart-item td {
    display: block;
    width: 100%;
    padding: 6px 0;
  }
}


@media only screen and (max-width: 567px) {
	#wpcf7-f16755-o1 .wpcf7-email {width: 100%;}
	#wpcf7-f16755-o1 .wpcf7-submit {width: 100%;margin-top: 10px;}
	.elementor-shortcode .wpcf7-email {width: 100% !important;}
	.elementor-shortcode .wpcf7-submit {width: 100%;margin-top: 10px;}
	.popuptxt {font-size: 20px;}
	#shipping_method label {width: auto;padding-top: 10px !important;}
}