:root {
  --tcw-rail-space: 58px !important;
  --tcw-header-offset: 0px;
  --tcw-navy: #0b2854;
  --tcw-blue: #2568d8;
  --tcw-orange: #f45a14;
  --tcw-ink: #13233f;
  --tcw-muted: #5b6b84;
  --tcw-line: #cbd7e7;
  --tcw-soft: #eef3f9;
  --tcw-white: #fff;
  --tcw-green: #087a56;
  --tcw-shadow: 0 28px 90px rgba(8, 29, 68, .26);
}

/* The document root prevents horizontal scrolling. The narrowed body remains
   overflow-visible so the full-width sticky header can paint and receive
   pointer input across the reserved 58px rail column above the rail. */
html.tcw-wallet-rail-active { overflow-x: clip; }
body.tcw-wallet-enabled { width: calc(100% - var(--tcw-rail-space)); max-width: calc(100% - var(--tcw-rail-space)); overflow-x: visible; }
body.tcw-wallet-enabled #wpadminbar { width: 100%; max-width: 100%; }
body.tcw-wallet-enabled .tc-site-chrome { width: calc(100% + var(--tcw-rail-space)); max-width: none; }
body.tcw-wallet-open { overflow: hidden; }
.tcw-wallet, .tcw-wallet *, .tcw-launcher, .tcw-launcher * { box-sizing: border-box; }
.tcw-wallet button, .tcw-wallet input, .tcw-wallet select, .tcw-launcher button, .tcw-launcher input, .tcw-launcher select { font: inherit; }
.tcw-wallet button, .tcw-wallet a, .tcw-launcher button { touch-action: manipulation; }
.tcw-wallet [hidden] { display: none !important; }

/* The browser scrollbar remains operable, but its desktop lane is visually
   integrated with the Core-owned navy rail instead of appearing as a grey
   third-party strip beside it. */
@media (min-width: 901px) {
  html.tcw-wallet-rail-active {
    scrollbar-color: #315f96 #071f49;
    scrollbar-width: auto;
  }
  html.tcw-wallet-rail-active::-webkit-scrollbar { width: 14px; background: #071f49; }
  html.tcw-wallet-rail-active::-webkit-scrollbar-track { background: #071f49; }
  html.tcw-wallet-rail-active::-webkit-scrollbar-thumb {
    min-height: 54px;
    border: 3px solid #071f49;
    border-radius: 999px;
    background: #315f96;
  }
  html.tcw-wallet-rail-active::-webkit-scrollbar-thumb:hover { background: #477bb6; }
}

.tcw-launcher-slot { display: block; padding: 12px 0 14px; background: transparent; }
.tcw-launcher {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
  padding: 10px 13px;
  display: grid;
  grid-template-columns: minmax(230px, .62fr) minmax(620px, 1.38fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(128, 153, 190, .48);
  border-radius: 17px;
  background: linear-gradient(115deg, rgba(255,255,255,.91), rgba(239,245,255,.86));
  box-shadow: 0 10px 28px rgba(19, 48, 88, .10);
  color: var(--tcw-ink);
  backdrop-filter: blur(16px) saturate(1.12);
}
.tcw-launcher-copy { display: flex; align-items: center; gap: 11px; min-width: 0; }
.tcw-launcher-copy > div { min-width: 0; }
.tcw-launcher-copy small, .tcw-view-title small {
  display: block;
  color: #b84009;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .11em;
  line-height: 1.25;
}
.tcw-launcher-copy h2 { margin: 2px 0 0; color: var(--tcw-navy); font-size: 18px; line-height: 1.15; }
.tcw-launcher-copy p { display: none; }
.tcw-shipment-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(145deg, #ff7b28, #e94700);
  color: #fff;
  box-shadow: 0 7px 17px rgba(190, 61, 0, .22);
}
.tcw-shipment-mark svg { width: 25px; height: 25px; }

.tcw-destination-form { display: grid; grid-template-columns: 1.05fr 1fr .75fr auto; gap: 8px; align-items: end; }
.tcw-destination-form label { display: grid; gap: 4px; margin: 0; }
.tcw-destination-form label > span { color: #42536d; font-size: 9px; font-weight: 850; letter-spacing: .045em; line-height: 1.2; text-transform: uppercase; }
.tcw-destination-form :is(select, input) {
  width: 100%; height: 40px; margin: 0; padding: 0 10px;
  border: 1px solid #bdcce0; border-radius: 9px; outline: 0;
  background: rgba(255,255,255,.96); color: var(--tcw-ink); font-size: 12px;
}
.tcw-destination-form :is(select, input):focus { border-color: var(--tcw-blue); box-shadow: 0 0 0 3px rgba(37, 104, 216, .16); }
.tcw-destination-form button {
  height: 40px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 0; border-radius: 9px; background: linear-gradient(135deg, #f66a20, #d94100); color: #fff;
  font-size: 12px; font-weight: 900; white-space: nowrap; cursor: pointer;
}
.tcw-destination-form button:disabled { opacity: .58; cursor: wait; }
.tcw-button-shipment, .tcw-button-shipment svg { width: 18px; height: 18px; }

.tcw-scrim {
  position: fixed; z-index: 999970; inset: 0 var(--tcw-rail-space) 0 0;
  border: 0; background: rgba(5, 19, 43, .61); backdrop-filter: blur(5px);
  opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s ease;
}
.tcw-drawer {
  position: fixed; z-index: 999980; top: 0; right: var(--tcw-rail-space);
  width: min(520px, calc(100vw - var(--tcw-rail-space))); height: 100dvh;
  display: flex; flex-direction: column; overflow: hidden; overscroll-behavior: contain;
  background: linear-gradient(150deg, #f9fbff 0%, #eef4fb 55%, #f7f0ed 100%); color: var(--tcw-ink);
  box-shadow: var(--tcw-shadow); transform: translateX(calc(100% + var(--tcw-rail-space)));
  transition: transform .24s cubic-bezier(.2,.75,.25,1);
}
.tcw-wallet.is-open .tcw-scrim { opacity: 1; visibility: visible; }
.tcw-wallet.is-open .tcw-drawer { transform: translateX(0); }
.tcw-drawer-head {
  height: 70px; flex: 0 0 70px; padding: 0 18px; display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid rgba(167, 184, 208, .55); background: rgba(255,255,255,.86); backdrop-filter: blur(18px);
}
.tcw-brand { width: 174px; height: 52px; margin-right: auto; display: block; overflow: visible; border-radius: 0; background: transparent; text-decoration: none !important; }
.tcw-brand-logo { width: 100%; height: 100%; display: block; background: transparent url("../images/tryycart-logo-main-1.13.65.png") 50% 50% / contain no-repeat; image-rendering: auto; }
.tcw-head-count { min-width: 27px; height: 27px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; background: #e7eef8; color: var(--tcw-navy); font-size: 11px; font-weight: 900; }
.tcw-drawer-head button { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #c7d3e3; border-radius: 10px; background: #fff; color: var(--tcw-navy); font-size: 25px; line-height: 1; cursor: pointer; }
.tcw-drawer-body { min-height: 0; flex: 1; padding: 17px 18px 20px; overflow: auto; scrollbar-gutter: stable; }

.tcw-view-title { display: flex; align-items: end; gap: 12px; }
.tcw-view-title h2 { margin: 2px 0 0; color: var(--tcw-navy); font-size: clamp(24px, 4vw, 30px); line-height: 1.08; letter-spacing: -.035em; }
.tcw-destination-compact {
  min-height: 58px; margin: 14px 0 0; padding: 10px 11px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 9px;
  border: 1px solid #c8d5e5; border-radius: 12px; background: rgba(255,255,255,.78); box-shadow: 0 5px 14px rgba(20, 52, 91, .05);
}
.tcw-destination-compact > span { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px; background: #e7f0ff; color: var(--tcw-blue); }
.tcw-destination-compact > div { display: grid; min-width: 0; gap: 2px; }
.tcw-destination-compact small { color: var(--tcw-muted); font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.tcw-destination-compact strong { overflow: hidden; color: var(--tcw-navy); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.tcw-destination-compact button { padding: 7px 9px; border: 0; border-radius: 8px; background: #e9f0fa; color: #235b9d; font-size: 10px; font-weight: 850; cursor: pointer; }
.tcw-destination-editor { margin-top: 8px; padding: 12px; border: 1px solid #c8d5e5; border-radius: 12px; background: rgba(255,255,255,.91); }
.tcw-destination-editor .tcw-destination-form { grid-template-columns: 1fr 1fr; }
.tcw-destination-editor .tcw-destination-form label:last-of-type, .tcw-destination-editor .tcw-destination-form button { grid-column: 1 / -1; }

.tcw-current-weight {
  margin-top: 12px; padding: 13px 16px; display: grid; grid-template-columns: 1fr auto auto; align-items: baseline; column-gap: 6px;
  border: 1px solid rgba(88, 124, 177, .48); border-radius: 14px;
  background: linear-gradient(120deg, #193d70 0%, #295e9f 62%, #4961b5 100%); color: #fff;
  box-shadow: 0 10px 24px rgba(16, 56, 108, .18);
}
.tcw-current-weight > span { align-self: center; color: #d7f3ff; font-size: 12px; font-weight: 950; letter-spacing: .065em; line-height: 1.2; }
.tcw-current-weight > strong { color: #fff; font-size: 35px; font-weight: 950; line-height: 1; letter-spacing: -.04em; }
.tcw-current-weight > b { color: #ffd09e; font-size: 13px; font-weight: 950; letter-spacing: .06em; }
.tcw-current-weight > small { grid-column: 1 / -1; margin-top: 7px; color: #eef6ff; font-size: 10px; font-weight: 650; line-height: 1.4; }

.tcw-planning, .tcw-sources, .tcw-current-services { margin-top: 13px; padding: 13px; border: 1px solid rgba(180, 195, 216, .78); border-radius: 14px; background: rgba(255,255,255,.72); backdrop-filter: blur(12px); }
.tcw-planning > header, .tcw-sources > header, .tcw-current-services > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tcw-planning h3, .tcw-sources h3, .tcw-current-services h3 { margin: 2px 0 0; color: var(--tcw-navy); font-size: 15px; line-height: 1.2; }
.tcw-planning > .tcw-planning-heading { justify-content: flex-start; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 1px solid #dbe5f1; }
.tcw-planning > .tcw-planning-heading h3 { margin: 0; color: #b84009; font-size: 17px; font-weight: 950; letter-spacing: .015em; text-transform: uppercase; }
.tcw-sources > header h3 { margin: 0; color: #6536a4; font-size: 17px; font-weight: 950; }
.tcw-current-services > header h3 { margin: 0; color: var(--tcw-navy); font-size: 17px; font-weight: 950; letter-spacing: -.015em; }
.tcw-weight-accordions { display: grid; gap: 7px; }
.tcw-weight-accordion { overflow: hidden; border: 1px solid #c3d1e3; border-radius: 11px; background: rgba(255,255,255,.87); transition: border-color .18s ease, box-shadow .18s ease; }
.tcw-weight-accordion.is-open { border-color: #ef6b2d; box-shadow: 0 7px 18px rgba(30, 65, 112, .09); }
.tcw-weight-accordion > button {
  width: 100%; min-height: 51px; padding: 6px 9px; display: grid; grid-template-columns: 60px minmax(0,1fr) 28px; align-items: center; gap: 9px;
  border: 0; border-radius: 0; background: linear-gradient(155deg, rgba(255,255,255,.98), rgba(237,243,251,.94)); color: var(--tcw-navy); text-align: left; cursor: pointer;
}
.tcw-weight-accordion > button:hover { background: linear-gradient(155deg, #fff, #e8f1fc); }
.tcw-weight-accordion > button:focus-visible { position: relative; z-index: 2; outline: 3px solid #ffd165; outline-offset: -3px; }
.tcw-weight-accordion > button:disabled { cursor: wait; opacity: .72; }
.tcw-weight-value { display: inline-flex; align-items: baseline; justify-content: center; gap: 4px; border-right: 1px solid #d5dfeb; }
.tcw-weight-value strong { color: var(--tcw-navy); font-size: 22px; font-weight: 950; line-height: 1; letter-spacing: -.04em; }
.tcw-weight-value small { color: #526681; font-size: 9px; font-weight: 900; letter-spacing: .07em; }
.tcw-weight-copy { min-width: 0; display: grid; gap: 2px; }
.tcw-weight-copy [data-tcw-preview-caption] { color: #1763bd; font-size: 13px; font-weight: 900; line-height: 1.25; }
.tcw-weight-accordion.is-open .tcw-weight-copy [data-tcw-preview-caption] { color: #b84009; }
.tcw-weight-toggle { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: #e5eef9; color: #1d5da8; font-size: 18px; font-weight: 700; line-height: 1; transition: transform .18s ease, background .18s ease; }
.tcw-weight-accordion.is-open .tcw-weight-toggle { transform: rotate(45deg); background: #fff0e7; color: #c34409; }
.tcw-preview-panel { padding: 9px; border-top: 1px solid #d6e0ec; background: rgba(245,249,254,.86); animation: tcw-preview-reveal .18s ease both; }
.tcw-preview-services { display: grid; gap: 6px; }
.tcw-preview-note { margin: 7px 0 0; color: var(--tcw-muted); font-size: 9px; line-height: 1.4; }
.tcw-preview-note.is-error { color: #a9330b; }
.tcw-preview-loading {
  min-height: 64px; margin: 0; padding: 9px 11px; display: grid; grid-template-columns: 38px minmax(0,1fr); align-items: center; gap: 10px;
  border: 1px solid #d4dfed; border-radius: 9px; background: linear-gradient(135deg,#f8fbff,#eaf2fd); color: #365779; text-align: left;
}
.tcw-preview-loading-mark {
  position: relative; width: 36px; height: 36px; display: grid; place-items: center; border: 2px solid #d9e4f2; border-top-color: #f45a14; border-right-color: #3276df;
  border-radius: 12px; background: #fff url("../images/tryycart-t-mark.png") 50% 50% / auto 28px no-repeat; color: transparent; font-size: 0; line-height: 1;
  animation: tcw-processing-pulse .76s ease-in-out infinite alternate;
}
.tcw-preview-loading-copy { min-width: 0; display: grid; gap: 2px; }
.tcw-preview-loading-copy b { color: var(--tcw-navy); font-size: 11px; line-height: 1.2; }
.tcw-preview-loading-copy small { color: #55708e; font-size: 9px; line-height: 1.35; }
@keyframes tcw-preview-reveal { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tcw-processing-pulse { to { transform: scale(.92); border-top-color: #3276df; border-right-color: #f45a14; } }

.tcw-live-pill, .tcw-rail-live { display: inline-flex; align-items: center; gap: 4px; color: var(--tcw-green); font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.tcw-live-pill i, .tcw-rail-live i { width: 6px; height: 6px; border-radius: 50%; background: #18ba7e; box-shadow: 0 0 0 3px rgba(24, 186, 126, .12); }
.tcw-service-options { display: grid; gap: 7px; }
.tcw-service-option {
  min-height: 68px; padding: 9px 10px; display: grid; grid-template-columns: 30px 42px minmax(0, 1fr) auto; align-items: center; gap: 8px;
  border: 1px solid #c8d5e5; border-left: 3px solid #5b83bb; border-radius: 11px; background: rgba(255,255,255,.90); color: var(--tcw-ink);
}
.tcw-service-option.is-preview { min-height: 62px; grid-template-columns: 28px 38px minmax(0, 1fr) auto; padding: 8px; }
.tcw-service-index { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 8px; background: #edf2f8; color: #5c6e86; font-size: 9px; font-weight: 900; }
.tcw-provider-logo { width: 40px; height: 34px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(145deg, #e3edfb, #f5f8fd); color: #1b518e; font-size: 10px; font-weight: 900; }
.tcw-service-copy { min-width: 0; display: grid; gap: 2px; }
.tcw-service-copy strong { overflow: visible; color: var(--tcw-navy); font-size: 13px; font-weight: 950; line-height: 1.25; white-space: normal; text-wrap: balance; }
.tcw-service-copy small { color: #1d64b4; font-size: 9.5px; font-weight: 800; line-height: 1.25; }
.tcw-service-copy .tcw-service-terms { width: fit-content; max-width: 100%; padding: 3px 6px; border: 1px solid #bfe2d4; border-radius: 6px; background: #e7f7f0; color: #075f45; font-size: 10px; font-weight: 900; font-style: normal; line-height: 1.3; }
.tcw-service-price { color: #a83a08; font-size: 14px; font-weight: 950; text-align: right; white-space: nowrap; }
.tcw-service-price.tc-dual-decorated { white-space: normal; }
.tcw-status { margin: 9px 0 0; padding: 9px 10px; border-radius: 9px; background: #edf3fb; color: #405b7e; font-size: 10px; line-height: 1.4; text-align: center; }
.tcw-status[data-status="error"], .tcw-status[data-status="incomplete"] { background: #fff0e8; color: #a53b0b; }

.tcw-source-cards { display: grid; gap: 6px; }
.tcw-source-row { min-width: 0; min-height: 59px; padding: 8px 10px; display: grid; grid-template-columns: 34px minmax(0,1fr) 82px 92px; align-items: center; column-gap: 12px; border: 1px solid #cbd7e6; border-left: 3px solid #8153c7; border-radius: 10px; background: rgba(255,255,255,.86); }
.tcw-source-row.is-order { border-left-color: #e9601e; }
.tcw-source-row.is-courier { border-left-color: #2d74d4; }
.tcw-source-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: #f0eaff; color: #7042ac; font-size: 15px; font-weight: 900; }
.tcw-source-row.is-order .tcw-source-mark { background: #fff0e7; color: #c44a0d; }
.tcw-source-row.is-courier .tcw-source-mark { background: #e8f1ff; color: #1e60af; }
.tcw-source-copy { min-width: 0; display: grid; gap: 4px; }
.tcw-source-copy strong { overflow: hidden; color: var(--tcw-navy); font-size: 12px; font-weight: 950; text-overflow: ellipsis; white-space: nowrap; }
.tcw-source-row.is-order .tcw-source-copy strong { color: #a93d0b; }
.tcw-source-row.is-courier .tcw-source-copy strong { color: #165cae; }
.tcw-source-row.is-shop .tcw-source-copy strong { color: #6536a4; }
.tcw-source-copy small { color: #536883; font-size: 8.5px; font-weight: 700; line-height: 1.3; }
.tcw-source-metric { min-width: 0; display: grid; gap: 5px; padding-left: 4px; text-align: right; }
.tcw-source-metric small { color: #2763a6; font-size: 7.5px; font-weight: 950; letter-spacing: .055em; }
.tcw-source-metric b { overflow: hidden; color: #173f72; font-size: 10.5px; font-weight: 950; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.tcw-source-metric b.tc-dual-decorated { overflow: visible; white-space: normal; }
.tcw-source-metric.is-value small, .tcw-source-metric.is-value b { color: #a73d0d; }
.tcw-item-section { margin-top: 12px; }
.tcw-item-section > header { margin-bottom: 7px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tcw-item-section h3 { margin: 0; color: var(--tcw-navy); font-size: 15px; font-weight: 950; }
.tcw-item-section h3 span { min-width: 20px; height: 20px; padding: 0 5px; display: inline-grid; place-items: center; border-radius: 999px; background: #ffeadf; color: #ae3f0b; font-size: 9px; }
.tcw-item-section header a { color: var(--tcw-blue) !important; font-size: 10px; font-weight: 850; text-decoration: none !important; }
.tcw-item-list { overflow: hidden; border: 1px solid #cbd7e6; border-radius: 11px; background: rgba(255,255,255,.84); }
.tcw-item-row { min-height: 60px; padding: 8px; display: grid; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid #e2e9f2; }
.tcw-item-row:last-child { border-bottom: 0; }
.tcw-item-thumb { width: 44px; height: 44px; overflow: hidden; display: grid; place-items: center; border-radius: 9px; background: #edf3f8; color: #4f74a4; }
.tcw-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tcw-item-copy { min-width: 0; display: grid; gap: 3px; }
.tcw-item-copy > strong { overflow: hidden; color: var(--tcw-navy); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.tcw-item-copy > small { width: max-content; max-width: 100%; padding: 2px 5px; border-radius: 5px; background: #f2eaff; color: #6837a5; font-size: 8px; }
.tcw-item-copy > small.is-order { background: #fff0e6; color: #b7460d; }
.tcw-item-copy > small.is-courier { background: #e9f2ff; color: #1b5cad; }
.tcw-item-quantity { display: flex; align-items: center; gap: 4px; }
.tcw-item-quantity button { width: 22px; height: 22px; padding: 0; display: grid; place-items: center; border: 1px solid #c5d2e2; border-radius: 6px; background: #fff; color: var(--tcw-navy); font-weight: 900; cursor: pointer; }
.tcw-item-quantity b { min-width: 18px; color: var(--tcw-navy); font-size: 10px; text-align: center; }
.tcw-item-meta { display: grid; gap: 2px; text-align: right; }
.tcw-item-meta b { color: var(--tcw-ink); font-size: 10px; }
.tcw-item-meta small { color: var(--tcw-muted); font-size: 9px; }
.tcw-empty { margin: 0; padding: 14px; color: var(--tcw-muted); font-size: 11px; text-align: center; }
.tcw-source-bar { height: 8px; margin: 11px 0 5px; display: flex; overflow: hidden; border-radius: 999px; background: #e5ebf3; }
.tcw-source-bar i { height: 100%; }
.tcw-source-bar .is-order { background: #ee6a24; }
.tcw-source-bar .is-courier { background: #2d74d4; }
.tcw-source-bar .is-shop { background: #8153c7; }
.tcw-detail-totals { padding: 11px; border: 1px solid #cbd7e6; border-radius: 11px; background: rgba(255,255,255,.88); }
.tcw-detail-totals > div { padding: 4px 0; display: flex; justify-content: space-between; gap: 12px; color: #4c5e76; font-size: 11px; }
.tcw-detail-totals > div b { color: var(--tcw-navy); }
.tcw-detail-totals .tcw-grand-total { margin-top: 5px; padding-top: 10px; align-items: end; border-top: 1px solid #d5dfeb; }
.tcw-grand-total span { display: grid; color: var(--tcw-navy); font-size: 13px; font-weight: 850; }
.tcw-grand-total span small { margin-top: 2px; color: var(--tcw-muted); font-size: 8px; font-weight: 500; }
.tcw-grand-total strong { color: var(--tcw-navy); font-size: 20px; }
.tcw-detail-actions { margin-top: 10px; display: flex; gap: 8px; }
.tcw-detail-actions a { height: 45px; flex: 1; padding: 0 12px; display: flex; align-items: center; justify-content: center; border: 1px solid #c4d1e1; border-radius: 9px; background: #fff; color: var(--tcw-blue) !important; font-size: 11px; font-weight: 900; text-decoration: none !important; }
.tcw-detail-actions a.is-primary { border: 0; background: linear-gradient(135deg,#f5681f,#d94300); color: #fff !important; }
.tcw-safe-note { margin: 9px 0 0; color: #63728a; font-size: 9px; line-height: 1.4; text-align: center; }

.tcw-loading-veil { position: absolute; z-index: 12; inset: 70px 0 0; padding: 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(246,250,255,.94); backdrop-filter: blur(7px); color: var(--tcw-navy); text-align: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, visibility .15s ease; }
.tcw-wallet.is-loading .tcw-loading-veil { opacity: 1; visibility: visible; pointer-events: auto; }
.tcw-loading-spinner {
  position: relative; width: 52px; height: 52px; display: grid; place-items: center; border: 4px solid #d7e3f2; border-top-color: var(--tcw-orange); border-right-color: var(--tcw-blue); border-radius: 17px;
  background: #fff; box-shadow: 0 9px 24px rgba(14,49,96,.13); animation: tcw-spin .75s linear infinite;
}
.tcw-loading-spinner::before {
  width: 23px; height: 43px; background: url("../images/tryycart-t-mark.png") 50% 50% / contain no-repeat; content: "";
  animation: tcw-spin-reverse .75s linear infinite;
}
.tcw-loading-veil strong { margin-top: 14px; font-size: 15px; }
.tcw-loading-veil small { margin-top: 4px; color: var(--tcw-muted); font-size: 10px; }
@keyframes tcw-spin { to { transform: rotate(360deg); } }
@keyframes tcw-spin-reverse { to { transform: rotate(-360deg); } }

.tcw-rail-frame {
  position: fixed; z-index: 999989; top: var(--tcw-header-offset); right: 0; bottom: 0; width: var(--tcw-rail-space);
  border-left: 1px solid #173e72; background: #071f49; box-shadow: -3px 0 12px rgba(4, 22, 52, .17); pointer-events: none;
}
/* Closed: the real site header owns the full viewport width. Open: only the
   drawer clearance is painted, using the drawer surface instead of a grey or
   navy cap. This prevents the narrow rail from ever covering the header. */
.tcw-wallet[data-tcw-wallet-authority="core"] .tcw-rail-frame::before {
  position: fixed;
  z-index: 0;
  top: 0;
  right: 0;
  width: var(--tcw-rail-space);
  height: var(--tcw-header-offset);
  border-left: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  content: none;
  pointer-events: none;
}
.tcw-wallet.is-open[data-tcw-wallet-authority="core"] .tcw-rail-frame::before {
  border-left-color: rgba(167, 184, 208, .55);
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0 70px, #f9fbff 70px 100%);
  content: "";
}
.tcw-rail {
  position: relative; width: 100%; height: 100%; min-height: 0; padding: 6px 5px; display: flex; flex-direction: column; align-items: stretch; gap: 6px;
  overflow: hidden; border: 0; border-radius: 0; appearance: none; background: linear-gradient(180deg,#071d41,#0a2e63 52%,#071d41); color: #fff;
  box-shadow: inset 1px 0 rgba(255,255,255,.08); cursor: pointer; pointer-events: auto; user-select: none;
}
.tcw-rail::before { content: ""; position: absolute; inset: 3px; border: 1px solid rgba(158, 192, 238, .24); border-radius: 15px; pointer-events: none; }
.tcw-rail:focus-visible { outline: 3px solid #ffd165; outline-offset: -4px; }
.tcw-rail-action { position: relative; z-index: 1; min-height: 54px; padding: 5px 2px; display: grid; grid-template-rows: 31px 10px; place-items: center; border-radius: 13px; background: linear-gradient(145deg,#ff771f,#f04a00); color: #fff; }
.tcw-rail-icon, .tcw-rail-icon svg { width: 28px; height: 28px; }
.tcw-rail-action b { font-size: 9.5px; letter-spacing: .035em; line-height: 1; }
.tcw-rail-weight { position: relative; z-index: 1; min-height: 82px; display: grid; place-content: center; gap: 3px; border-radius: 9px; background: rgba(255,255,255,.075); text-align: center; }
.tcw-rail-weight-label { max-width: 46px; color: #9ddcff; font-size: 7.5px; font-weight: 950; letter-spacing: .025em; line-height: 1.05; text-transform: uppercase; }
.tcw-rail-weight strong { color: #fff; font-size: 28px; font-weight: 950; letter-spacing: -.065em; line-height: 1; }
.tcw-rail-weight small { color: #d7e5fa; font-size: 10.5px; font-weight: 900; letter-spacing: .07em; line-height: 1; }
.tcw-rail-divider { position: relative; z-index: 1; height: 1px; flex: 0 0 1px; background: rgba(171, 201, 240, .30); }
.tcw-rail-label { position: relative; z-index: 1; padding: 2px 0; color: #e8f1ff; font-size: 8px; font-weight: 950; letter-spacing: .015em; line-height: 1.14; text-align: center; }
.tcw-rail-rates { position: relative; z-index: 1; min-height: 0; flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 7px; }
.tcw-rail-rate { min-height: 70px; padding: 6px 2px; display: grid; grid-template-rows: auto auto auto; place-content: center; gap: 4px; overflow: hidden; border: 1px solid rgba(151, 185, 231, .46); border-radius: 9px; background: rgba(255,255,255,.095); text-align: center; }
.tcw-rail-provider,
.tcw-rail-currency,
.tcw-rail-amount { max-width: 48px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcw-rail-provider { color: #fff; font-size: 13.5px; font-weight: 950; letter-spacing: .005em; line-height: 1; }
.tcw-rail-currency { color: #ffd09b; font-size: 9px; font-weight: 950; letter-spacing: 0; line-height: 1; }
.tcw-rail-amount { color: #fff; font-size: 15.5px; font-weight: 950; font-variant-numeric: tabular-nums; letter-spacing: -.045em; line-height: .94; }
.tcw-rail-amount.is-long { font-size: 11px; letter-spacing: -.055em; }
.tcw-rail-live { position: relative; z-index: 1; min-height: 24px; justify-content: center; color: #e5effd; font-size: 9px; }
.tcw-rail-count { position: absolute; z-index: 3; top: 1px; right: 1px; min-width: 21px; height: 21px; padding: 0 4px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 999px; background: var(--tcw-orange); color: #fff; font-size: 9.5px; font-weight: 900; }

@media (max-height: 670px) and (min-width: 901px) {
  .tcw-rail { gap: 4px; }
  .tcw-rail-action { min-height: 49px; }
  .tcw-rail-weight { min-height: 64px; gap: 1px; }
  .tcw-rail-weight-label { font-size: 6.5px; }
  .tcw-rail-weight strong { font-size: 22px; }
  .tcw-rail-rate { min-height: 50px; padding-block: 3px; gap: 2px; }
  .tcw-rail-provider { font-size: 11px; }
  .tcw-rail-currency { font-size: 8px; }
  .tcw-rail-amount { font-size: 12.5px; }
  .tcw-rail-live { min-height: 19px; }
}

@media (max-width: 1100px) {
  .tcw-launcher { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --tcw-rail-space: 0px !important; }
  body.tcw-wallet-enabled { width: 100%; max-width: 100%; padding-bottom: 72px; overflow-x: hidden; }
  body.tcw-wallet-enabled .tc-site-chrome { width: 100%; max-width: 100%; }
  .tcw-scrim { inset: 0; }
  .tcw-drawer { right: 0; width: min(100%, 460px); transform: translateX(100%); }
  .tcw-wallet.is-open .tcw-rail-frame { visibility: hidden; }
  .tcw-wallet[data-tcw-wallet-authority="core"] .tcw-rail-frame::before { content: none; }
  .tcw-rail-frame { top: auto; right: 0; bottom: 0; left: 0; width: 100%; height: 72px; border: 0; border-top: 1px solid #173e72; box-shadow: 0 -4px 16px rgba(4,22,52,.18); }
  .tcw-rail { padding: 5px 7px; flex-direction: row; align-items: stretch; gap: 6px; }
  .tcw-rail::before { border-radius: 12px; }
  .tcw-rail-action { min-width: 58px; min-height: 0; grid-template-rows: 34px 10px; }
  .tcw-rail-weight { min-width: 54px; min-height: 0; }
  .tcw-rail-divider { width: 1px; height: auto; flex-basis: 1px; }
  .tcw-rail-label { width: 49px; display: grid; place-content: center; }
  .tcw-rail-rates { min-width: 0; flex: 1; flex-direction: row; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .tcw-rail-rates::-webkit-scrollbar { display: none; }
  .tcw-rail-rate { min-width: 72px; min-height: 0; height: 100%; }
  .tcw-rail-provider, .tcw-rail-currency, .tcw-rail-amount { max-width: 64px; }
  .tcw-rail-live { min-width: 36px; }
}

@media (max-width: 680px) {
  .tcw-launcher { width: calc(100% - 24px); padding: 10px; }
  .tcw-launcher .tcw-destination-form { grid-template-columns: 1fr 1fr; }
  .tcw-launcher .tcw-destination-form label:last-of-type, .tcw-launcher .tcw-destination-form button { grid-column: 1 / -1; }
  .tcw-view-title { align-items: start; }
}

@media (max-width: 430px) {
  .tcw-drawer { width: 100%; max-width: none; }
  .tcw-drawer-head { height: 64px; flex-basis: 64px; padding-inline: 13px; }
  .tcw-brand { width: 154px; height: 48px; }
  .tcw-brand-logo { background-size: contain; }
  .tcw-drawer-body { padding: 14px; }
  .tcw-loading-veil { inset-block-start: 64px; }
  .tcw-weight-accordions { gap: 5px; }
  .tcw-weight-accordion > button { grid-template-columns: 55px minmax(0,1fr) 27px; min-height: 49px; gap: 7px; padding-inline: 7px; }
  .tcw-source-row { grid-template-columns: 32px minmax(0,1fr) 68px 76px; column-gap: 7px; padding-inline: 7px; }
  .tcw-source-mark { width: 30px; height: 30px; }
  .tcw-source-metric b { font-size: 9px; }
  .tcw-service-option, .tcw-service-option.is-preview { grid-template-columns: 26px 36px minmax(0, 1fr); }
  .tcw-service-price { grid-column: 3; justify-self: start; text-align: left; }
  .tcw-detail-actions { flex-direction: column; }
  .tcw-rail-label { display: none; }
  .tcw-rail-rate { min-width: 68px; }
}

@media (prefers-reduced-motion: reduce) {
  .tcw-wallet *, .tcw-launcher * { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
