/*
Theme Name: Bravo Theme
Template: hello-elementor
Author: Bravo Webbyrå
Version: 1.0.1602232423
Updated: 2020-10-09 10:33:43

*/
/* Custom Continue Shopping Button */
/* Show button ONLY when WooCommerce success message exists */
body:has(.woocommerce-notices-wrapper .woocommerce-message) .add-cart-show {
    display: block !important;
}

/* checkout page */
.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table td.product-name,
.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table th.product-name {
    max-width: 40% !important;
    width:100% !important;
    padding-right:20px !important;

}

.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table td.product-total,
.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table th.product-total,
.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table td:last-child,
.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table th:last-child {
    max-width: 60% !important;
    width:100% !important;
    padding-right:0px !important;
}
.elementor-location-single .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tr:not(.order-total) th,
.elementor-location-single .elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tr:not(.order-total) td{
    border-bottom: 1px solid #00000030 !important;
}
    
/* Free shipping info card - default (not yet free) */
.free-shipping-message {
  display: flex;
  align-items: center;
  color: #1f2937;
  font-size: 14px;
  line-height: 1.3;
  max-width: 100%;
  word-break: break-word;
  padding-left: 35px !important;
}

/* small icon at left (cheerful truck) */
.free-shipping-message::before {
  content: "🚚";
  font-size: 20px;
  line-height: 0.5;
  margin-left: 0px;
  position: absolute;
  top: 0;
  left: 0;
  right: auto;
}

/* Emphasised price capsule */
.free-shipping-message .woocommerce-Price-amount {
  display: inline-block;
  border-radius: 8px;
  font-weight: 700;
  margin: 0 6px;
  white-space: nowrap;
}

/* Currency symbol spacing and weight */
.free-shipping-message .woocommerce-Price-currencySymbol {
  font-weight: 600;
}

/* Success state (when free shipping achieved) */
.free-shipping-message.success {
  background: linear-gradient(90deg, #eefef3 0%, #ffffff 100%);
  border: 1px solid rgba(34,197,94,0.12);
  color: #065f46;
}
.free-shipping-message.success::before {
  content: "🎉";
}

/* Slightly different message color for info vs. success */
.free-shipping-message.info { color: #1f2937; }
.free-shipping-message.success { color: #065f46; }
.middle-part{
	font-style: normal;
    padding: 8px;
    display: block;
}

/* Responsive tweaks */
@media (max-width: 480px) {
  .free-shipping-message { font-size: 14px; padding: 10px 12px; gap: 8px; }
  .free-shipping-message .woocommerce-Price-amount { padding: 5px 8px; font-size: 14px; }
}
