/* Isolated NEXTAGE support widget. No store/cart/checkout selectors are changed. */
#nextage-shop-chat {
  --nsc-blue:#087ca4; --nsc-blue-dark:#05698d; --nsc-cyan:#4bc5f0; --nsc-ink:#193442; --nsc-muted:#647e8e;
  --nsc-line:#d9e7ee; --nsc-keyboard:0px; --nsc-visible-height:100dvh;
  position:fixed; right:24px; bottom:calc(24px + env(safe-area-inset-bottom,0px) + var(--nsc-keyboard)); z-index:1100;
  color:var(--nsc-ink); font:400 15px/1.5 "Montserrat",Arial,sans-serif; text-align:left; -webkit-text-size-adjust:100%;
}
#nextage-shop-chat[hidden],#nextage-shop-chat [hidden] {display:none!important}
#nextage-shop-chat *,#nextage-shop-chat *::before,#nextage-shop-chat *::after {box-sizing:border-box}
#nextage-shop-chat button,#nextage-shop-chat input,#nextage-shop-chat textarea {font:inherit; letter-spacing:normal; margin:0}
#nextage-shop-chat button {text-transform:none; cursor:pointer; -webkit-tap-highlight-color:transparent}
#nextage-shop-chat button:disabled {cursor:default}
#nextage-shop-chat button:focus-visible,#nextage-shop-chat input:focus-visible,#nextage-shop-chat textarea:focus-visible,#nextage-shop-chat [tabindex]:focus-visible {outline:3px solid #56c5ed;outline-offset:3px}
#nextage-shop-chat p,#nextage-shop-chat h2,#nextage-shop-chat h3 {margin:0;font-family:inherit;letter-spacing:normal}
#nextage-shop-chat svg {display:block;width:100%;height:100%}
#nextage-shop-chat .nsc-icon {display:inline-flex;flex-shrink:0;width:22px;height:22px}
#nextage-shop-chat .nsc-launcher {
  display:flex;align-items:center;gap:11px;min-height:58px;padding:0 20px 0 15px;color:#fff;border:1px solid #43b6df;
  border-radius:999px;background:linear-gradient(115deg,#08769d,#0787b3);box-shadow:0 8px 28px #123d5333;
  transition:transform .23s ease,box-shadow .23s ease,background .23s ease;isolation:isolate;
}
#nextage-shop-chat .nsc-launcher::before {content:"";position:absolute;inset:-5px;border:1px solid #33b8e54d;border-radius:inherit;pointer-events:none;animation:nsc-notice 2.4s ease-out 3}
#nextage-shop-chat .nsc-launcher__icon {display:block;width:30px;height:30px}
#nextage-shop-chat .nsc-launcher__text {font-size:14px;font-weight:650;line-height:1.3;max-width:235px}
#nextage-shop-chat .nsc-launcher__dot {width:7px;height:7px;flex-shrink:0;border-radius:50%;background:#a9eaff;box-shadow:0 0 0 4px #a9eaff20}
#nextage-shop-chat .nsc-panel {
  display:flex;flex-direction:column;width:420px;max-width:calc(100vw - 32px);height:640px;max-height:calc(var(--nsc-visible-height) - 48px);
  border:1px solid #cee1eb;border-radius:23px;overflow:hidden;background:#fff;box-shadow:0 18px 65px #102c3c30,0 3px 12px #102c3c0b;
  transform-origin:bottom right;animation:nsc-open .23s ease-out both;
}
#nextage-shop-chat .nsc-header {display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-shrink:0;padding:22px 20px 21px;color:#fff;background:linear-gradient(125deg,#163342,#17445a);border-bottom:3px solid #35b8e5}
#nextage-shop-chat .nsc-header__brand {display:flex;gap:12px;align-items:center;min-width:0}
#nextage-shop-chat .nsc-header__icon {display:flex;flex-shrink:0;width:44px;height:44px;padding:8px;border:1px solid #75d6f540;border-radius:13px;background:#38b8df18;color:#73d7fa}
#nextage-shop-chat .nsc-eyebrow {font-size:10px;line-height:1.5;font-weight:700;letter-spacing:1.6px;color:#9bdbf2}
#nextage-shop-chat .nsc-title {font-size:19px;line-height:1.35;font-weight:700;color:#fff;margin:2px 0 3px}
#nextage-shop-chat .nsc-subtitle {display:flex;align-items:center;gap:6px;font-size:11px;line-height:1.45;color:#c4dae4}
#nextage-shop-chat .nsc-subtitle::before {content:"";display:inline-block;flex-shrink:0;width:5px;height:5px;background:#61ceee;border-radius:50%}
#nextage-shop-chat .nsc-close {display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;border:0;border-radius:9px;color:#e4f3fa;background:#ffffff0a;transition:background .2s ease}
#nextage-shop-chat .nsc-close .nsc-icon {width:19px;height:19px}
#nextage-shop-chat .nsc-start {padding:25px 24px 16px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0;background:radial-gradient(ellipse at top right,#eaf7fc 0,transparent 70%)}
#nextage-shop-chat .nsc-welcome__icon {display:block;width:47px;height:47px;padding:10px;border-radius:15px;background:#e7f5fb;color:var(--nsc-blue);margin-bottom:16px}
#nextage-shop-chat .nsc-welcome h3 {font-size:23px;font-weight:700;line-height:1.3;margin-bottom:9px;color:var(--nsc-ink)}
#nextage-shop-chat .nsc-welcome p {font-size:14px;line-height:1.65;color:var(--nsc-muted);max-width:320px}
#nextage-shop-chat .nsc-name-form {margin-top:24px}
#nextage-shop-chat .nsc-label {display:flex;flex-direction:column;gap:9px;font-size:13px;font-weight:600;color:var(--nsc-ink)}
#nextage-shop-chat .nsc-input {width:100%;height:50px;padding:12px 14px;border:1px solid #cbdfe9;border-radius:11px;background:#fff;color:var(--nsc-ink);font-size:15px;transition:border-color .2s ease,box-shadow .2s ease}
#nextage-shop-chat .nsc-input::placeholder {color:#8196a3;font-weight:400}
#nextage-shop-chat .nsc-input[aria-invalid="true"] {border-color:#c24a3d}
#nextage-shop-chat .nsc-primary {display:flex;align-items:center;justify-content:center;width:100%;min-height:50px;padding:11px 16px;border:0;border-radius:11px;background:var(--nsc-blue);color:#fff;font-size:14px;font-weight:700;margin-top:13px;transition:background .2s ease,transform .2s ease,box-shadow .2s ease;box-shadow:0 4px 12px #087ca416}
#nextage-shop-chat .nsc-primary:disabled {opacity:.65}
#nextage-shop-chat .nsc-policy {font-size:11px;line-height:1.65;color:var(--nsc-muted);margin-top:18px}
#nextage-shop-chat .nsc-expired {margin-top:18px;padding:12px 13px;border:1px solid #b6dce9;border-radius:10px;background:#edf8fc;font-size:12px;line-height:1.65;color:#346579}
#nextage-shop-chat .nsc-conversation {display:flex;flex:1;flex-direction:column;min-height:0;background:#f5f9fc}
#nextage-shop-chat .nsc-context {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;padding:12px 17px;background:#fff;border-bottom:1px solid #e5eef3;font-size:10px;line-height:1.5;flex-shrink:0}
#nextage-shop-chat .nsc-greeting {color:#5c7888;max-width:220px;overflow-wrap:anywhere}
#nextage-shop-chat .nsc-count {white-space:nowrap;color:var(--nsc-blue);font-weight:600}
#nextage-shop-chat .nsc-messages {flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 16px 14px;scrollbar-width:thin;scrollbar-color:#c0d7e1 transparent}
#nextage-shop-chat .nsc-bubble {display:block;width:fit-content;max-width:89%;height:auto;min-height:0;padding:11px 13px 8px;margin:0 0 12px;border:1px solid #dae8ef;border-radius:14px 14px 14px 4px;background:#fff;animation:nsc-message .2s ease-out both;overflow-wrap:anywhere}
#nextage-shop-chat .nsc-bubble--customer {margin-left:auto;border-color:#c4e4f0;border-radius:14px 14px 4px 14px;background:#e7f5fb}
#nextage-shop-chat .nsc-bubble__who {display:block;font-size:10px;font-weight:700;color:#447287;margin-bottom:4px}
#nextage-shop-chat .nsc-bubble__text {font-size:13px;line-height:1.65;color:var(--nsc-ink);white-space:pre-wrap;word-break:normal}
#nextage-shop-chat .nsc-bubble__meta {display:flex;align-items:center;justify-content:flex-end;gap:7px;flex-wrap:wrap;margin-top:5px;font-size:9px;line-height:1.5;color:#718a98}
#nextage-shop-chat .nsc-bubble__pending {font-size:9px;color:#688d9f}
#nextage-shop-chat .nsc-empty {font-size:13px;line-height:1.7;color:#6b8795;text-align:center;padding:20px 30px;margin:auto 0}
#nextage-shop-chat .nsc-until {padding:7px 16px 9px;color:#8196a3;font-size:9px;line-height:1.4;text-align:center;flex-shrink:0}
#nextage-shop-chat .nsc-composer {padding:13px 15px 9px;flex-shrink:0;background:#fff;border-top:1px solid #dfebf1}
#nextage-shop-chat .nsc-composer__row {display:flex;gap:9px;align-items:flex-end;border:1px solid #cfdfE8;border-radius:13px;background:#fff;padding:5px 5px 5px 11px;transition:border-color .2s ease,box-shadow .2s ease}
#nextage-shop-chat .nsc-composer__row:focus-within {border-color:#67bbd7;box-shadow:0 0 0 3px #69c5e414}
#nextage-shop-chat .nsc-message {display:block;resize:none;border:0;outline:none!important;box-shadow:none;width:100%;min-width:0;max-height:110px;padding:10px 0 8px;line-height:1.6;font-size:14px;color:var(--nsc-ink);background:transparent;scrollbar-width:thin}
#nextage-shop-chat .nsc-message::placeholder {color:#8a9ca8}
#nextage-shop-chat .nsc-message:disabled {opacity:.6}
#nextage-shop-chat .nsc-send {display:flex;justify-content:center;align-items:center;width:40px;height:40px;flex-shrink:0;background:var(--nsc-blue);border:0;border-radius:10px;color:#fff;transition:background .2s ease,transform .2s ease,opacity .2s ease}
#nextage-shop-chat .nsc-send:disabled {background:#e9f0f4;color:#9eb0bb}
#nextage-shop-chat .nsc-send--busy .nsc-icon {animation:nsc-send 1s ease-in-out infinite}
#nextage-shop-chat .nsc-composer__meta {display:flex;gap:10px;justify-content:space-between;align-items:flex-start;margin-top:5px;min-height:14px;font-size:9px;line-height:1.5;color:#8a9ca8}
#nextage-shop-chat .nsc-chars {margin-left:auto;flex-shrink:0}
#nextage-shop-chat .nsc-chars--over {color:#a34235}
#nextage-shop-chat .nsc-limit {color:#52788a;font-size:11px;line-height:1.6}
#nextage-shop-chat .nsc-composer--limit .nsc-composer__row {display:none}
#nextage-shop-chat .nsc-composer--limit .nsc-chars {display:none}
#nextage-shop-chat .nsc-error {padding:10px 16px;color:#a34235;background:#fff4ef;font-size:11px;line-height:1.6;flex-shrink:0;border-top:1px solid #f2dfd5}
#nextage-shop-chat .nsc-load-retry {align-self:center;padding:10px 18px;border:1px solid #bedce9;border-radius:10px;background:#edf8fc;color:var(--nsc-blue);margin:14px;font-size:12px;font-weight:600}
#nextage-shop-chat .nsc-loading {display:flex;align-items:center;justify-content:center;flex:1;min-height:160px;color:var(--nsc-muted);font-size:13px}
#nextage-shop-chat .nsc-sr-only {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(hover:hover) {
  #nextage-shop-chat .nsc-launcher:hover {transform:translateY(-3px);box-shadow:0 12px 35px #087ca442}
  #nextage-shop-chat .nsc-close:hover {background:#ffffff20}
  #nextage-shop-chat .nsc-primary:not(:disabled):hover,#nextage-shop-chat .nsc-send:not(:disabled):hover {background:var(--nsc-blue-dark);box-shadow:0 4px 14px #087ca42b}
  #nextage-shop-chat .nsc-send:not(:disabled):hover {transform:translateY(-1px)}
}
@media(max-width:600px) {
  #nextage-shop-chat {right:12px;bottom:calc(16px + env(safe-area-inset-bottom,0px) + var(--nsc-keyboard));font-size:14px}
  #nextage-shop-chat.nsc-checkout:not(.nsc-is-open) {bottom:calc(96px + env(safe-area-inset-bottom,0px) + var(--nsc-keyboard))}
  #nextage-shop-chat .nsc-launcher {width:55px;height:55px;min-height:55px;justify-content:center;padding:0;border-radius:18px;box-shadow:0 6px 23px #123d5333}
  #nextage-shop-chat .nsc-launcher__text {position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
  #nextage-shop-chat .nsc-launcher__dot {position:absolute;top:7px;right:7px;width:6px;height:6px}
  #nextage-shop-chat .nsc-panel {width:calc(100vw - 24px);max-width:420px;height:640px;max-height:calc(var(--nsc-visible-height) - 32px - env(safe-area-inset-bottom,0px));border-radius:19px}
  #nextage-shop-chat .nsc-header {padding:18px 15px 17px}
  #nextage-shop-chat .nsc-header__brand {gap:10px}
  #nextage-shop-chat .nsc-header__icon {width:39px;height:39px;padding:7px;border-radius:11px}
  #nextage-shop-chat .nsc-title {font-size:17px}
  #nextage-shop-chat .nsc-subtitle {font-size:10px}
  #nextage-shop-chat .nsc-start {padding:22px 19px 15px}
  #nextage-shop-chat .nsc-welcome h3 {font-size:22px}
  #nextage-shop-chat .nsc-input,#nextage-shop-chat .nsc-message {font-size:16px}
  #nextage-shop-chat .nsc-context {padding:10px 13px}
  #nextage-shop-chat .nsc-messages {padding:15px 12px 12px}
  #nextage-shop-chat .nsc-bubble {max-width:92%;padding:10px 11px 7px}
  #nextage-shop-chat .nsc-composer {padding:10px 11px 6px}
}
@media(max-height:470px) {
  #nextage-shop-chat .nsc-header {padding:10px 13px}
  #nextage-shop-chat .nsc-header__icon {width:35px;height:35px;padding:6px}
  #nextage-shop-chat .nsc-subtitle,#nextage-shop-chat .nsc-until {display:none}
  #nextage-shop-chat .nsc-context {padding:6px 13px}
  #nextage-shop-chat .nsc-start {padding-top:15px}
  #nextage-shop-chat .nsc-welcome__icon {display:none}
}
@keyframes nsc-open {from {opacity:0;transform:translateY(10px) scale(.98)}to {opacity:1;transform:none}}
@keyframes nsc-message {from {opacity:0;transform:translateY(4px)}to {opacity:1;transform:none}}
@keyframes nsc-notice {0%,100% {transform:scale(1);opacity:0}20% {opacity:1}80% {transform:scale(1.08);opacity:0}}
@keyframes nsc-send {50% {transform:translateY(-3px);opacity:.5}}
@media(prefers-reduced-motion:reduce) {
  #nextage-shop-chat *,#nextage-shop-chat *::before,#nextage-shop-chat *::after {animation:none!important;transition:none!important;scroll-behavior:auto!important}
}

/* Store-only refinements. Append after the current storefront stylesheet. */

/* The check and the existing label identify an item already in the cart.
   A blue selected state replaces the unrelated success-green treatment. */
.store-shell .catalog-design .add-to-cart-btn.is-added,
.store-shell .home-product-card__cart-btn--in-cart {
  background: var(--color-accent-primary-soft, #e8f4f8);
  border-color: var(--color-accent-primary-line, #b7dbe6);
  color: var(--color-accent-primary-hover, #065675);
  transition: background-color .2s ease, border-color .2s ease,
    color .2s ease, box-shadow .2s ease;
}

.store-shell .catalog-design .add-to-cart-btn.is-added:not(:disabled):hover,
.store-shell .home-product-card__cart-btn--in-cart:not(:disabled):hover {
  background: #d9eef5;
  border-color: var(--color-accent-primary, #086e98);
  color: var(--color-accent-primary-hover, #065675);
}

.store-shell .catalog-design .add-to-cart-btn.is-added:focus-visible,
.store-shell .home-product-card__cart-btn--in-cart:focus-visible {
  outline: 2px solid var(--color-accent-primary, #086e98);
  outline-offset: 3px;
}

/* Service choices follow the rounded cyan treatment of the catalog sort menu.
   Scope to this dropdown so other navigation and form choices stay untouched. */
.store-shell .service-menu .service-menu__links a {
  border-radius: 8px;
  background-image: none;
  transition: background-color .18s ease, color .18s ease;
}

.store-shell .service-menu .service-menu__links a:hover,
.store-shell .service-menu .service-menu__links a:focus-visible {
  background-color: var(--shop-soft-blue, #e8f4f8);
  color: var(--shop-accent-hover, #065675);
  text-decoration: none;
}

.store-shell .service-menu .service-menu__links a:focus-visible {
  outline: 2px solid var(--color-accent-primary, #086e98);
  outline-offset: -2px;
}

/* Keep the status lookup centered as its form and result appear. */
.store-shell .order-status-page__head,
.store-shell .order-status-page .order-status-form,
.store-shell .order-status-page .order-status-page__error,
.store-shell .order-status-page .order-status-card {
  box-sizing: border-box;
  margin-inline: auto;
}

.store-shell .order-status-page__head {
  width: min(100%, 760px);
  max-width: 760px;
  text-align: center;
}

.store-shell .order-status-page .order-status-form,
.store-shell .order-status-page .order-status-page__error {
  width: min(100%, 760px);
}

.store-shell .order-status-page .order-status-card {
  width: min(100%, 920px);
}

@media (prefers-reduced-motion: reduce) {
  .store-shell .catalog-design .add-to-cart-btn.is-added,
  .store-shell .home-product-card__cart-btn--in-cart,
  .store-shell .service-menu .service-menu__links a {
    transition: none;
  }
}
