/* 1.8.1: compact trust strip and calmer purchase flow. */
.topbar { height: auto; min-height: 38px; padding: 0; }
.utility-inner { height: auto; min-height: 38px; gap: 16px; }
.topbar-messages { position: static; display: flex; align-items: center; flex-wrap: wrap; min-width: 0; width: auto; height: auto; gap: 4px 0; }
.topbar-messages > span, .topbar-messages > span.is-active { position: static; inset: auto; display: inline-flex; align-items: center; justify-content: flex-start; gap: 7px; width: auto; min-height: 38px; padding: 3px 13px; opacity: 1; transform: none; transition: none; pointer-events: auto; color: #f2f5fb; font-size: 11px; font-weight: 600; line-height: 1.3; white-space: nowrap; }
.topbar-messages > span:first-child { padding-left: 0; }
.topbar-messages > span + span { border-left: 1px solid rgba(255,255,255,.2); }
.topbar-messages svg { width: 15px; height: 15px; flex: 0 0 15px; }
.utility-inner nav { flex: 0 0 auto; gap: 16px; }
.hero-dots, .hero-pause { display: none !important; }

.woocommerce-cart .woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-cart .cart-collaterals .cart_totals { padding: 26px 26px 20px; border: 1px solid #e6e9ef; border-radius: 14px; background: #fff; box-shadow: 0 9px 28px rgba(10,27,55,.045); }
.woocommerce-cart .cart-collaterals .cart_totals h2 { margin: 0 0 15px; padding-bottom: 16px; border-bottom: 1px solid #e9edf2; color: var(--navy); font-size: 20px; font-weight: 750; letter-spacing: -.02em; }
.woocommerce-cart .cart-collaterals table.shop_table { width: 100%; }
.woocommerce-cart .cart-collaterals table.shop_table tr { display: table-row; }
.woocommerce-cart .cart-collaterals table.shop_table tr th,
.woocommerce-cart .cart-collaterals table.shop_table tr td { padding: 13px 0 !important; border: 0 !important; border-bottom: 1px solid #eef0f3 !important; background: transparent !important; font-size: 13px; line-height: 1.45; }
.woocommerce-cart .cart-collaterals table.shop_table tr th { width: 50%; color: #596579; font-weight: 600; text-align: left; }
.woocommerce-cart .cart-collaterals table.shop_table tr td { color: var(--navy); font-weight: 700; text-align: right; }
.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
.woocommerce-cart .cart-collaterals .cart_totals .order-total td { padding-top: 20px !important; padding-bottom: 15px !important; border: 0 !important; color: var(--navy); font-size: 18px; font-weight: 800; }
.woocommerce-cart .cart-collaterals .cart_totals .order-total td { font-size: 24px; letter-spacing: -.035em; white-space: nowrap; }
.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout { padding: 12px 0 0; }
.woocommerce-cart .cart-collaterals .cart_totals .wc-proceed-to-checkout a { width: 100%; min-height: 52px; margin: 0; border-radius: 9px !important; }
.woocommerce-cart .cart-collaterals .woocommerce-shipping-destination,
.woocommerce-cart .cart-collaterals .woocommerce-shipping-calculator { color: #647083; font-size: 12px; line-height: 1.45; }
.woocommerce-cart .woocommerce-cart-form table.shop_table { box-shadow: none; }
.woocommerce-cart .woocommerce-cart-form .quantity { border-radius: 9px; }
.tm-add-error { margin: 9px 0; color: #ad453d; font-size: 13px; }

.woocommerce-checkout .tm-checkout-summary { border-color: #e5e9ef; border-radius: 14px; box-shadow: 0 9px 28px rgba(10,27,55,.045); }
.woocommerce-checkout .tm-checkout-summary #order_review_heading { padding: 24px 24px 19px; border-bottom: 1px solid #e9edf2; font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.woocommerce-checkout .tm-checkout-summary #order_review table.shop_table { width: 100%; }
.woocommerce-checkout .tm-checkout-summary #order_review table.shop_table th,
.woocommerce-checkout .tm-checkout-summary #order_review table.shop_table td { padding: 14px 22px !important; border-color: #eef0f3 !important; background: #fff; font-size: 13px; line-height: 1.5; }
.woocommerce-checkout .tm-checkout-summary #order_review table.shop_table thead th { color: #657083; font-size: 11px; font-weight: 650; letter-spacing: .02em; }
.woocommerce-checkout .tm-checkout-summary #order_review table.shop_table .order-total th,
.woocommerce-checkout .tm-checkout-summary #order_review table.shop_table .order-total td { padding-top: 19px !important; padding-bottom: 19px !important; color: var(--navy); font-size: 17px; font-weight: 800; }
.woocommerce-checkout .tm-checkout-summary #order_review table.shop_table .order-total td { font-size: 21px; letter-spacing: -.03em; }
.woocommerce-checkout .tremark-review-product > span { color: var(--navy); font-size: 12px; font-weight: 650; line-height: 1.45; }
.woocommerce-checkout #payment { background: #fff !important; }
.woocommerce-checkout #payment ul.payment_methods { display: grid; gap: 11px; margin: 0; padding: 20px 22px !important; border-color: #edf0f4 !important; background: #fff; }
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method { position: relative; margin: 0 !important; overflow: hidden; border: 1px solid #e0e5eb; border-radius: 11px; background: #fff; }
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method:has(> input[type="radio"]:checked) { border-color: #7890b3; background: #f7f9fc; box-shadow: inset 0 0 0 1px #7890b3; }
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > input[type="radio"] { position: absolute; top: 18px; left: 16px; z-index: 1; width: 18px; height: 18px; margin: 0 !important; accent-color: var(--navy); }
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label { display: flex; align-items: center; min-height: 55px; width: 100%; gap: 10px; margin: 0; padding: 12px 14px 12px 45px; color: var(--navy); font-size: 14px; font-weight: 700; cursor: pointer; }
.woocommerce-checkout #payment div.payment_box { margin: 0 !important; padding: 0 16px 15px 45px !important; border: 0; border-radius: 0 !important; background: transparent !important; color: #596579; font-size: 12px; line-height: 1.55; }
.woocommerce-checkout #payment div.payment_box::before { display: none; }
.woocommerce-checkout #payment div.payment_box p { margin: 0; }
.tm-card-brands { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; }
.tm-card-brands img { width: 35px; height: 35px; display: block; border-radius: 3px; background: #fff; object-fit: contain; }
.woocommerce-checkout #payment .place-order { padding: 18px 22px 22px !important; background: #fff; }
.woocommerce-checkout #payment .woocommerce-privacy-policy-text p { margin: 0 0 13px; color: #657083; font-size: 11px; line-height: 1.55; }
.woocommerce-checkout #payment #place_order { min-height: 54px; border-radius: 9px !important; box-shadow: none !important; }
.woocommerce-checkout #payment .tremark-upcoming-payment { display: none !important; }
.woocommerce-checkout #payment #mailpoet_woocommerce_checkout_optin_field,
.woocommerce-checkout #payment .woocommerce-mailchimp-opt-in { display: none; }

@media (max-width: 1100px) {
  .utility-inner nav { display: none; }
  .utility-inner { justify-content: center; }
  .topbar-messages { justify-content: center; }
}
@media (max-width: 700px) {
  .topbar { min-height: 0; padding: 5px 0; }
  .utility-inner { min-height: 0; }
  .topbar-messages { width: 100%; margin-inline: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 2px 8px; }
  .topbar-messages > span, .topbar-messages > span.is-active { min-height: 25px; width: 100%; padding: 2px 0; border: 0; justify-content: flex-start; font-size: 10px; line-height: 1.2; white-space: normal; }
  .topbar-messages > span + span { border: 0; }
  .topbar-messages svg { width: 13px; height: 13px; flex-basis: 13px; }
  .woocommerce-cart .cart-collaterals .cart_totals { padding: 20px 18px 18px; }
  .woocommerce-checkout .tm-checkout-summary #order_review_heading { padding-inline: 18px; }
  .woocommerce-checkout .tm-checkout-summary #order_review table.shop_table th,
  .woocommerce-checkout .tm-checkout-summary #order_review table.shop_table td { padding-inline: 16px !important; }
  .woocommerce-checkout #payment ul.payment_methods { padding: 17px 16px !important; }
  .woocommerce-checkout #payment .place-order { padding: 18px 16px !important; }
}
