.thryl-token-price {
  align-items: center;
  background: #1648ff;
  border-radius: 0 0 .7rem .7rem;
  color: #fff;
  display: flex;
  font-size: .82rem;
  font-weight: 750;
  gap: .35rem;
  letter-spacing: .01em;
  margin: .7rem 0 0;
  min-height: 2.3rem;
  padding: .48rem .75rem;
}

.thryl-token-price .woocommerce-Price-amount,
.thryl-token-price .woocommerce-Price-currencySymbol {
  color: inherit;
}

.thryl-token-price--inline {
  background: transparent;
  border-radius: 0;
  color: #f7f7f7;
  flex-wrap: wrap;
  font-size: clamp(.72rem, 1.5vw, .86rem);
  line-height: 1.25;
  margin: .32rem 0 0;
  max-width: 100%;
  min-height: 0;
  padding: 0;
  row-gap: .2rem;
}

.thryl-product-card:has(.thryl-token-price--inline) .thryl-product-card__price {
  display: none;
}

.thryl-product-card:has(.thryl-token-price--inline) .thryl-product-card__title {
  margin-bottom: 0;
}

.thryl-token-price__token-value {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: .28rem;
  white-space: nowrap;
}

.thryl-token-price--inline > [data-thryl-token-cash] {
  flex: 0 0 auto;
  white-space: nowrap;
}

.thryl-token-price-note {
  color: #b7b7b7;
  font-size: .78rem;
  margin: .35rem 0 0;
}

.thryl-token-icon {
  border-radius: 50%;
  display: inline-grid;
  flex: 0 0 1.15rem;
  height: 1.15rem;
  object-fit: contain;
  place-items: center;
  width: 1.15rem;
}

.thryl-token-icon--fallback {
  background: #fff;
  color: #1648ff;
  font-size: .68rem;
  font-weight: 850;
}

@media (max-width: 47.99rem) {
  .thryl-catalog .thryl-token-price--inline,
  .thryl-related .thryl-token-price--inline {
    column-gap: .28rem;
    font-size: clamp(.66rem, 3vw, .76rem);
  }

  .thryl-catalog .thryl-token-price--inline .thryl-token-icon,
  .thryl-related .thryl-token-price--inline .thryl-token-icon {
    flex-basis: 1rem;
    height: 1rem;
    width: 1rem;
  }
}

.thryl-checkout-tokens,
.thryl-token-account,
.thryl-order-tokens {
  background: #1b1b1b;
  border: 1px solid #696969;
  border-radius: 1rem;
  color: #f7f7f7;
  margin: 0 0 1.25rem;
  padding: 1rem;
}

.thryl-checkout-tokens {
  background: #101010;
  border-color: #1648ff;
  box-shadow: 0 0 0 1px rgba(22, 72, 255, .3), 0 1rem 2.5rem rgba(0, 0, 0, .32);
  padding: 1.15rem;
}

.thryl-checkout-tokens__head,
.thryl-token-account {
  align-items: center;
  display: flex;
  gap: .8rem;
}

.thryl-checkout-tokens h3,
.thryl-checkout-tokens p,
.thryl-token-account p,
.thryl-order-tokens p {
  margin: 0;
}

.thryl-checkout-tokens__head {
	align-items: center;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
  margin-bottom: .9rem;
}

.thryl-checkout-tokens__output {
  background: #1648ff;
  border-radius: 999px;
  color: #fff;
  font-size: .76rem;
  font-weight: 800;
  padding: .42rem .7rem;
  white-space: nowrap;
}

.thryl-checkout-tokens__head > span,
.thryl-token-account__icon {
  align-items: center;
  background: #1648ff;
  border-radius: 50%;
  display: flex;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.thryl-checkout-tokens__field {
	display: block;
  margin: .55rem 0 .7rem;
  padding-inline: .15rem;
}

.thryl-checkout-tokens__label {
  color: #f7f7f7;
  display: block;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .01em;
  margin-bottom: .75rem;
}

.thryl-checkout-tokens__field input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  accent-color: #1648ff;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: ew-resize;
  display: block;
  inline-size: 100%;
  margin: 0;
  min-height: 1.75rem !important;
  padding: 0 !important;
}

.thryl-checkout-tokens__slider {
  height: 1.75rem;
  position: relative;
}

.thryl-checkout-tokens__slider::before,
.thryl-checkout-tokens__progress {
  border-radius: 999px;
  content: "";
  height: .5rem;
  inset-inline-start: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.thryl-checkout-tokens__slider::before {
  background: #343434;
  border: 1px solid #5f5f5f;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .55);
  inset-inline-end: 0;
}

.thryl-checkout-tokens__progress {
  background: #1648ff;
  box-shadow: 0 0 .45rem rgba(22, 72, 255, .42);
  pointer-events: none;
  transition: inline-size .12s ease-out;
  width: 0;
}

.thryl-checkout-tokens__slider input[type="range"] {
  position: relative;
  z-index: 1;
}

.thryl-checkout-tokens__field input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  height: .5rem;
}

.thryl-checkout-tokens__field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #1648ff;
  border: .18rem solid #f7f7f7;
  border-radius: 50%;
  box-shadow: 0 0 0 .25rem rgba(22, 72, 255, .24), 0 .2rem .5rem rgba(0, 0, 0, .55);
  height: 1.25rem;
  margin-top: -.44rem;
  transition: box-shadow .18s ease, transform .18s ease;
  width: 1.25rem;
}

.thryl-checkout-tokens__field input[type="range"]::-moz-range-track {
  background: transparent;
  border: 0;
  border-radius: 999px;
  box-shadow: none;
  height: .5rem;
}

.thryl-checkout-tokens__field input[type="range"]::-moz-range-progress {
  background: transparent;
}

.thryl-checkout-tokens__field input[type="range"]::-moz-range-thumb {
  background: #1648ff;
  border: .18rem solid #f7f7f7;
  border-radius: 50%;
  box-shadow: 0 0 0 .25rem rgba(22, 72, 255, .24), 0 .2rem .5rem rgba(0, 0, 0, .55);
  height: .9rem;
  width: .9rem;
}

.thryl-checkout-tokens__field input[type="range"]:hover::-webkit-slider-thumb,
.thryl-checkout-tokens__field input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 .32rem rgba(22, 72, 255, .34), 0 .2rem .55rem rgba(0, 0, 0, .6);
  transform: scale(1.04);
}

.thryl-checkout-tokens__field input[type="range"]:focus-visible {
  outline: 2px solid #f7f7f7 !important;
  outline-offset: .35rem;
}

.thryl-checkout-tokens__range-labels {
  color: #a9a9a9;
  display: flex;
  font-size: .7rem;
  font-variant-numeric: tabular-nums;
  justify-content: space-between;
  line-height: 1;
  margin-top: .3rem;
}

.thryl-checkout-tokens__value {
  color: #b7b7b7;
  font-size: .86rem;
}

.thryl-token-account strong {
  font-size: clamp(1.4rem, 5vw, 2rem);
}

.thryl-account-profile {
  background: #111;
  border: 1px solid #414141;
  border-radius: 1rem;
  color: #f7f7f7;
  margin: 0 0 1rem;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.thryl-account-profile__head {
  align-items: center;
  display: flex;
  gap: .85rem;
  margin-bottom: 1rem;
}

.thryl-account-profile__avatar {
  align-items: center;
  background: #f7f7f7;
  border-radius: 50%;
  color: #090909;
  display: flex;
  flex: 0 0 2.75rem;
  font-size: 1rem;
  font-weight: 800;
  height: 2.75rem;
  justify-content: center;
}

.thryl-account-profile h3,
.thryl-account-profile p,
.thryl-account-profile dl,
.thryl-account-profile dd {
  margin: 0;
}

.thryl-account-profile h3 {
  font-size: 1.05rem !important;
  line-height: 1.25;
}

.thryl-account-profile p {
  color: #a9a9a9 !important;
  font-size: .76rem;
}

.thryl-account-profile__details {
  display: grid;
  gap: .65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.thryl-account-profile__details > div {
  background: #181818;
  border: 1px solid #343434;
  border-radius: .7rem;
  min-width: 0;
  padding: .75rem;
}

.thryl-account-profile dt {
  color: #a9a9a9;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .07em;
  margin-bottom: .25rem;
  text-transform: uppercase;
}

.thryl-account-profile dd {
  color: #f7f7f7;
  font-size: .8rem;
  overflow-wrap: anywhere;
}

.thryl-cart-token-value {
  align-items: center;
  display: inline-flex;
  gap: .45rem;
}

.wc-block-components-totals-fees[class*="thryl-tokens"] .wc-block-components-totals-item__label {
  align-items: center;
  display: inline-flex;
  gap: .45rem;
}

@media (max-width: 40rem) {
  .thryl-account-profile__details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 32rem) {
	.thryl-checkout-tokens__head {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.thryl-checkout-tokens__output {
		grid-column: 1 / -1;
		justify-self: start;
		margin-top: .25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
  .thryl-token-price,
  .thryl-checkout-tokens,
  .thryl-token-account {
    scroll-behavior: auto;
  }
}

/* My Account tracking and after-sales workflow. */
.thryl-tracking > h2,
.thryl-order-service > h2 {
  font-size: clamp(1.25rem, 3vw, 1.8rem);
  margin: 0 0 1rem;
}

.thryl-tracking__list {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
}

.thryl-tracking-card,
.thryl-service-item {
  background: #171717;
  border: 1px solid #3f3f3f;
  border-radius: 1rem;
  color: #f7f7f7;
  padding: clamp(1rem, 3vw, 1.35rem);
}

.thryl-tracking-card h3,
.thryl-service-item h3 {
  color: #f7f7f7;
  font-size: 1.05rem;
  margin: .15rem 0 0;
}

.woocommerce-account .woocommerce-MyAccount-content .thryl-tracking-card h3 {
  font-size: 1.05rem;
  line-height: 1.2;
  margin: .15rem 0 0;
}

.thryl-tracking-card__eyebrow,
.thryl-tracking-card__note,
.thryl-service-item__status {
  color: #b7b7b7;
  font-size: .82rem;
  margin: 0;
}

.thryl-request-notice {
  margin: 0 0 1rem;
  padding: 0.875rem 1rem;
  border: 1px solid #4b4b4b;
  border-radius: 0.75rem;
  background: #181818;
  color: #f5f5f5;
  line-height: 1.45;
}

.thryl-request-notice--success {
  border-color: #3f8f67;
}

.thryl-request-notice--error {
  border-color: #b65a5a;
}

.thryl-tracking-card__header {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.thryl-tracking-card__eta {
  color: #a7a7a7;
  font-size: .72rem;
  line-height: 1.25;
  margin: 0;
  text-align: right;
  white-space: nowrap;
}

.thryl-tracking-card__eta span,
.thryl-tracking-card__eta strong {
  display: block;
}

.thryl-tracking-card__eta strong {
  color: #f7f7f7;
  font-size: .92rem;
  margin-top: .2rem;
}

.thryl-tracking-card dl {
  display: grid;
  gap: .65rem;
  margin: .9rem 0 0;
}

.thryl-tracking-card dl div {
  display: grid;
  gap: .15rem;
  grid-template-columns: minmax(7rem, .45fr) minmax(0, 1fr);
}

.thryl-tracking-card dt {
  color: #a7a7a7;
}

.thryl-tracking-card dd {
  color: #f7f7f7;
  margin: 0;
  overflow-wrap: anywhere;
}

.thryl-shipment-progress {
  list-style: none;
  margin: 0;
  padding: 0;
}

.thryl-shipment-progress__step {
  align-items: start;
  display: grid;
  gap: .85rem;
  grid-template-columns: 2.75rem minmax(0, 1fr) auto;
  min-height: 5.25rem;
  padding-bottom: .8rem;
  position: relative;
}

.thryl-shipment-progress__connector {
  background: currentColor;
  bottom: .75rem;
  color: #474747;
  left: calc(1.375rem - 1px);
  position: absolute;
  top: 3.5rem;
  width: 2px;
  z-index: 0;
}

.thryl-shipment-progress__connector::before,
.thryl-shipment-progress__connector::after {
  background: currentColor;
  border-radius: 50%;
  content: "";
  height: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 8px;
}

.thryl-shipment-progress__connector::before {
  top: -4px;
}

.thryl-shipment-progress__connector::after {
  bottom: -4px;
}

.thryl-shipment-progress__step.is-complete .thryl-shipment-progress__connector {
  color: #f5f5f5;
}

.thryl-shipment-progress__icon {
  align-items: center;
  background: #202020;
  border: 1px solid #555;
  border-radius: .85rem;
  color: #8f8f8f;
  display: inline-flex;
  height: 2.75rem;
  justify-content: center;
  position: relative;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
  width: 2.75rem;
  z-index: 1;
}

.thryl-shipment-progress__icon svg {
  height: 1.35rem;
  width: 1.35rem;
}

.thryl-shipment-progress__step.is-complete .thryl-shipment-progress__icon {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #111;
}

.thryl-shipment-progress__step.is-current .thryl-shipment-progress__icon {
  background: #292929;
  border-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .12);
  color: #fff;
  transform: scale(1.04);
}

.thryl-shipment-progress__step.is-future {
  opacity: .48;
}

.thryl-shipment-progress__copy {
  display: grid;
  gap: .22rem;
  line-height: 1.3;
  min-width: 0;
  padding-top: .18rem;
}

.thryl-shipment-progress__copy strong {
  color: #f5f5f5;
  font-size: .9rem;
  overflow-wrap: anywhere;
}

.thryl-shipment-progress__copy span {
  color: #aaa;
  font-size: .76rem;
  overflow-wrap: anywhere;
}

.thryl-shipment-progress__step time {
  color: #a7a7a7;
  font-size: .7rem;
  line-height: 1.25;
  padding-top: .18rem;
  text-align: right;
  white-space: nowrap;
}

.thryl-shipment-progress__step time span {
  display: block;
  margin-top: .15rem;
}

.thryl-tracking-card__details {
  border-top: 1px solid #383838;
  margin-top: .15rem;
  padding: .9rem 0;
}

.thryl-tracking-card__details summary {
  color: #e9e9e9;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 650;
  list-style-position: inside;
}

.thryl-tracking-card__details[open] summary {
  margin-bottom: .35rem;
}

.thryl-tracking-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-bottom: .75rem;
}

.thryl-tracking__pagination {
  align-items: center;
  display: flex;
  gap: .75rem;
  justify-content: center;
  margin-top: 1rem;
}

.thryl-tracking__pagination > span {
  color: #aaa;
  font-size: .76rem;
}

.woocommerce-account .thryl-tracking__pagination .button {
  align-items: center;
  background: #0a0a0a !important;
  border: 1px solid #f5f5f5 !important;
  border-radius: 999px;
  color: #f5f5f5 !important;
  display: inline-flex;
  justify-content: center;
  min-height: 2.75rem;
  padding: .65rem 1rem;
  text-decoration: none !important;
}

.thryl-tracking-card__actions .button,
.thryl-service-form .button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  justify-content: center;
  min-height: 2.75rem;
  padding: .65rem 1rem;
}

/* Prevent WooCommerce's default purple .alt treatment from leaking in. */
.woocommerce-account .thryl-tracking-card__actions .button,
.woocommerce-account .thryl-tracking-card__actions .button.alt,
.woocommerce-account .thryl-service-form .button,
.woocommerce-account .thryl-service-form .button.alt {
  border: 1px solid #f5f5f5 !important;
  background: #0a0a0a !important;
  box-shadow: none !important;
  color: #f5f5f5 !important;
  text-decoration: none !important;
}

.woocommerce-account .thryl-tracking-card__actions .button:hover,
.woocommerce-account .thryl-tracking-card__actions .button:focus-visible,
.woocommerce-account .thryl-service-form .button:hover,
.woocommerce-account .thryl-service-form .button:focus-visible {
  border-color: #f5f5f5 !important;
  background: #f5f5f5 !important;
  color: #0a0a0a !important;
}

.thryl-order-service {
  margin-top: 1.5rem;
}

.thryl-order-service > .thryl-tracking-card,
.thryl-service-item {
  margin-bottom: 1rem;
}

.thryl-service-form {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}

.thryl-service-form label {
  color: #d6d6d6;
  display: grid;
  font-size: .82rem;
  gap: .4rem;
}

.thryl-service-form select,
.thryl-service-form textarea {
  background: #101010;
  border: 1px solid #696969;
  border-radius: .65rem;
  color: #f7f7f7;
  inline-size: 100%;
  padding: .75rem;
}

.thryl-admin-fulfilment {
  clear: both;
  padding-top: .75rem;
}

.thryl-admin-fulfilment label {
  display: block;
  font-weight: 600;
  margin-bottom: .2rem;
}

.thryl-admin-request {
  background: #f6f7f7;
  border-left: 3px solid #2271b1;
  margin: .75rem 0;
  padding: .65rem;
}

@media (min-width: 48rem) {
  .thryl-service-form {
    grid-template-columns: minmax(10rem, .35fr) minmax(0, 1fr) auto;
    align-items: end;
  }
}

@media (max-width: 32rem) {
  .thryl-tracking-card dl div {
    grid-template-columns: 1fr;
  }

  .thryl-tracking-card__actions .button,
  .thryl-service-form .button,
  .thryl-tracking__pagination .button {
    width: 100%;
  }

  .thryl-tracking__pagination {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .thryl-tracking__pagination > span {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .thryl-tracking__pagination .button:only-of-type {
    grid-column: 1 / -1;
  }

  .thryl-shipment-progress__step {
    grid-template-columns: 2.75rem minmax(0, 1fr);
  }

  .thryl-shipment-progress__step time {
    grid-column: 2;
    margin-top: -.5rem;
    padding: 0;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thryl-shipment-progress__icon {
    transition: none;
  }
}
