.elementor-14 .elementor-element.elementor-element-35ff310{--display:flex;--margin-top:65px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-14 .elementor-element.elementor-element-5707d84{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-14 .elementor-element.elementor-element-aabbb6a{text-align:center;}.elementor-14 .elementor-element.elementor-element-aabbb6a .elementor-heading-title{font-family:"Roboto", Sans-serif;font-size:55px;font-weight:600;color:var( --e-global-color-secondary );}.elementor-14 .elementor-element.elementor-element-14a7d80{--display:flex;}:root{--page-title-display:none;}@media(max-width:767px){.elementor-14 .elementor-element.elementor-element-35ff310{--margin-top:73px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-14 .elementor-element.elementor-element-aabbb6a{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + -20px) 0px;}.elementor-14 .elementor-element.elementor-element-aabbb6a .elementor-heading-title{font-size:25px;}.elementor-14 .elementor-element.elementor-element-14a7d80{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}/* Start custom CSS for html, class: .elementor-element-238f07d */.elementor-14 .elementor-element.elementor-element-238f07d .mello-back-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: "Mello Neulis Alt", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #C03235 !important;
  text-decoration: none !important;
  letter-spacing: -0.01em !important;
  transition: all 0.2s ease !important;
  margin-bottom: 8px !important;
}

.elementor-14 .elementor-element.elementor-element-238f07d .mello-back-link:hover {
  color: #9F2527 !important;
  transform: translateX(-3px) !important;
}

.elementor-14 .elementor-element.elementor-element-238f07d .mello-back-arrow {
  font-size: 15px !important;
  line-height: 1 !important;
  transition: transform 0.2s ease !important;
}

.elementor-14 .elementor-element.elementor-element-238f07d .mello-back-link:hover .mello-back-arrow {
  transform: translateX(-2px) !important;
}/* End custom CSS */
/* Start custom CSS for heading, class: .elementor-element-aabbb6a */.elementor-14 .elementor-element.elementor-element-aabbb6a .elementor-heading-title,
.elementor-14 .elementor-element.elementor-element-aabbb6a {
  color: #C03235 !important;
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-5328982 *//* ===== 1. COMPACT 5PX VERTICAL SPACING ACROSS CHECKOUT ===== */
.woocommerce-checkout h2,
.woocommerce-checkout h3,
.woocommerce-billing-fields > h3,
#customer_details h3,
#order_review_heading {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout .woocommerce-billing-fields,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: block !important;
  width: 100% !important;
  float: none !important;
  opacity: 1 !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

.woocommerce-checkout .form-row {
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  width: 100% !important;
  float: none !important;
  display: block !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout table.shop_table tr.cart-subtotal th,
.woocommerce-checkout table.shop_table tr.cart-subtotal td,
.woocommerce-checkout table.shop_table tr.order-total th,
.woocommerce-checkout table.shop_table tr.order-total td {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

.woocommerce-checkout #payment {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  padding: 5px 12px !important;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 5px !important;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin-top: 0 !important;
  margin-bottom: 5px !important;
  line-height: normal !important;
}

.woocommerce-checkout #payment div.payment_box {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  padding: 5px 10px !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
  line-height: 1.3 !important;
}

.woocommerce-checkout #place_order {
  margin-top: 5px !important;
  margin-bottom: 5px !important;
}

/* ===== 2. LOAD FONTS ===== */
@font-face {
  font-family: "Mello Neulis Alt";
  src: url("https://shop.mellopets.co/mellopets/wp-content/uploads/2026/10/NeulisAlt-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Mello Paralucent";
  src: url("https://shop.mellopets.co/mellopets/wp-content/uploads/2026/10/Paralucent-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== 3. BILLING & CHECKOUT HEADINGS ===== */
.woocommerce-billing-fields > h3,
#customer_details h3,
.woocommerce-checkout h3 {
  font-family: "Mello Paralucent", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #292421 !important;
}

/* ===== 4. SAFELY HIDE FORM LABELS & FALLBACKS ===== */
.woocommerce-billing-fields__field-wrapper .form-row > label:not(.checkbox),
.woocommerce-shipping-fields__field-wrapper .form-row > label:not(.checkbox),
.woocommerce-additional-fields__field-wrapper .form-row > label:not(.checkbox),
#billing_country_field > label,
#billing_state_field > label,
#billing_country_field noscript,
#billing_state_field noscript {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ===== 6. STANDARD TEXT INPUTS & DROPDOWNS ===== */
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select {
  height: 48px !important;
  min-height: 48px !important;
  line-height: normal !important;
  border-radius: 12px !important;
  border: 1px solid #dcdcdc !important;
  background-color: #ffffff !important;
  padding: 0 16px !important;
  font-family: "Mello Neulis Alt", sans-serif !important;
  font-size: 14.5px !important;
  color: #333333 !important;
  box-shadow: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce-checkout .form-row .input-text:focus,
.woocommerce-checkout .form-row select:focus {
  border-color: #292421 !important;
  outline: none !important;
}

.woocommerce-checkout .form-row .input-text::placeholder {
  color: #737373 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* Country Field */
#billing_country_field {
  position: relative !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
}

#billing_country_field > strong {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #333333 !important;
  font-family: "Mello Neulis Alt", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 400 !important;
  line-height: normal !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

/* Select2 Containers (Country & State) */
.woocommerce-checkout .select2-container {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 48px !important;
}

.woocommerce-checkout .select2-container .selection {
  display: block !important;
  width: 100% !important;
  height: 48px !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single {
  height: 48px !important;
  min-height: 48px !important;
  max-height: 48px !important;
  line-height: normal !important;
  border-radius: 12px !important;
  border: 1px solid #dcdcdc !important;
  background-color: #ffffff !important;
  padding: 0 16px !important;
  box-shadow: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  position: relative !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single,
.woocommerce-checkout .select2-container--default.select2-container--focus .select2-selection--single {
  border-color: #292421 !important;
  outline: none !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  height: auto !important;
  line-height: normal !important;
  padding: 0 28px 0 0 !important;
  margin: 0 !important;
  color: #333333 !important;
  font-family: "Mello Neulis Alt", sans-serif !important;
  font-size: 14.5px !important;
  display: block !important;
  width: 100% !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 14px !important;
  display: flex !important;
  align-items: center !important;
  position: absolute !important;
}

/* ===== 7. ORDER REVIEW TABLE (CART & CHECKOUT) ===== */
.woocommerce-cart .cart_totals table.shop_table,
.woocommerce-checkout table.shop_table {
  width: 100% !important;
  border-collapse: collapse !important;
  border: none !important;
}

.woocommerce-cart .cart_totals table.shop_table tr,
.woocommerce-cart .cart_totals table.shop_table th,
.woocommerce-cart .cart_totals table.shop_table td,
.woocommerce-checkout table.shop_table tr.cart-subtotal,
.woocommerce-checkout table.shop_table tr.order-total,
.woocommerce-checkout table.shop_table tr.cart-subtotal th,
.woocommerce-checkout table.shop_table tr.cart-subtotal td,
.woocommerce-checkout table.shop_table tr.order-total th,
.woocommerce-checkout table.shop_table tr.order-total td {
  border: none !important;
  box-shadow: none !important;
}

/* ===== 8. SUBTOTAL ROW ===== */
.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal th,
.woocommerce-checkout table.shop_table tr.cart-subtotal th {
  font-family: "Mello Paralucent", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #292421 !important;
  text-align: left !important;
  padding: 5px 0 !important;
  width: 50% !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal td,
.woocommerce-checkout table.shop_table tr.cart-subtotal td {
  font-family: "Mello Paralucent", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #292421 !important;
  text-align: right !important;
  padding: 5px 0 !important;
  width: 50% !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal td .amount,
.woocommerce-checkout table.shop_table tr.cart-subtotal td .amount {
  color: #292421 !important;
  font-family: "Mello Paralucent", sans-serif !important;
  font-weight: 700 !important;
}

/* ===== 9. TOTAL ROW & GST DISPLAY (SAFE & SIMPLE) ===== */
.woocommerce-cart .cart_totals table.shop_table tr.order-total th,
.woocommerce-checkout table.shop_table tr.order-total th {
  font-family: "Mello Paralucent", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #292421 !important;
  text-align: left !important;
  vertical-align: top !important;
  padding: 15px 0 !important;
  width: 50% !important;
  border: none !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td,
.woocommerce-checkout table.shop_table tr.order-total td {
  text-align: right !important;
  vertical-align: top !important;
  padding: 15px 0 !important;
  width: 50% !important;
  border: none !important;
  position: static !important;
}

/* 1. Red Total Price Stays Normal */
.woocommerce-cart .cart_totals table.shop_table tr.order-total td strong,
.woocommerce-cart .cart_totals table.shop_table tr.order-total td .amount,
.woocommerce-checkout table.shop_table tr.order-total td strong,
.woocommerce-checkout table.shop_table tr.order-total td .amount {
  display: inline-block !important;
  font-family: "Mello Paralucent", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #C03235 !important;
}

/* 2. ONLY the GST text moves to a new line below */
.woocommerce-cart .cart_totals table.shop_table tr.order-total td small.includes_tax,
.woocommerce-checkout table.shop_table tr.order-total td .includes_tax {
  display: block !important;     /* This is the magic rule that pushes it to a new line */
  width: 100% !important;
  margin-top: 5px !important;    /* Small gap between price and GST */
  font-family: "Mello Neulis Alt", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #7d736c !important;
  text-align: right !important;  /* Aligns it neatly under the red price */
  position: static !important;   /* Stops it from floating to the top of the page */
  transform: none !important;
}

.woocommerce-cart .cart_totals table.shop_table tr.order-total td small.includes_tax *,
.woocommerce-checkout table.shop_table tr.order-total td .includes_tax * {
  font-family: "Mello Neulis Alt", sans-serif !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  color: #7d736c !important;
}

/* ===== 10. BUTTONS & ACTIONS ===== */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout #place_order {
  background-color: #C03235 !important;
  color: #ffffff !important;
  font-family: "Mello Paralucent", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 9999px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  letter-spacing: 0.02em !important;
  text-decoration: none !important;
  border: none !important;
  width: 100% !important;
}

/* ===== 11. FORCE CONSISTENT TABLE LAYOUT ON MOBILE ===== */
@media (max-width: 768px) {
  .woocommerce-cart .cart_totals table.shop_table tr.order-total,
  .woocommerce-checkout table.shop_table tr.order-total,
  .woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal,
  .woocommerce-checkout table.shop_table tr.cart-subtotal {
    display: table-row !important;
  }

  .woocommerce-cart .cart_totals table.shop_table tr.order-total th,
  .woocommerce-checkout table.shop_table tr.order-total th,
  .woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal th,
  .woocommerce-checkout table.shop_table tr.cart-subtotal th {
    display: table-cell !important;
    text-align: left !important;
  }

  .woocommerce-cart .cart_totals table.shop_table tr.order-total td,
  .woocommerce-checkout table.shop_table tr.order-total td,
  .woocommerce-cart .cart_totals table.shop_table tr.cart-subtotal td,
  .woocommerce-checkout table.shop_table tr.cart-subtotal td {
    display: table-cell !important;
    text-align: right !important;
  }
}
/* ===== 13. DESKTOP SIDE-BY-SIDE LAYOUT ===== */
@media (min-width: 769px) {
  .woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: 55% 40% !important; /* 55% width for form, 40% for order summary */
    justify-content: space-between !important;
    align-items: flex-start !important;
  }

  /* Left Side: Billing, Shipping & Additional Info */
  .woocommerce-checkout form.checkout #customer_details {
    grid-column: 1 / 2 !important;
    grid-row: 1 / 3 !important; /* Spans down to cover the height of the right column */
    width: 100% !important;
    margin: 0 !important;
  }

  /* Right Side: "Your order" Heading */
  .woocommerce-checkout form.checkout #order_review_heading {
    grid-column: 2 / 3 !important;
    grid-row: 1 / 2 !important;
    width: 100% !important;
    margin-top: 0 !important; 
    padding-top: 0 !important;
  }

  /* Right Side: Order Table & Payment Box */
  .woocommerce-checkout form.checkout #order_review {
    grid-column: 2 / 3 !important;
    grid-row: 2 / 3 !important;
    width: 100% !important;
  }
}/* End custom CSS */