/* ToolsEngg Spend More, Save More 1.0.0: storefront messages (strip, product, mini cart, cart, checkout, add-to-cart pop-up) */
.te-ssm-card { box-sizing: border-box; margin: 16px 0; padding: 16px 18px 18px; background: linear-gradient(180deg, #f3fbf7 0%, #fff 100%); border: 1px solid #cfe9db; border-top: 4px solid #0aa860; border-radius: 14px; box-shadow: 0 6px 20px rgba(14, 30, 52, .06); color: #17222e; font-family: Helvetica, Arial, sans-serif; text-align: left; line-height: 1.45; }
.te-ssm-head { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #087a45; }
.te-ssm-head i { display: inline-flex; flex: 0 0 24px; width: 24px; height: 24px; align-items: center; justify-content: center; border-radius: 50%; background: #0aa860; color: #fff; font-style: normal; font-size: 13px; }
.te-ssm-msg { margin: 6px 0 12px; font-size: 15px; color: #17222e; }
.te-ssm-msg b { color: #087a45; }
.te-ssm-track { position: relative; height: 10px; margin: 20px 6px 40px; background: #e3eee8; border-radius: 99px; }
.te-ssm-fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, #12b673, #0a9f58); border-radius: 99px; transition: width .4s ease; }
.te-ssm-stop { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; background: #fff; border: 2px solid #b9d6c7; border-radius: 50%; box-sizing: border-box; }
.te-ssm-stop.on { background: #0aa860; border-color: #0aa860; }
.te-ssm-stop.next { border-color: #0aa860; box-shadow: 0 0 0 4px rgba(10, 168, 96, .18); }
.te-ssm-stop span { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); font-size: 11.5px; font-weight: 700; white-space: nowrap; color: #5e6b7a; }
.te-ssm-stop.on span { color: #087a45; }
.te-ssm-stop small { position: absolute; top: 34px; left: 50%; transform: translateX(-50%); font-size: 10.5px; white-space: nowrap; color: #8a98a5; }
.te-ssm-note { margin: 0; font-size: 12px; color: #6b7886; }

/* compact: mini cart, checkout, pop-up */
.te-ssm-compact { margin: 0; padding: 12px 16px 14px; border-radius: 12px; }
.te-ssm-compact .te-ssm-msg { margin: 4px 0 8px; font-size: 13.5px; }
.te-ssm-compact .te-ssm-track { height: 8px; margin: 12px 6px 30px; }
.te-ssm-compact .te-ssm-stop { width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; }
.te-ssm-compact .te-ssm-stop span { top: 16px; font-size: 10.5px; }

/* where each block sits */
.te-ssm-block[data-place="minicart"] { margin: 10px 12px 0; }
.te-ssm-block[data-place="product"] { margin: 14px 0; }
.te-ssm-block[data-place="product"] .te-ssm-card, .te-ssm-block[data-place="cart"] .te-ssm-card { margin: 0; }
.te-ssm-block[data-place="cart"] { margin: 0 0 20px; }
.te-ssm-block[data-place="checkout"] { margin: 0 0 16px; }
.mobile-cart-content-container .te-ssm-block[data-place="minicart"] { margin: 8px 0 0; }

/* top strip */
.te-ssm-strip { position: relative; z-index: 5; background: linear-gradient(90deg, #087a45, #0aa860 50%, #087a45); color: #fff; font: 13px/1.4 Helvetica, Arial, sans-serif; text-align: center; }
.te-ssm-strip-in { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 9px 44px; }
.te-ssm-strip b { background: rgba(255, 255, 255, .18); padding: 1px 7px; border-radius: 99px; font-weight: 700; }
.te-ssm-strip-x { position: absolute; right: 10px; top: 50%; width: 26px; height: 26px; margin-top: -13px; padding: 0; font-size: 18px; line-height: 24px; color: #fff; background: transparent; border: 0; cursor: pointer; opacity: .8; }
.te-ssm-strip-x:hover { opacity: 1; }

/* pop-up after Add to Cart */
.te-ssm-toast { position: fixed; right: 24px; top: 130px; z-index: 99999; width: 340px; max-width: calc(100vw - 24px); padding: 6px; background: #fff; border-radius: 16px; box-shadow: 0 18px 44px rgba(14, 30, 52, .24); animation: te-ssm-in .25s ease; }
.te-ssm-toast .te-ssm-toastcard { border-top-width: 1px; border-left: 5px solid #0aa860; }
.te-ssm-toast-x { position: absolute; right: 10px; top: 8px; width: 26px; height: 26px; padding: 0; font-size: 20px; line-height: 24px; color: #8693a1; background: transparent; border: 0; cursor: pointer; }
.te-ssm-toast-link { display: inline-block; margin: 2px 0 0 16px; padding: 7px 14px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff !important; background: #0a9f58; border-radius: 8px; text-decoration: none; }
@keyframes te-ssm-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

@media (max-width: 767px) {
  .te-ssm-strip-in { padding: 8px 36px 8px 12px; font-size: 12px; text-align: left; }
  .te-ssm-gift { flex: 0 0 auto; }
  .te-ssm-card { padding: 14px 14px 16px; }
  .te-ssm-msg { font-size: 14px; }
  .te-ssm-card:not(.te-ssm-compact) .te-ssm-stop small { display: none; }
  .te-ssm-card:not(.te-ssm-compact) .te-ssm-stop.next small { display: block; }
  .te-ssm-stop span { font-size: 10.5px; }
  .te-ssm-toast { left: 12px; right: 12px; width: auto; top: auto; bottom: 16px; }
  .te-ssm-block[data-place="checkout"], .te-ssm-block[data-place="cart"] { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .te-ssm-fill { transition: none; }
  .te-ssm-toast { animation: none; }
}
