.faq-box {
  cursor: pointer;
}

.faq-box img {
  transition: transform 0.3s ease-in-out;
}

.faq-box figure {
  display: flex !important;
  transition: height 0.3s ease-in-out;
}

.wp-block-buttons {
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out !important;
}

.img-rotate {
  animation: rotate 10s linear infinite;
}

.is-acf-field.price {
    display: flex;
    gap: 7px;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

:root :where(.wp-element-button, .wp-block-button__link) {
  transition: all 0.3s ease-in-out;
}

.slick-prev, .slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 20px;
  height: 20px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
  right: 100px !important;
  left: unset !important;
  bottom: -32px !important;
  top: unset !important;
}

.slick-prev {
  right: 170px !important;
}

.slick-dots {
  display: flex;
}

 .slick-dots li button:before {
  font-size: 10px;
}

.cover-hover *{
  transition: all 0.3s ease-in-out;
}
.cover-hover span{
  transition: all 0.3s ease-in-out;
}
.cover-hover:hover span.wp-block-cover__background{
  background-color: #0245c7 !important;
  opacity: 0.4 !important;
}

.cover-hover:hover *{
  color: white !important;
  border-color: white !important;
}

/* General form styling */
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: transparent;
    border-radius: 8px;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) .gfield_label {
    font-weight: bold;
    margin-bottom: 5px;
}

.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) .gfield_required {
    color: red;
}

.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) .ginput_container {
    margin-bottom: 20px;
}

.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) input[type="text"],
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) input[type="email"],
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) input[type="tel"],
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) textarea,
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) select {
    width: 100%;
    padding: 5px 12px !important;
    border: 1px solid #CCCCCC;
    border-radius: 12px;
    background-color: #fff;
    font-size: 16px;
    box-shadow: none;
    color: black !important;
    height: auto !important;
}
#gform_wrapper_1 .gform_validation_errors {
  background: #fff !important;
}
#gform_wrapper_1 .gfield_validation_message {
  border: var(--gf-form-validation-border-width) var(--gf-form-validation-border-style) var(--gf-form-validation-border-color);
  border-radius: 2px;
  padding: 6px;
  display: table !important;
  background: #fff !important
}
#gform_fields_4 {
  row-gap: 20px !important;
}
.gform-theme--foundation .gfield select.large {
  inline-size: 100%;
  height: 50px;
}
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) input[type="text"]::placeholder,
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) input[type="email"]::placeholder,
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) input[type="tel"]::placeholder,
.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) textarea::placeholder {
    color: #969696 !important;
}

.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) .gform_footer {
    text-align: center;
}

.gform_wrapper:not(.footer .gform_wrapper,.newsletter .gform_wrapper) .gform_button {
    background-color: #007bff;
    color: #fff;
    padding: 10px 20px !important;
    border: none;
    border-radius: 30px !important;
    font-size: 16px;
    cursor: pointer;
}


.gform_wrapper:not(.footer .gform_wrapper, .newsletter .gform_wrapper) .gform_button:hover {
    background-color: #0056b3;

}

.gform_required_legend{
  display: none;
}



.footer .gform-body textarea,
.footer .gform-body input[type="text"],
.footer .gform-body input[type="email"],
.footer .gform-body input[type="tel"] {
  background: transparent !important;
  border: 1px solid white !important;
  border-radius: 12px !important;
  color: white !important;
}

.footer .gform-body input[type="text"],
.footer .gform-body input[type="email"],
.footer .gform-body input[type="tel"] {
  min-height: 51px !important;
}


.footer #gform_submit_button_1.gform_button {
  background: white !important;
  border-radius: 12px !important;
  color: black !important;
  width: 100% !important;
  border-radius: 50px !important;
  min-height: 60px !important;
  background: white !important;
  color: #00205c !important;
  font-size: 21px !important;
}



.wp-block-navigation-link:hover {
  color: #2464D0 !important;
}

.gform_confirmation_message_1.gform_confirmation_message {
  color: #fff !important;
}
@media (max-width: 850px) {
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__submenu-icon {
  top: 10px !important;
}
}
@media (max-width: 768px) {
  .footer-copyright {
    flex-direction: column; 
  }
  .footer-copyright * {
    flex-basis: unset !important;
    text-align: center !important;
  }
.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    width: 50px;
    height: 20px;
    padding: 0;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
    bottom: -62px !important;
    top: unset !important;
}
.slick-prev {
    left: calc(50% - 30px) !important
}
.slick-next {
    left: calc(50% + 30px) !important
}
}

.wp-block-site-logo.is-default-size img {
  height: auto;
  max-width: 300px;
  width: 100% !important;
}

/* Menu */
ul.wp-block-navigation__submenu-container.wp-block-navigation-submenu
{
	/*border-radius: 15px 0px 15px 15px;*/
}

#desktop-menu .wp-block-navigation .has-child .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container
{
	height:286px !important;
	border-left: none !important;
    border-radius: 0px 15px 15px 0px !important;
}
.coding-and-marking ul
{
	top:-16px !important;
	/*left: 107% !important;*/
}

.food-pro ul
{
	top:-56.5px !important;
	/*left: 107% !important;*/
}

.misc ul
{
	top:-138.5px !important;
	/*left: 107% !important;*/
}

.pro-inspec ul
{
	top:-179px !important;
	/*left: 107% !important;*/
}

.soft ul
{
	top:-220px !important;
	/*left: 107% !important;*/	
}

.weigh ul
{
	top:-260.5px !important;
	/*left: 107% !important;*/
}

.indus ul
{
	top:-16px !important;
	/*left: 107% !important;*/
}

.lab ul
{
	top:-57px !important;
	/*left: 107% !important;*/
}

.wp-block-navigation-submenu__toggle svg
{
	transition:all 0.3s ease;
}

.wp-block-navigation-submenu__toggle[aria-expanded="false"] svg
{
	transform: rotate(-0deg) !important;	
}
.wp-block-navigation-submenu__toggle[aria-expanded="true"] svg
{
	transform: rotate(-90deg) !important;
}

.gform-theme--foundation .gfield .ginput_password.large, .gform-theme--foundation .gfield input.large, .gform-theme--foundation .gfield select.large{
      outline: 0px solid;
}   Advanced Scales — WooCommerce Product Purchase Interface
   ========================================================== */

.advancedscales-woocommerce-purchase {
	margin: 20px 0 32px;
}

/* Product price */
.advancedscales-woocommerce-purchase > .price {
	display: block;
	margin: 0 0 22px;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.4;
	color: #111;
}

.advancedscales-woocommerce-purchase .price .woocommerce-Price-amount {
	font-weight: 500;
}

/* Variation table */
.advancedscales-woocommerce-purchase table.variations {
	width: auto;
	margin: 0 0 18px;
	border: 0;
	border-collapse: collapse;
}

.advancedscales-woocommerce-purchase table.variations th,
.advancedscales-woocommerce-purchase table.variations td {
	padding: 0 14px 12px 0;
	border: 0;
	vertical-align: middle;
	text-align: left;
}

.advancedscales-woocommerce-purchase table.variations th.label {
	font-size: 18px;
	font-weight: 600;
	white-space: nowrap;
}

/* Variation dropdown */
.advancedscales-woocommerce-purchase table.variations select {
	min-width: 200px;
	min-height: 46px;
	padding: 8px 38px 8px 14px;
	border: 1px solid #0b4fd6;
	border-radius: 5px;
	background-color: #fff;
	font: inherit;
	color: #111;
	cursor: pointer;
}

/* WooCommerce reset / Clear link */
.advancedscales-woocommerce-purchase .reset_variations {
	display: inline-block;
	margin-left: 12px;
	font-size: 14px;
	color: #0b4fd6;
	text-decoration: none;
}

.advancedscales-woocommerce-purchase .reset_variations:hover {
	text-decoration: underline;
}

/* Selected variation */
.advancedscales-woocommerce-purchase .single_variation {
	margin: 2px 0 18px;
}

.advancedscales-woocommerce-purchase .single_variation .price {
	display: block;
	margin-bottom: 10px;
	font-size: 18px;
	font-weight: 500;
	color: #111;
}

.advancedscales-woocommerce-purchase .woocommerce-variation-availability p {
	margin: 5px 0 14px;
	font-size: 16px;
}

/* Quantity + Add to basket */
.advancedscales-woocommerce-purchase .woocommerce-variation-add-to-cart,
.advancedscales-woocommerce-purchase form.cart:not(.variations_form) {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
}

.advancedscales-woocommerce-purchase .quantity {
	margin: 0;
}

.advancedscales-woocommerce-purchase .quantity .qty {
	box-sizing: border-box;
	width: 72px;
	height: 50px;
	padding: 8px 10px;
	border: 1px solid #b8b8b8;
	border-radius: 5px;
	background: #fff;
	font-size: 16px;
	text-align: center;
}

/* Add to basket button */
.advancedscales-woocommerce-purchase .single_add_to_cart_button {
	min-height: 50px;
	padding: 12px 28px !important;
	border: 2px solid #0b4fd6 !important;
	border-radius: 28px !important;
	background: #0b4fd6 !important;
	color: #fff !important;
	font-size: 17px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	cursor: pointer;
	transition: opacity .2s ease, background-color .2s ease;
}

.advancedscales-woocommerce-purchase .single_add_to_cart_button:hover {
	opacity: .88;
}

.advancedscales-woocommerce-purchase .single_add_to_cart_button.disabled,
.advancedscales-woocommerce-purchase .single_add_to_cart_button:disabled {
	opacity: .45;
	cursor: not-allowed;
}

/* Out-of-stock message */
.advancedscales-woocommerce-purchase .stock.out-of-stock {
	margin: 8px 0 16px;
	font-weight: 500;
}

/* Small screens */
@media (max-width: 600px) {
	.advancedscales-woocommerce-purchase table.variations th,
	.advancedscales-woocommerce-purchase table.variations td {
		display: block;
		width: 100%;
		padding-right: 0;
	}

	.advancedscales-woocommerce-purchase table.variations select {
		width: 100%;
		min-width: 0;
	}

	.advancedscales-woocommerce-purchase .reset_variations {
		margin: 8px 0 0;
	}

	.advancedscales-woocommerce-purchase .woocommerce-variation-add-to-cart,
	.advancedscales-woocommerce-purchase form.cart:not(.variations_form) {
		align-items: stretch;
	}

	.advancedscales-woocommerce-purchase .single_add_to_cart_button {
		min-height: 50px;
	}
}

/* Keep WooCommerce quantity spinner arrows visible */
.woocommerce .quantity input.qty {
    -moz-appearance: auto;
    appearance: auto;
}

.woocommerce .quantity input.qty::-webkit-inner-spin-button,
.woocommerce .quantity input.qty::-webkit-outer-spin-button {
    opacity: 1;
    display: block;
    -webkit-appearance: inner-spin-button;
}

/* Advanced Scales product accordion — constrain arrow icon */
.acc-container .acc-btn {
    box-sizing: border-box;
    min-height: 52px;
}

.acc-container .acc-btn .acc-arrow {
    display: block;
    width: 20px !important;
    height: 20px !important;
    min-width: 20px;
    max-width: 20px !important;
    object-fit: contain;
    flex: 0 0 20px;
    padding: 0 !important;
    margin: 0 12px;
}

.acc-container .acc-btn h3 {
    margin: 0;
    flex: 1 1 auto;
}

/* ==========================================================
   Advanced Scales — Header Basket
   ========================================================== */

.advancedscales-header-actions {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    gap: 18px !important;
}

.advancedscales-basket {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.advancedscales-basket:hover {
    color: #0245c7;
}

.advancedscales-basket-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: #0245c7;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

@media (max-width: 781px) {
    .advancedscales-header-actions {
        gap: 10px !important;
    }

    .advancedscales-basket-label {
        display: none;
    }
}


/* ==========================================================
   Advanced Scales — WooCommerce Cart
   ========================================================== */

.woocommerce-cart .wp-site-blocks main,
.woocommerce-cart main {
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
}

.woocommerce-cart .woocommerce {
    margin: 30px 0 70px;
}

/* Page title */
.woocommerce-cart h1,
.woocommerce-cart .wp-block-post-title {
    color: #0245c7;
    font-weight: 600;
}

/* Main cart table */
.woocommerce-cart table.shop_table {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #fff;
}

.woocommerce-cart table.shop_table th {
    padding: 16px 14px;
    background: #f6f7f9;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    color: #222;
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.woocommerce-cart table.shop_table td {
    padding: 18px 14px;
    border: 0;
    border-bottom: 1px solid #e5e7eb;
    vertical-align: middle;
}

.woocommerce-cart table.shop_table tr:last-child td {
    border-bottom: 0;
}

/* Product thumbnail */
.woocommerce-cart td.product-thumbnail {
    width: 100px;
}

.woocommerce-cart td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 5px;
}

/* Product title */
.woocommerce-cart td.product-name a {
    color: #0245c7;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-cart td.product-name a:hover {
    text-decoration: underline;
}

/* Prices */
.woocommerce-cart td.product-price,
.woocommerce-cart td.product-subtotal {
    font-weight: 500;
    white-space: nowrap;
}

/* Quantity */
.woocommerce-cart .quantity .qty {
    box-sizing: border-box;
    width: 72px;
    height: 46px;
    padding: 7px 8px;
    border: 1px solid #b8b8b8;
    border-radius: 5px;
    background: #fff;
    font-size: 16px;
    text-align: center;
}

/* Always show native number arrows */
.woocommerce-cart .quantity input.qty::-webkit-inner-spin-button,
.woocommerce-cart .quantity input.qty::-webkit-outer-spin-button {
    opacity: 1;
    display: block;
    -webkit-appearance: inner-spin-button;
}

/* Remove item */
.woocommerce-cart a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: 1px solid #d7d7d7;
    border-radius: 50%;
    color: #777 !important;
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
    text-decoration: none;
}

.woocommerce-cart a.remove:hover {
    border-color: #0245c7;
    background: #0245c7;
    color: #fff !important;
}

/* Coupon / update row */
.woocommerce-cart table.cart td.actions {
    padding: 18px;
    background: #fafafa;
}

.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woocommerce-cart .coupon input.input-text {
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid #b8b8b8;
    border-radius: 5px;
}

/* WooCommerce cart buttons */
.woocommerce-cart .button,
.woocommerce-cart button.button {
    min-height: 46px;
    padding: 10px 22px !important;
    border: 2px solid #0245c7 !important;
    border-radius: 24px !important;
    background: #fff !important;
    color: #0245c7 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}

.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover {
    background: #0245c7 !important;
    color: #fff !important;
}

.woocommerce-cart button.button:disabled {
    opacity: .45;
}

/* Cart totals */
.woocommerce-cart .cart-collaterals {
    margin-top: 36px;
}

.woocommerce-cart .cart_totals {
    float: right;
    width: min(100%, 520px) !important;
    padding: 28px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
}

.woocommerce-cart .cart_totals h2 {
    margin: 0 0 20px;
    color: #0245c7;
    font-size: 24px;
    font-weight: 600;
}

.woocommerce-cart .cart_totals table {
    margin: 0 0 22px;
    border: 0 !important;
}

.woocommerce-cart .cart_totals table th,
.woocommerce-cart .cart_totals table td {
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid #ececec;
    background: transparent;
}

.woocommerce-cart .cart_totals table th {
    width: 42%;
    font-weight: 500;
}

.woocommerce-cart .cart_totals .order-total th,
.woocommerce-cart .cart_totals .order-total td {
    padding-top: 18px;
    border-bottom: 0;
    font-size: 20px;
    font-weight: 700;
}

.woocommerce-cart .cart_totals .order-total .amount {
    color: #0245c7;
}

/* Checkout CTA */
.woocommerce-cart .wc-proceed-to-checkout {
    padding: 8px 0 0;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 26px !important;
    border: 2px solid #0245c7 !important;
    border-radius: 28px !important;
    background: #0245c7 !important;
    color: #fff !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    text-align: center;
}

.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    opacity: .88;
}

/* Clear floats below totals */
.woocommerce-cart .cart-collaterals::after {
    content: "";
    display: table;
    clear: both;
}

/* Mobile cart */
@media (max-width: 781px) {

    .woocommerce-cart .woocommerce {
        margin-top: 20px;
    }

    .woocommerce-cart table.shop_table_responsive tr {
        margin-bottom: 18px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        overflow: hidden;
    }

    .woocommerce-cart table.shop_table_responsive tr td {
        padding: 12px 14px;
    }

    .woocommerce-cart table.cart td.actions {
        background: #fafafa;
    }

    .woocommerce-cart .coupon {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 12px;
    }

    .woocommerce-cart .coupon input.input-text,
    .woocommerce-cart .coupon .button {
        width: 100% !important;
    }

    .woocommerce-cart .cart_totals {
        float: none;
        width: 100% !important;
        box-sizing: border-box;
        padding: 22px;
    }
}


/* ==========================================================
   Advanced Scales - Checkout
   Compact branded desktop checkout
   ========================================================== */

.advancedscales-checkout-page {
    max-width: 1440px !important;
    margin: 0 auto;
    padding: 28px 48px 70px;
}

.advancedscales-checkout-title {
    color: #0751cc;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 600;
    margin: 0 0 30px;
}

/* Let WooCommerce checkout use the available page width */
.advancedscales-checkout-page .woocommerce {
    width: 100%;
    max-width: none;
}

.advancedscales-checkout-page form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, 0.85fr);
    column-gap: 48px;
    align-items: start;
}

/* LEFT COLUMN */
.advancedscales-checkout-page #customer_details {
    grid-column: 1;
    display: block;
    width: 100%;
}

.advancedscales-checkout-page #customer_details .col-1,
.advancedscales-checkout-page #customer_details .col-2 {
    width: 100%;
    float: none;
}

.advancedscales-checkout-page #customer_details .col-2 {
    margin-top: 20px;
}

/* RIGHT COLUMN */
.advancedscales-checkout-page #order_review_heading,
.advancedscales-checkout-page #order_review {
    grid-column: 2;
}

.advancedscales-checkout-page #order_review_heading {
    grid-row: 1;
    margin: 0 0 14px;
    align-self: start;
}

.advancedscales-checkout-page #order_review {
    grid-row: 1;
    margin-top: 48px;
}

/* Headings */
.advancedscales-checkout-page .woocommerce-billing-fields > h3,
.advancedscales-checkout-page .woocommerce-additional-fields > h3,
.advancedscales-checkout-page #order_review_heading {
    color: #0751cc;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
}

/* Compact billing field layout */
.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper .form-row {
    width: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Full-width fields */
.advancedscales-checkout-page #billing_country_field,
.advancedscales-checkout-page #billing_address_1_field,
.advancedscales-checkout-page #billing_address_2_field,
.advancedscales-checkout-page #billing_email_field {
    grid-column: 1 / -1;
}

/* Labels */
.advancedscales-checkout-page form .form-row label {
    display: block;
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 500;
}

/* Inputs */
.advancedscales-checkout-page form .input-text,
.advancedscales-checkout-page form select,
.advancedscales-checkout-page .select2-container .select2-selection--single {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c9cdd4;
    border-radius: 7px;
    background: #fff;
    box-shadow: none;
    font-size: 16px;
}

.advancedscales-checkout-page form .input-text {
    padding: 10px 14px;
}

.advancedscales-checkout-page textarea.input-text {
    min-height: 92px;
    resize: vertical;
}

/* Additional information */
.advancedscales-checkout-page .woocommerce-additional-fields {
    margin-top: 20px;
}

.advancedscales-checkout-page .woocommerce-additional-fields__field-wrapper .form-row {
    margin-bottom: 0;
}

/* Order card */
.advancedscales-checkout-page #order_review {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 12px;
    padding: 26px;
    box-shadow: 0 4px 18px rgba(0,0,0,.035);
}

.advancedscales-checkout-page table.shop_table {
    border: 0;
    border-collapse: collapse;
    margin: 0 0 20px;
}

.advancedscales-checkout-page table.shop_table th,
.advancedscales-checkout-page table.shop_table td {
    padding: 14px 8px;
    border-top: 0;
    border-bottom: 1px solid #e4e6e9;
}

.advancedscales-checkout-page table.shop_table th:first-child,
.advancedscales-checkout-page table.shop_table td:first-child {
    padding-left: 0;
}

.advancedscales-checkout-page table.shop_table th:last-child,
.advancedscales-checkout-page table.shop_table td:last-child {
    padding-right: 0;
    text-align: right;
}

.advancedscales-checkout-page .order-total th,
.advancedscales-checkout-page .order-total td {
    font-size: 21px;
    font-weight: 700;
}

.advancedscales-checkout-page .order-total .amount {
    color: #0751cc;
}

/* Payment area */
.advancedscales-checkout-page #payment {
    background: #f7f8fa;
    border-radius: 9px;
    margin-top: 18px;
}

.advancedscales-checkout-page #payment div.form-row {
    padding: 20px;
}

.advancedscales-checkout-page #payment .woocommerce-privacy-policy-text {
    font-size: 14px;
    line-height: 1.55;
}

/* Place Order CTA */
.advancedscales-checkout-page #place_order {
    width: 100%;
    min-height: 54px;
    float: none;
    margin-top: 16px;
    padding: 13px 28px;
    border: 0;
    border-radius: 999px;
    background: #0751cc;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
}

.advancedscales-checkout-page #place_order:hover {
    background: #063fa4;
}

/* Notices */
.advancedscales-checkout-page .woocommerce-error,
.advancedscales-checkout-page .woocommerce-info,
.advancedscales-checkout-page .woocommerce-message {
    border-radius: 8px;
}

/* Responsive checkout */
@media (max-width: 900px) {

    .advancedscales-checkout-page {
        padding: 24px 22px 50px;
    }

    .advancedscales-checkout-page form.checkout {
        display: block;
    }

    .advancedscales-checkout-page #order_review_heading {
        margin-top: 32px;
    }

    .advancedscales-checkout-page #order_review {
        margin-top: 0;
    }
}

@media (max-width: 600px) {

    .advancedscales-checkout-title {
        font-size: 32px;
    }

    .advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr;
    }

    .advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper .form-row {
        grid-column: 1 !important;
    }

    .advancedscales-checkout-page #order_review {
        padding: 18px;
    }
}

/* ==========================================================
   Advanced Scales Checkout - Layout Refinement
   ========================================================== */

/* Wider checkout working area */
.advancedscales-checkout-page {
    max-width: 1320px !important;
    padding: 28px 40px 70px !important;
}

/* Main checkout layout */
.advancedscales-checkout-page form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.15fr) minmax(460px, 0.85fr) !important;
    column-gap: 55px !important;
    align-items: start !important;
}

/* Billing column */
.advancedscales-checkout-page #customer_details {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    display: block !important;
}

.advancedscales-checkout-page #customer_details .col-1,
.advancedscales-checkout-page #customer_details .col-2 {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
}

/* Billing fields: sensible two-column grid */
.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    column-gap: 18px !important;
    row-gap: 14px !important;
}

.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper .form-row {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    clear: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Full width fields */
.advancedscales-checkout-page #billing_country_field,
.advancedscales-checkout-page #billing_address_1_field,
.advancedscales-checkout-page #billing_address_2_field,
.advancedscales-checkout-page #billing_email_field {
    grid-column: 1 / -1 !important;
}

/* Prevent labels from breaking awkwardly */
.advancedscales-checkout-page form .form-row label {
    white-space: normal;
    line-height: 1.25;
    margin-bottom: 7px !important;
}

/* Consistent usable fields */
.advancedscales-checkout-page form .input-text,
.advancedscales-checkout-page form select,
.advancedscales-checkout-page .select2-container {
    width: 100% !important;
    max-width: none !important;
}

.advancedscales-checkout-page form .input-text,
.advancedscales-checkout-page form select,
.advancedscales-checkout-page .select2-container .select2-selection--single {
    min-height: 48px !important;
    box-sizing: border-box !important;
}

/* Additional information below billing */
.advancedscales-checkout-page #customer_details .col-2 {
    margin-top: 24px !important;
}

.advancedscales-checkout-page .woocommerce-additional-fields textarea {
    min-height: 90px !important;
}

/* Order summary */
.advancedscales-checkout-page #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 0 14px !important;
}

.advancedscales-checkout-page #order_review {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin-top: 50px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Give order card a little more breathing room */
.advancedscales-checkout-page #order_review {
    padding: 28px !important;
}

.advancedscales-checkout-page #order_review table {
    width: 100% !important;
}

/* Keep totals aligned */
.advancedscales-checkout-page #order_review th:last-child,
.advancedscales-checkout-page #order_review td:last-child {
    text-align: right !important;
}

/* Payment notice shouldn't dominate the card */
.advancedscales-checkout-page #payment .woocommerce-error,
.advancedscales-checkout-page #payment .woocommerce-info {
    font-size: 14px !important;
    line-height: 1.45 !important;
}

/* Desktop / tablet fallback */
@media (max-width: 1050px) {

    .advancedscales-checkout-page form.checkout {
        grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr) !important;
        column-gap: 30px !important;
    }
}

/* Switch cleanly to one column */
@media (max-width: 850px) {

    .advancedscales-checkout-page {
        padding: 24px 22px 50px !important;
    }

    .advancedscales-checkout-page form.checkout {
        display: block !important;
    }

    .advancedscales-checkout-page #order_review_heading {
        margin-top: 32px !important;
    }

    .advancedscales-checkout-page #order_review {
        margin-top: 0 !important;
    }
}

@media (max-width: 600px) {

    .advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }

    .advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper .form-row {
        grid-column: 1 !important;
    }
}


/* ==========================================================
   Advanced Scales Checkout - Final Billing Layout Fix
   ========================================================== */

/* Give billing/order columns a balanced desktop width */
.advancedscales-checkout-page form.checkout {
    grid-template-columns: minmax(520px, 1.15fr) minmax(440px, .85fr) !important;
    column-gap: 48px !important;
}

/* Billing fields use two columns only where explicitly wanted */
.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 18px !important;
}

/* Default every billing field to full width */
.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper > .form-row {
    grid-column: 1 / -1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

/* First and last name share one row */
.advancedscales-checkout-page #billing_first_name_field {
    grid-column: 1 !important;
}

.advancedscales-checkout-page #billing_last_name_field {
    grid-column: 2 !important;
}

/* Town + Parish share one row */
.advancedscales-checkout-page #billing_city_field {
    grid-column: 1 !important;
}

.advancedscales-checkout-page #billing_state_field {
    grid-column: 2 !important;
}

/* Postal code + phone share one row */
.advancedscales-checkout-page #billing_postcode_field {
    grid-column: 1 !important;
}

.advancedscales-checkout-page #billing_phone_field {
    grid-column: 2 !important;
}

/* Email remains full width */
.advancedscales-checkout-page #billing_email_field {
    grid-column: 1 / -1 !important;
}

/* Make every control properly fill its grid cell */
.advancedscales-checkout-page .woocommerce-billing-fields input,
.advancedscales-checkout-page .woocommerce-billing-fields select,
.advancedscales-checkout-page .woocommerce-billing-fields .select2-container {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* Keep checkout compact */
.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper .form-row {
    margin-bottom: 0 !important;
}

.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper label {
    margin-bottom: 6px !important;
}

/* Mobile */
@media (max-width: 850px) {
    .advancedscales-checkout-page form.checkout {
        display: block !important;
    }
}

@media (max-width: 600px) {
    .advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }

    .advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper > .form-row {
        grid-column: 1 !important;
    }
}

/* ==========================================================
   Advanced Scales Checkout - Container Alignment Fix
   ========================================================== */

/* Keep the entire checkout safely inside the viewport */
html,
body {
    overflow-x: clip;
}

.advancedscales-checkout-page {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/*
 * WordPress constrained layout applies a narrower max-width to
 * post-content. Remove that inner constraint on checkout so the
 * form aligns with the Checkout heading.
 */
.advancedscales-checkout-page > .wp-block-post-content,
.advancedscales-checkout-page .wp-block-post-content,
.advancedscales-checkout-page .wp-block-post-content > .woocommerce {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Checkout itself occupies the available content width */
.advancedscales-checkout-page form.checkout {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Maintain the proportions that are currently working */
@media (min-width: 1051px) {
    .advancedscales-checkout-page form.checkout {
        grid-template-columns:
            minmax(0, 1.15fr)
            minmax(440px, .85fr) !important;
        column-gap: 48px !important;
    }
}

/* Safety: nothing inside checkout may force page overflow */
.advancedscales-checkout-page #customer_details,
.advancedscales-checkout-page #order_review,
.advancedscales-checkout-page .woocommerce-billing-fields,
.advancedscales-checkout-page .woocommerce-billing-fields__field-wrapper {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}



/* ==========================================================
   Advanced Scales — Order Received
   ========================================================== */

.woocommerce-order-received .advancedscales-checkout-page {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 34px 40px 70px !important;
    box-sizing: border-box !important;
}

.woocommerce-order-received .advancedscales-checkout-title {
    color: #0751cc;
    font-size: 38px;
    line-height: 1.1;
    font-weight: 600;
    margin: 0 0 26px;
}

/* Confirmation message */
.woocommerce-order-received .woocommerce-thankyou-order-received {
    max-width: 760px;
    margin: 0 0 30px;
    padding: 20px 24px;
    border: 1px solid #d9e2f3;
    border-radius: 10px;
    background: #f7f9fd;
    font-size: 16px;
    line-height: 1.6;
}

.woocommerce-order-received .woocommerce-thankyou-order-received strong {
    display: inline-block;
    margin-bottom: 3px;
    color: #0751cc;
    font-size: 20px;
    font-weight: 600;
}

/* Order summary strip */
.woocommerce-order-received ul.woocommerce-order-overview {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 36px !important;
    padding: 20px 24px !important;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    background: #fff;
}

.woocommerce-order-received ul.woocommerce-order-overview li {
    flex: 1 1 180px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 5px 22px !important;
    border-right: 1px solid #e4e6e9;
    font-size: 13px;
}

.woocommerce-order-received ul.woocommerce-order-overview li:first-child {
    padding-left: 0 !important;
}

.woocommerce-order-received ul.woocommerce-order-overview li:last-child {
    border-right: 0;
}

.woocommerce-order-received ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 5px;
    color: #222;
    font-size: 16px;
    font-weight: 600;
}

/* Order details */
.woocommerce-order-received .woocommerce-order-details {
    margin-top: 10px;
}

.woocommerce-order-received .woocommerce-order-details__title,
.woocommerce-order-received .woocommerce-column__title {
    color: #0751cc;
    font-size: 24px;
    font-weight: 600;
}

.woocommerce-order-received table.woocommerce-table--order-details {
    width: 100%;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    background: #fff;
}

.woocommerce-order-received table.woocommerce-table--order-details th,
.woocommerce-order-received table.woocommerce-table--order-details td {
    padding: 14px 16px;
    border: 0;
    border-bottom: 1px solid #e8eaed;
}

.woocommerce-order-received table.woocommerce-table--order-details thead th {
    background: #f7f8fa;
    font-weight: 600;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: 0;
    font-size: 18px;
    font-weight: 700;
}

.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
    color: #0751cc;
}

/* Customer address */
.woocommerce-order-received .woocommerce-customer-details {
    margin-top: 34px;
}

.woocommerce-order-received .woocommerce-customer-details address {
    padding: 20px 24px;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    background: #fff;
    font-style: normal;
    line-height: 1.65;
}

/* Mobile */
@media (max-width: 700px) {

    .woocommerce-order-received .advancedscales-checkout-page {
        padding: 26px 22px 50px !important;
    }

    .woocommerce-order-received .advancedscales-checkout-title {
        font-size: 32px;
    }

    .woocommerce-order-received ul.woocommerce-order-overview {
        display: block;
    }

    .woocommerce-order-received ul.woocommerce-order-overview li {
        padding: 10px 0 !important;
        border-right: 0;
        border-bottom: 1px solid #e4e6e9;
    }

    .woocommerce-order-received ul.woocommerce-order-overview li:last-child {
        border-bottom: 0;
    }
}


/* ==========================================================
   Advanced Scales — Order Received FINAL
   ========================================================== */

body.woocommerce-order-received .site-main,
body.woocommerce-order-received main {
    overflow-x: hidden;
}

/* Main page container */
body.woocommerce-order-received .woocommerce {
    width: min(100% - 48px, 1320px);
    margin: 0 auto;
    padding: 34px 0 70px;
    box-sizing: border-box;
}

/* Page title */
body.woocommerce-order-received h1,
body.woocommerce-order-received .entry-title,
body.woocommerce-order-received .advancedscales-checkout-title {
    margin: 0 0 28px !important;
    color: #0751cc !important;
    font-size: 38px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}

/* Payment received confirmation */
body.woocommerce-order-received .woocommerce-thankyou-order-received {
    position: relative;
    max-width: none !important;
    margin: 0 0 28px !important;
    padding: 20px 26px 20px 72px !important;
    border: 1px solid #b9d3f5 !important;
    border-radius: 10px !important;
    background: #f5f9ff !important;
    color: #202124 !important;
    font-size: 17px !important;
    line-height: 1.5 !important;
}

/* Confirmation icon */
body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
    content: "✓";
    position: absolute;
    top: 21px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid #0751cc;
    border-radius: 50%;
    color: #0751cc;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received strong {
    display: block !important;
    margin: 0 0 2px !important;
    color: #111 !important;
    font-size: 20px !important;
    line-height: 1.35 !important;
    font-weight: 700 !important;
}

/* Order metadata */
body.woocommerce-order-received ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px;
    margin: 0 0 32px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    list-style: none !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview li {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    color: #555 !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
    text-transform: uppercase;
    letter-spacing: .02em;
}

body.woocommerce-order-received ul.woocommerce-order-overview li strong {
    display: block !important;
    margin-top: 4px !important;
    color: #171717 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    text-transform: none;
    letter-spacing: normal;
}

/* Section headings */
body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title {
    margin: 0 0 14px !important;
    color: #0751cc !important;
    font-size: 22px !important;
    line-height: 1.3 !important;
    font-weight: 600 !important;
}

/* Order details */
body.woocommerce-order-received .woocommerce-order-details {
    margin: 0 0 30px !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details {
    width: 100% !important;
    margin: 0 !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 10px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
    background: #fff !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details th,
body.woocommerce-order-received table.woocommerce-table--order-details td {
    padding: 14px 16px !important;
    border: 0 !important;
    border-bottom: 1px solid #e6e8eb !important;
    color: #171717;
    font-size: 15px !important;
    line-height: 1.45 !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details thead th {
    background: #f7f8fa !important;
    font-weight: 700 !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details th:last-child,
body.woocommerce-order-received table.woocommerce-table--order-details td:last-child {
    text-align: right;
}

body.woocommerce-order-received table.woocommerce-table--order-details tfoot th {
    font-weight: 600 !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
    border-bottom: 0 !important;
    font-size: 17px !important;
    font-weight: 700 !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
    color: #0751cc !important;
}

/* Billing address */
body.woocommerce-order-received .woocommerce-customer-details {
    margin: 0 !important;
}

body.woocommerce-order-received .woocommerce-customer-details address {
    width: min(100%, 440px);
    margin: 0 !important;
    padding: 18px 20px !important;
    border: 1px solid #dfe3e8 !important;
    border-radius: 10px !important;
    background: #fff !important;
    color: #222 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-style: normal !important;
    box-sizing: border-box;
}

/* Tablet */
@media (max-width: 900px) {
    body.woocommerce-order-received .woocommerce {
        width: min(100% - 36px, 1320px);
        padding-top: 26px;
    }

    body.woocommerce-order-received ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px 24px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    body.woocommerce-order-received .woocommerce {
        width: calc(100% - 28px);
        padding: 24px 0 50px;
    }

    body.woocommerce-order-received h1,
    body.woocommerce-order-received .entry-title,
    body.woocommerce-order-received .advancedscales-checkout-title {
        font-size: 30px !important;
        margin-bottom: 22px !important;
    }

    body.woocommerce-order-received .woocommerce-thankyou-order-received {
        padding: 18px 18px 18px 58px !important;
        font-size: 15px !important;
    }

    body.woocommerce-order-received .woocommerce-thankyou-order-received::before {
        top: 19px;
        left: 17px;
        width: 27px;
        height: 27px;
        font-size: 16px;
    }

    body.woocommerce-order-received .woocommerce-thankyou-order-received strong {
        font-size: 17px !important;
    }

    body.woocommerce-order-received ul.woocommerce-order-overview {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    body.woocommerce-order-received table.woocommerce-table--order-details th,
    body.woocommerce-order-received table.woocommerce-table--order-details td {
        padding: 12px !important;
        font-size: 14px !important;
    }
}


/* ==========================================================
   ADVANCED SCALES — BLOCK ORDER CONFIRMATION
   WooCommerce Blocks thank-you page
   ========================================================== */

body.woocommerce-order-received {
    background: #f5f6f7;
}

/* Main confirmation content */
body.woocommerce-order-received #wp--skip-link--target {
    width: calc(100% - 80px);
    max-width: 1280px;
    margin: 0 auto;
    padding: 34px 0 70px;
    box-sizing: border-box;
}

/* Prevent Block alignwide rules from escaping our container */
body.woocommerce-order-received #wp--skip-link--target .alignwide {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* ----------------------------------------------------------
   ORDER RECEIVED + SUCCESS NOTICE
   ---------------------------------------------------------- */

body.woocommerce-order-received
.wc-block-order-confirmation-status {
    margin: 0 0 26px;
}

body.woocommerce-order-received
.wc-block-order-confirmation-status h1 {
    margin: 0 0 26px;
    color: #0751cc;
    font-size: 36px;
    line-height: 1.15;
    font-weight: 600;
}

/* Turn the confirmation paragraph into a notice card */
body.woocommerce-order-received
.wc-block-order-confirmation-status > p {
    position: relative;
    margin: 0;
    padding: 20px 28px 20px 76px;

    border: 1px solid #9fc6ee;
    border-radius: 8px;
    background: #eef7ff;

    color: #202020;
    font-size: 17px !important;
    line-height: 1.55 !important;

    box-sizing: border-box;
}

/* Success check circle */
body.woocommerce-order-received
.wc-block-order-confirmation-status > p::before {
    content: "✓";

    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border: 2px solid #087eaa;
    border-radius: 50%;

    color: #087eaa;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
}

body.woocommerce-order-received
.wc-block-order-confirmation-status > p strong {
    display: inline-block;
    margin-bottom: 3px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

/* ----------------------------------------------------------
   ORDER SUMMARY
   WooCommerce block immediately following status
   ---------------------------------------------------------- */

body.woocommerce-order-received
.wp-block-woocommerce-order-confirmation-summary {
    margin: 0 0 30px;
}

/* Keep summary compact */
body.woocommerce-order-received
.wc-block-order-confirmation-summary {
    font-size: 15px;
}

/* ----------------------------------------------------------
   ORDER DETAILS CARD
   ---------------------------------------------------------- */

body.woocommerce-order-received
.wc-block-order-confirmation-totals-wrapper {
    margin: 0 0 28px;
    padding: 26px 28px 28px;

    background: #fff;
    border: 1px solid #e0e3e7;
    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0,0,0,.035);
    box-sizing: border-box;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals-wrapper > h2 {
    margin: 0 0 20px !important;
    color: #0751cc;
    font-size: 24px !important;
    line-height: 1.25;
    font-weight: 600;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals {
    margin: 0;
}

/* Order table */
body.woocommerce-order-received
.wc-block-order-confirmation-totals__table {
    width: 100%;
    margin: 0;

    background: #fff;
    border: 0;
    border-collapse: collapse;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__table th,
body.woocommerce-order-received
.wc-block-order-confirmation-totals__table td {
    padding: 17px 16px;
    border: 0;
    border-bottom: 1px solid #e3e5e8;
    font-size: 16px;
    line-height: 1.4;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__table thead th {
    padding-top: 14px;
    padding-bottom: 14px;
    background: #f7f8fa;
    font-weight: 700;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__table thead th:first-child {
    border-radius: 6px 0 0 6px;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__table thead th:last-child {
    border-radius: 0 6px 6px 0;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__product {
    text-align: left;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__total {
    text-align: right;
    white-space: nowrap;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__product a {
    color: #202020;
    text-decoration: none;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__product a:hover {
    color: #0751cc;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__table tfoot tr:last-child th,
body.woocommerce-order-received
.wc-block-order-confirmation-totals__table tfoot tr:last-child td {
    border-bottom: 0;
    font-weight: 700;
    font-size: 18px;
}

body.woocommerce-order-received
.wc-block-order-confirmation-totals__table tfoot tr:last-child td {
    color: #0751cc;
}

/* ----------------------------------------------------------
   BILLING ADDRESS CARD
   ---------------------------------------------------------- */

body.woocommerce-order-received
.wc-block-order-confirmation-billing-wrapper {
    margin: 0;
    padding: 26px 28px 28px;

    background: #fff;
    border: 1px solid #e0e3e7;
    border-radius: 10px;

    box-shadow: 0 2px 10px rgba(0,0,0,.035);
    box-sizing: border-box;
}

body.woocommerce-order-received
.wc-block-order-confirmation-billing-wrapper > h2 {
    margin: 0 0 18px !important;
    color: #0751cc;
    font-size: 24px !important;
    line-height: 1.25;
    font-weight: 600;
}

body.woocommerce-order-received
.wc-block-order-confirmation-billing-address {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

body.woocommerce-order-received
.wc-block-order-confirmation-billing-address address {
    margin: 0;
    padding: 0;

    font-style: normal;
    font-size: 16px;
    line-height: 1.65;
}

/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 768px) {

    body.woocommerce-order-received
    #wp--skip-link--target {
        width: calc(100% - 32px);
        padding: 24px 0 50px;
    }

    body.woocommerce-order-received
    .wc-block-order-confirmation-status h1 {
        margin-bottom: 20px;
        font-size: 30px;
    }

    body.woocommerce-order-received
    .wc-block-order-confirmation-status > p {
        padding: 18px 18px 18px 62px;
        font-size: 15px !important;
    }

    body.woocommerce-order-received
    .wc-block-order-confirmation-status > p::before {
        left: 17px;
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    body.woocommerce-order-received
    .wc-block-order-confirmation-status > p strong {
        font-size: 16px;
    }

    body.woocommerce-order-received
    .wc-block-order-confirmation-totals-wrapper,
    body.woocommerce-order-received
    .wc-block-order-confirmation-billing-wrapper {
        padding: 20px 18px;
        border-radius: 8px;
    }

    body.woocommerce-order-received
    .wc-block-order-confirmation-totals__table th,
    body.woocommerce-order-received
    .wc-block-order-confirmation-totals__table td {
        padding: 14px 10px;
        font-size: 14px;
    }
}
